Questions tagged [load-testing]

The load-testing tag is for issues relating to the setting up or running of load tests.

Filter by
Sorted by
Tagged with
0
votes
1answer
91 views

How can I isolate resources from a VM in VMware-Esxi to do load testing? [closed]

We have some web services running on a VM in VMWare-ESXi. We would like to see how the system behaves under certain amount of users. How can we configure the VM to provide accurate results without ...
0
votes
1answer
60 views

How do I load test my http server on azure without getting IP banned automatically

I have an Ubuntu Server VM running on Microsoft Azure and I need to do some custom load testing. I've written a Python script that makes the necessary requests. The issue is that I know Azure will ...
1
vote
0answers
44 views

Sever User Capacity for 3 hours

The non-profit I work for is planning to host an online virtual tel-a-thon later this month. At MAX, we plan to have 1200 people access our landing page at the same time to watch the livestream event. ...
0
votes
1answer
168 views

Nginx socket reverse proxy got 503 responses on concurrent requests

I am using Nginx as a reverse proxy for my PHP base WebSocket application and I try to load test the WebSocket server with Nginx reverse proxy. And I got 503 errors when concurrent users reach around ...
0
votes
1answer
130 views

Mirror the live HTTP requests on another server from tail'ed apache access log to confirm it can handle the load

I have an apache HTTP server, which is in production use. I have installed another server, which should do the same as this server, but I would like to do some simple load testing. The apache http ...
0
votes
0answers
30 views

Incorrect packet generation results

I'm generating linerate traffic at 64, 128, ...1024B packets with T-Rex on one interface on one server, which is connected via an Ethernet cable to another server which receives the traffic. I'm ...
0
votes
1answer
33 views

What is this kind of continuous traffic generation against production called?

Traffic to our service is not entirely predictable. To help keep the service slightly over-provisioned and to provide advance warning of any degradation resulting from an increase in traffic, we ...
0
votes
0answers
28 views

How to configure apache web server to server more than 2000 TPS [duplicate]

I'm on Cent OS 7 and I have installed fresh apache(httpd) server. There is 16 GB memory installed in the server. I created a simple API in PHP at /var/www/html called testAPI.php. PHP code is as bolow....
0
votes
1answer
59 views

How can do Load Test against WebSocket?

We will have to do a load test for the first time. To tell the truth, I don't know exactly what to look for and how to do it. I have also researched resources on this subject but I could not obtain ...
0
votes
0answers
50 views

Powershell script for automating performance center test execution and fetching result post execution

I want to achieve the below using either Powershell scripting(preferred) or javascript(Cannot install node.js to install any npm package) Execute test from Performance center Post run fetch the ...
0
votes
0answers
60 views

How to improve performance of Nginx for high PHP processing load?

I wonder how I could improve the performance of my server? It is configured with Ubuntu 18.04 (LTS), 4 GB RAM, 100 GB SSD, 2 CPU, with Nginx 1.14.0 and PHP 7.2-fpm to handle running and serving a site ...
1
vote
1answer
63 views

How can I variably stress test a server with Ubuntu?

I need to stress test a group of servers but is there a way to stress test a normal Ubuntu instance that doesn't just whack the CPU percentage up to 100%. Something that holds the CPU at 60% for ...
0
votes
1answer
21 views

How can I ensure that server can handle the load of new users to email marketing tool?

My situation is that I have just taken over a web team who host all of their clients websites using a server provided by Clook The websites have a functionality where the client's customers can sign ...
1
vote
1answer
1k views

How to fix the error “SSLHandshakeException” when load testing Google Cloud Load balancer with an HTTPS?

When I perform a load testing to my website over HTTPS, I received multiples errors related with SSL Handshake when I simulate a high amount of concurrent users (>500 / sec). Here are the errors that ...
1
vote
1answer
1k views

“Too many open files” Apache error even with increased ulimit and sysctl

I'm load testing an Amazon Linux EC2 instance running Apache (event MPM) and PHP-FPM using Locust. When I run my load test with 200 users (~28 requests per second), everything is fine. When I boost ...
1
vote
1answer
38 views

How many people can a normal laptop server serve? [closed]

I'm just trying to play around with my laptop by hosting a small WordPress blog on that. I wonder how many people it can serve at once. About the network, I've tested on Speedtest.net and got this ...
1
vote
2answers
79 views

How Do I Analyse Results of Load Testing to Determine Hardware Requirements

When running load tests for an application server, the average results are as follows for 1.25 concurrent users. I calculated 1.25 concurrent users by taking a peak hour of visitors (5 visitors) for ...
0
votes
0answers
22 views

Configurable Stateful Traffic Generator Advice

I need a traffic generator tool which I should be able to configure followings; Number of Packets Number of Sessions Number of TCP, UDP packets Average number of packets in a session Average packet ...
0
votes
1answer
132 views

Can a load stress test (for example with Loader.io) cause a Denial of Service?

I want to test the performance of my server using Loader.io service, but I'm worried about the impact. From what I understand the site will load stress my server making multiple requests, what is the ...
0
votes
0answers
36 views

Need to correlate ps and load average

Let's say that I have 4 CPUs. In that case, load average should not go beyond 4 for better performance, it means only 4 threads can be run at a time (i.e., only 4 should be in R status in ps output). ...
0
votes
1answer
89 views

Things to consider about AWS EC2 instance types for horizontal scaling

I'm going to scale an application for 100,000 users. The application was hosted in NodeJS. I have created docker images for my application and also using AWS ALB etc. My application is small and my ...
0
votes
1answer
52 views

Soak test failing on AWS RDS MySQL

I have a MySQL database in AWS RDS. It is an r4.large machine with 16GB ram. I have been testing its load capacity and find out that upto 18 concurrent users, the app works fine. Then we decided to do ...
0
votes
1answer
59 views

Wordpress apache benchamrk CPU usage

I'm on a VPS, 4vCPU 4GB RAM. During this apache benchmark test: ab -k -n 10000 -c 3 -l URL I get: Server Load 3.393066 (4 CPUs) Memory Used 35% (1,358,560 of 3,881,408) Swap Used 23.7% (...
0
votes
1answer
669 views

Not understanding metrics of k6

I have load tested my server with k6 and I have some doubts about the results I have obtained. /\ |‾‾| /‾‾/ /‾/ /\ / \ | |_/ / / / / \/ \ | | / ...
0
votes
1answer
550 views

Testing Concurrent Users using Jmeter

If I have to load test an app for 40,000 users per hour with each user's average spent time of one minute then what should be my test approach? Will running a test for 666 Threads/Users (40000/60=...
-2
votes
1answer
34 views

JMETER: Which requests to load

The question is about load testing a web application, in order to find out server capacity (I should answer the question: For how many users using my web application, the server can handle the ...
1
vote
0answers
940 views

Nginx epoll_wait() issue under load test with Load Balancer

I'm using JMeter CLI to load tests our micro services (Nginx+PHP-FPM+Laravel). Micro services are all under an AWS Application Load Balancer which performs a health-check. For that micro service, ...
2
votes
1answer
2k views

How to use “Set weight” in HAProxy

Hi I have configured an HAProxy server in haproxy.cfg to balance the traffic flow between two servers, say server web1 10.10.10.10 weight 50 server web2 10.10.10.11 weight 50 For testing purpose we ...
0
votes
1answer
2k views

Load Testing Scenario for upload/download file to/from sftp server using winscp client on Azure

We have Azure (Microsoft cloud), we have installed winscp to upload and download files to SFTP server but performance is too much low, it takes more than enough time to upload and download 50-100 MB ...
2
votes
1answer
767 views

Servers crash with 3000 concurrent clients - how to config it right? PHP & Apache

I've 4 web servers, 2 database servers (read & write), Redis and a load balancer. I'm using PHP 7.0 & Apache2 & MySQL 5.7, however when I do load tests with 3000 users which surf at the ...
0
votes
1answer
216 views

Identifying webserver's bottleneck on nginx php t2.micro host?

I'm playing around with the AWS free tier using a t2.micro instance. I made a simple php site with elasticbeanstalk with apache and php7.1. I used the apache ab load test util to send 1000 concurrent ...
0
votes
1answer
115 views

Apache not respecting MinSpareServer and MinSpareServer in WHM/Cpanel Apache configuration [closed]

I am using Apache 2.4 and event MPM on my centos server with WHM control panel. I have set MinSpareServers to 50 and MaxSparServers to 55 in of Global Configuration of the WHM Apache ...
0
votes
1answer
2k views

High response time on Azure Web App

I have developed a RESTful api that I deployed on Azure Web App. While performing the load test using JMeter, I see that the response time is huge i.e ~18secs. This response time appalls me because ...
2
votes
1answer
352 views

haproxy session rate lower than single server qps

I setup a haproxy(1.6.3) on ubuntu 16.04 to load balancing two web servers. From my earlier tests, the web servers can handle over 20k request/s. The web servers were tested against wrk2, and I ...
-2
votes
2answers
62 views

Server performance on load [duplicate]

Im asking this question just to make sure or get some idea how much the server can take or when it going to fail, i have an Amazon EC2 instance with 8 GB RAM AND 2 VCPU,and it run some php script that ...
1
vote
2answers
569 views

How to measure bandwidth per cpu utilization [closed]

I'm trying to measure efficiency of the networking system and looking for a tool that either allows to limit max bandwidth for each test or, ideally, limit cpu utilization. At the end I need to have ...
0
votes
0answers
65 views

server block requests from local system

Recently I'm trying to load test my Nginx server using siege. But when I'm trying to load test my server it working for a small concurrent user like 10 users but when I increased the concurrent users ...
4
votes
1answer
2k views

How to circumvent siege concurrency socket select timed out

Being trying to test load capacity of a web site. I am using an aws ubuntu xenial server t2.micro as test client and have SIEGE 3.0.8 and apache benchmark Version 2.3 while ab -c 100 -n 100000 url ...
-1
votes
1answer
35 views

How can I make a server or PC use the most electrical power it is ever likely to?

I have several servers connected to a UPS. I would like to try and get those servers to draw the most power they are likely to as a load test of the UPS. What is the best way to cause a server or PC ...
1
vote
0answers
23 views

Can php+mysql scale to handle 5000 request per second? [duplicate]

I have web application build with php and mysql, and I except 5000 requests/sec in the first 6 months. and I register a dedicated server with CPU intel Xeon 4 cores 3.3GHz, 16G ram, Uplink 1000Mbps, ...
0
votes
2answers
1k views

Siege session cookie

I'm trying to use Siege to load test a Magento site. However, it does not appear that Siege makes requests with session cookie returned from previous request. For example, in my urls.txt file: http://...
1
vote
2answers
105 views

What kind of “streamlining” occurs when you use a single machine to generate load/stress?

The title of this question represents my main concern, but if you read on beyond the question section, you'll find some background about our set up.. which may or may not be relevant / useful. ...
-1
votes
1answer
107 views

Possible DOS Attack or computer “freak out”

I am a dev-ops web developer with a site running two ec2.smalls behind a load balancer on AWS. Recently we saw 3-4 requests per second take down our clients site. The site was down and would not ...
1
vote
1answer
115 views

Realistic Network Load Testing

I am trying to benchmark an ASA under various conditions but what is throwing me off is my baseline seems to be odd. I am trying to load an ASA to full capacity. See the attached topology diagram: ...
2
votes
1answer
2k views

worker_connections are not enough while have idle workers

I try to increase number of concurrent connections my server can handle. $uname -a Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux $ulimit -Sn 65536 $ulimit ...
0
votes
1answer
300 views

simulate real traffic Load testing

The Client asked me to do a load test to see if autoscaling works fine, so used AB from few servers and start hitting it with requests. eventually, the whole thing scaled up to 10 t2.micrs and was ...
1
vote
0answers
31 views

Replaying HTTP requests from a log file, to load test a new server? [duplicate]

I have a HTTP server that serves images generated from a database. It has some level of caching built in, etc. It generates map tile images for javascript based web maps (a la Google Maps etc.) We're ...
-1
votes
1answer
618 views

Record and replay HTTP requests/posts between a given period of time (Apache)

Disclaimer: I know that what I'm about to ask is not even close to best practices but due to very specific requirements, I see this as probably one of very few solutions. Context: We wish to ...
4
votes
0answers
823 views

Identifying bottleneck with nginx VPS load testing

I'm trying to optimize a Digital Ocean droplet (512mb), testing using loader.io I'm testing on my homepage, which is HTTPS / PHP. I setup FastCGI page cache, which got me from 100 req/sec to 2,000 ...
0
votes
0answers
52 views

Server Specs for browser game that hugs cpu

Our team have developed a web browser game, our servers are using nginx and php-fpm to host the website. the game consist of two parts an api and the game itself. both applications reside on its own ...