Why does autobench die out when trying to run it with the error “Cannot find httperf in $PATH; please ensure it is installed and your PATH is”?
Short Answer: Install which via yum
One reason could be that “which” is not installed on your server. Which is a package that can be installed via the base yum repository by issuing the below command.
Install which Using YUM On CentOS Linux:
- yum install which
This should fix the autobench in your path issue mentioned above.
Hi
I’m out of the topic, but i really need some helps….:(
I’m currently using autobench to test a personal web server. I want to define a scenario with 3 main steps:
Step 1: generate an increasing request load. For example from low_rate=10 to high_rate=100 with a rate=10 ==> Everything is OK here
Step 2: I want to be able to have a “fix” CPU load. For example if at the end of Step 1 my CPU load is around 50 I want my server to stay at a load of 50 for almost 3mn before decreasing ==> is it possible to do it with autobench? If yes, how can I do it? Else, can you propose some useful tools to active this step? Step 3: I want to be able do
Step 3: I want to be able to generate load from the current CPU load to 0. For example, configure autobench like this: low_rate=100 high_rate=10 and rate=-10 (negative value) ==> It is not working? Is it possible to do it with autobench? If yes how? Else, and you give me some advises to perform my experience? Sorry for my English!
Hello lyapma,
The autobench Perl script is not necessarily something that you can control your CPU with only in the fact that it will make LOAD rise during your tests. So as far as having the CPU use 50% for three minutes and/or then having it fall to 0% is not really its purpose. The script is made to stress test a web server to see what kind of load the server can handle and while this would include monitoring CPU usage/LOAD to see how your server does under stress it is not to have the CPU perform at specific levels for specific intervals.
Thanks.
alex