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
8 votes
1 answer
6k views

How to get what IP Address Ranges used by Visual Studio Online Load Testing Agents?

I need to setup IP Whitelisting in an environment that I need to run some Visual Studio Online Load Tests on. I was able to find some documentation as to what IP Addresses Visual Studio Online ...
0 votes
1 answer
87 views

jmeter finding max sustainable throughput

I would like to use Jmeter to keep sending requests at the maximum sustainable interval - where the number of running threads (displayed before the / sign in the top right corner) stay constant e.g. 2....
0 votes
1 answer
453 views

Laravel, nginx, Docker, PHP - Load Test, Very Unsatisfactory Results

We are creating two servers in Hetzner (https://www.hetzner.com/cloud). Parmeters of both: CPX51 - vCPU 16 AMD, RAM 32 GB. On one server with Ubuntu 22.04 we install Docker and run the PHP application ...
0 votes
1 answer
151 views

Load test (single client vs thousands of clients)

Hello Serverfault community, I am currently working on a .NET Web API that utilizes MS SQL as its backend to process data and return straightforward results. To ensure the API's performance and ...
124 votes
5 answers
77k views

How do you do load testing and capacity planning for web sites?

This is a canonical question about capacity planning for web sites. Related: Can you help me with my capacity planning? How do you do load testing and capacity planning for databases? What are some ...
1 vote
1 answer
2k views

How can I determine Breaking point of my Web application using JMeter?

How can I determine Breaking point of my Web application using JMeter? I have executed the JMeter Testplan with different concurrent users load. EX. 300 users(0% error), 400 users(7% error in a sample,...
1 vote
1 answer
6k 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
1 answer
3k 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 ...
0 votes
2 answers
2k views

Tuning high-raffic nginx and wordpress server

I have been conducting load-tests (via blitz.io) as I attempt to tune server performance on a pool of servers running php 5.5, wordpress 3.9.1, and nginx 1.6.2. My confusion arises when I overload a ...
2 votes
1 answer
2k views

Jmeter distributed testing over ssh tunnel

While configuring jmeter distributed testing i faced a problem of remote connection to servers which are behind NAT. Node with jmeter client has external ip, all servers are in different LANs behind ...
0 votes
1 answer
46 views

Stress Test Interpretation

I ran a basic stress test and am having trouble interpreting the results. Setup Super simple node.js API (returns a string for a GET request) deployed on heroku's free tier Increased RPS until I ...
0 votes
1 answer
892 views

Running out of TCP ports in linux(Red hat) while doing load test

I'm doing load test for 30000TPS(transaction per second) using gatling, I facing the following error i.n.c.u.Errors$NativeIoException: newSocketStream(..) failed: 99128 (99.43%) Too many open ...
0 votes
1 answer
713 views

Very low memory usage during heavy load test

I have a wordpress website wich I did a heavy load test on. As you can see below the CPU usage is of course high but at the same time the RAM usage never goes higher than 0,4%. The load test doesn't ...
0 votes
1 answer
94 views

Assume platform performance based on Nginx - ngx_http_stub_status_module

Nginx is placed in front of a microservice architecture on which we don't have any insight. We retrieve the metrics exposed by the http stub status and would like to compute an indicator of the ...
0 votes
2 answers
56 views

Purpose of Selenium in load testing

What is the role of Selenium in load testing a webpage if it cannot generate 200 or 300 requests? I understand, the client side automation can be done. But how do I test my web application for a real ...
2 votes
0 answers
857 views

What matters when optimizing a nginx server for audio/video streaming?

I am looking for opinions and resources. Serving rtmp, dash, hal with nginx-rtmp-module. Test streaming from another machine with ffmpeg, but will probably use OBS later on. Which nginx settings ...
2 votes
5 answers
14k views

MySQL load/stress testing

I am going to do load testing on mysql server, could someone recommend good metrics to concentrate on? Any automated way(read software) of getting/tracking them? Thank you!
0 votes
3 answers
383 views

Lightweight Linux tools for on-demand performance monitoring during load testing?

I'm tasked with testing out ProxySQL on a couple of Tomcat test servers, comparing its performance and resource utilization with the current Apache DBCP connection pooling. I've got a rough load ...
1 vote
2 answers
2k views

Load testing nginx inside AWS

I'm trying to load test nginx running on AWS. I need to try to optimise it to handle 1Gbps of inbound traffic. Currently I've got it to peak at 85Mbit/s by running nginx on an m1.large with 4 other ...
0 votes
1 answer
228 views

Load Testing CPU utilization that occurred while executing at the system level

Is there a way to load test CPU utilization at the kernel level? Output for sar 09:00:01 AM CPU %usr %nice %sys %iowait %steal %irq %soft %guest %gnice %idle ...
2 votes
1 answer
3k 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 ...
1 vote
1 answer
423 views

Linux server not allowing more than 2048 concurrent connections

I tried to do load test on MQTT from my MACOS, and was able to successfully achieve more than 12k connections till my bandwidth got exhausted. I tried to do the same test on GCP machine and it gave me ...
0 votes
1 answer
171 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
1 answer
570 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 ...
3 votes
1 answer
3k 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 ...
2 votes
1 answer
2k views

ab Failed Requests

I've built a simple apache + django + mod_wsgi webapp that I am testing on my local machine. I've started load testing it using ab - and I am seeing a few failed requests. ab -n 500 -c 100 "http://...
1 vote
0 answers
52 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
1 answer
794 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
1 answer
760 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
1 answer
64 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 ...
1 vote
0 answers
2k 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 ...
128 votes
9 answers
223k views

How can I monitor hard disk load on Linux?

Is there a good command line utility to monitor hard disk load on linux? Something like top but then monitoring disk activity i.s.o. cpu usage. More specifically, I suspect that for some (heavy load) ...
1 vote
1 answer
701 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
1 answer
37 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 ...
2 votes
1 answer
4k 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
1 answer
56 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
2 answers
354 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
0 answers
55 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
1 answer
240 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
0 answers
41 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
1 answer
186 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
1 answer
89 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
1 answer
92 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
1 answer
1k 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
1 answer
1k 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
1 answer
40 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 ...
2 votes
1 answer
5k 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 ...
1 vote
0 answers
2k 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, ...
0 votes
1 answer
4k 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
1 answer
1k 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 ...