Hi folks. I've just installed Drupal 6.6 and the ApacheBench (ab) module. If I go to "Administer" => "ApacheBench" I get the screen where you can input the frequency, requests, concurrency, etc. So that's all good. I enter a "1" for the frequency and fill in the other fields. I've been using low numbers just for a test. Frequency=1, requests=10, concurrency=2. I then go to the "Status Report" page and run cron manually. However, when I look at the "ApacheBench Reports" there is nothing there. What am I missing? I tried to find some more detailed documentation, is there log files or something I can check to get me pointed in the right direction? Any assistance is appreciated!

Thanks!
Tony Lombardo

Comments

tjholowaychuk’s picture

Hmm my configuration is a frequency of 1, 100 requests at a concurrency of 20. Do you have a trailing slash after your URI ? eg http://vision-media.ca/ NOT http://vision-media.ca ? that may be the issue

tjholowaychuk’s picture

Also it does utilize the 'ab' executable directly, so if you are not running apache or do not have permissions to execute it then it will not work (as documentation suggests this should not be used on a production site... monitor remotely).

ajl44’s picture

Yes a frequency of 1, 100 requests at a concurrency of 20 is the default. I had changed it, but I just now tried the default settings with no luck. And I did add the "index.php" (http://xxx.xxx.xxxxl.xxx/performance/index.php)

Tony

ajl44’s picture

Rats. I was thinking that might be the problem. I doubt my account has permissions to run that command. I'll look into that.

BTW. Which documentation are you referring to? "(as documentation suggests this should not be used on a production site... monitor remotely)."

I couldn't find anything with sufficient detail.

Thanks for your replies and assistance!
Tony

tjholowaychuk’s picture

No problem.

"- Where? Most likely a local environment used to track or manage remote sites. (I do not suggest using this on a production site or server)" on the project page :P

neochief’s picture

Status: Active » Fixed

I encounter same problem with 6.0 version. In my case, my MySQL didn't understood strange INSERT syntax, in which module added benchmarking info. I've fixed it with this patch and everything starts to work fine.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.