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
1 answer
65 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....
SunWuKung's user avatar
  • 101
0 votes
1 answer
383 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 ...
portableunit's user avatar
0 votes
1 answer
125 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 ...
Christopher Bailey's user avatar
0 votes
1 answer
43 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 ...
stk1234's user avatar
  • 99
0 votes
1 answer
811 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 ...
Debugger's user avatar
  • 101
0 votes
1 answer
680 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 ...
deepbluecake123's user avatar
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 ...
PierreJ's user avatar
0 votes
2 answers
44 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 ...
Vinayak's user avatar
  • 73
2 votes
0 answers
833 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 ...
treakec's user avatar
  • 21
0 votes
3 answers
357 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 ...
JK Laiho's user avatar
  • 197
0 votes
1 answer
225 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 ...
taq's user avatar
  • 1
1 vote
1 answer
396 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 ...
Dhruv Sehgal's user avatar
0 votes
1 answer
163 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 ...
nck's user avatar
  • 129
0 votes
1 answer
550 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 ...
derangedhk417's user avatar
1 vote
0 answers
50 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. ...
daugaard47's user avatar
0 votes
1 answer
779 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 ...
Set Kyar Wa Lar's user avatar
0 votes
1 answer
702 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 ...
Amandasaurus's user avatar
  • 32.2k
0 votes
1 answer
62 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 ...
KernelPanic's user avatar
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 ...
eddiethedean's user avatar
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 ...
C.A. Vuyk's user avatar
  • 632
1 vote
1 answer
664 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 ...
Erdss4's user avatar
  • 135
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 ...
Zaine Abaddin's user avatar
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 ...
probitaille's user avatar
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 ...
Monkey34's user avatar
  • 161
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 ...
Trường Giang Vũ's user avatar
1 vote
2 answers
335 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 ...
Matt's user avatar
  • 113
0 votes
0 answers
54 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 ...
No N's user avatar
  • 1
0 votes
1 answer
238 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 ...
Enrique's user avatar
  • 143
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). ...
KALAI SELVAN's user avatar
0 votes
1 answer
179 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 ...
Neron Joseph's user avatar
0 votes
1 answer
86 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 ...
Neron Joseph's user avatar
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% (...
testermaster's user avatar
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. /\ |‾‾| /‾‾/ /‾/ /\ / \ | |_/ / / / / \/ \ | | / ...
John's user avatar
  • 1
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=...
Cedric's user avatar
  • 1
-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 ...
Hana Bzh's user avatar
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, ...
Kaymaz's user avatar
  • 243
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 ...
susil95's user avatar
  • 123
0 votes
1 answer
3k 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 ...
Derek's user avatar
  • 11
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 ...
MyLibary's user avatar
  • 121
0 votes
1 answer
320 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 ...
moolagain's user avatar
0 votes
1 answer
211 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 ...
hack4mer's user avatar
  • 113
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 ...
Sarmad's user avatar
  • 101
3 votes
1 answer
499 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 ...
cwhsu's user avatar
  • 163
-2 votes
2 answers
65 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 ...
iMyth's user avatar
  • 1
1 vote
2 answers
931 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 ...
Kentzo's user avatar
  • 131
0 votes
0 answers
167 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 ...
user3528954's user avatar
4 votes
1 answer
3k 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 ...
black sensei's user avatar
-1 votes
1 answer
63 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 ...
TafT's user avatar
  • 243
1 vote
0 answers
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, ...
Abdulkareem Mohammed's user avatar
1 vote
2 answers
2k 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://...
David Tay's user avatar
  • 131