Questions tagged [stress-testing]

Stress testing is a form of testing that is used to determine the stability of a given system or entity under load. It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results.

Stress testing is for ensuring the tolerance of the application at certain loads (usually extremely high loads). It refers to tests that put a greater emphasis on robustness, capability and error handling under a heavy load, rather than on what would be considered correct behavior under normal circumstances.

Sometimes, as the load on the system increases the system throws errors or behaves unexpectedly. The stress test targets exactly this behavior. Determining that the software handles the load gracefully without crashing is the aim of this test. In particular, the goals of such testing may be to ensure the software does not crash in conditions of insufficient computational resources (such as memory or disk space), unusually high concurrency, or denial of service attacks.

109 questions
0
votes
2 answers

Getting a copy of all e-mails passing through postfix?

I'm changing postfix installations from one installed years ago by people who are no longer here on an operating system which is no longer supported, and I'd like to get a sampling of real data from the existing postfix installation to test the new…
Daniel C. Sobral
  • 5,713
  • 6
  • 34
  • 48
0
votes
3 answers

avoid people running "stress tests" / attacks on our server (CentOS + Apache)

today we ran apachebench on our server to stress test it. Of course, our system peaked and disk I/O was massive. Can we avoid that other people run such "tests" or some sort of attack to stress our system? We are running apache on centos, iptables…
solsol
  • 1,121
  • 8
  • 21
  • 31
0
votes
1 answer

Estimate requests per second on an Apache server

How can I get the average requests per second on an Apache 2.4 server based on the logs? I'm trying to use k6 to load test a new server, a new cloud provider, with new hardware, but I don't know how to estimate how many users there are today.
Tom
  • 289
  • 3
  • 13
0
votes
0 answers

stress-ng: Simulate specific CPU and Memory Percentage

Goal : For performance test I m using stress-ng and I want to consume 100% CPU of 3 out of 4 Core and 80% of entire memory for 30 min (this is very extreme test condition). And I have few other scenario. I have tried with the command: stress-ng -c 3…
0
votes
0 answers

How to cause a network down event on a server?

This may seem weird, but I actually would like to cause a network failure on a project I'm working on. It's a microcontroller that is running tcp/ip and I just want to see what would happen if the network got dropped somehow. I want to ensure the…
0
votes
1 answer

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 started to see a lag in average response time…
stk1234
  • 99
  • 2
0
votes
2 answers

stress-ng limit cpu usage for vm stressor

I'm trying to test a server under specific workloads. I'm using stress-ng to simulate a x% cpu load: stress-ng -c 1 -l x I also trying to use stress-ng to simulate a memory load of x megabytes: stress-ng -vm 1 --vm-bytes xM. This command creates a…
pablochacin
  • 210
  • 1
  • 2
  • 8
0
votes
0 answers

Stress test a server running on the local machine?

I tried searching around and everything gives me completely different answers I'm comparing nginx and a proprietary server my boss wants to use. We're trying to figure out if it's a lot slower or roughly the same. Both are http servers (we don't…
0
votes
1 answer

Creating an SRE Testing Interview VM

I'm working on hiring for a Site Reliability Engineering role and I want to create a "broken" VM for them to log into and debug. What sort of scenarios would you suggest I put in place to accurately test an applicant's knowledge of Linux command…
Jeremy Wilson
  • 311
  • 1
  • 3
  • 12
0
votes
1 answer

SpectreV1 Mitigation Performance profiling

I am trying to measure the system performance when spectreV1 mitigation is on. I am using stress-ng for that. So far I have tested the system with various stressors like cpu, qsort, str, matrix, tsearch, lsearch, sem, switch and mq. I am looking at…
awatan
  • 101
  • 1
  • 4
0
votes
1 answer

Supermicro X10DRL-i 4 Beeps while Running GPU Stress Test

As a bit of a testbench before deployment, I'm running a Supermicro X10DRL-i w/ dual Xeon E5-2620v4's and 64GB RAM. I have a Sapphire AMD Vega56 in the 16x slot. I was running some stress tests today to check for system stability and I ran into an…
Felix Jen
  • 403
  • 5
  • 18
-1
votes
1 answer

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 to draw its maximum power? One machine is…
-1
votes
1 answer

How to test to observe Latency Differences when running Cassandra on HDD vs SSD

We had a 3 node cluster running on HDDs. After migrating to SSDs, we ran a load test but haven't seen any latency difference. So we are thinking about running a stress test. Is there any threshold or parameters we should set or any general…
-1
votes
1 answer

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 replicate the Production environment entirely for…
-1
votes
1 answer

I launch stress-ng -d 9 and my server crashes

I'm trying to understand why my server crashes. It reboots itself after some minutes when launching stress-ng -d 9 The last logs I received are these ones: [pid 1547] write(3, "Z\26\260\2273\0Z\346\251\232\311\273e\10\263\6 …