0

i have an apache 2.2 with

ServerLimit        50
MaxClients         50

now when i run jmeter wth 50 threads and keep alive checked, all slots belong to jmeter. And i can't access the page with my browser.

i aleady tried

MaxRequestsPerChild  1

but this didn't change any thing

is there any out-of-the-box solution in apache to prevent one client using all slots?

wutzebaer
  • 129

1 Answers1

0

I don't see this specified, so try adding KeepAliveTimeout 5 to your apache configuration. Also, why only 50 MaxClients? You must have a very tiny server for it to be set this low.

MaxRequestsPerChild doesn't do anything as any requests through a KeepAlive counts as a single request as far as Apache is concerned. In this configuration (prefork), you can leave out ServerLimit entirely.

Nathan C
  • 15,223