HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Server reached MaxClients setting (http://www.howtoforge.com/forums/showthread.php?t=34231)

vaio1 28th April 2009 10:32

Server reached MaxClients setting
 
Hi guys,

how can I solve this problem? The websites are so slow.

[Mon Apr 27 22:53:55 2009] [error] server reached MaxClients setting, consider raising the MaxClients setting


Thanks

vaio1 28th April 2009 10:42

This is my httpd.conf

Code:

<IfModule prefork.c>
StartServers      8
MinSpareServers    5
MaxSpareServers  20
ServerLimit        256
MaxClients      256
MaxRequestsPerChild  4000
</IfModule>

Speed Statistics
Code:

# ab -n 1000 -c 5 http://92.929.221.121:80/index.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking 92.929.221.121 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software:        Apache/2.2.3
Server Hostname:        92.929.221.121
Server Port:            80

Document Path:          /index.php
Document Length:        479 bytes

Concurrency Level:      5
Time taken for tests:  0.193536 seconds
Complete requests:      1000
Failed requests:        0
Write errors:          0
Non-2xx responses:      1001
Total transferred:      720720 bytes
HTML transferred:      479479 bytes
Requests per second:    5167.00 [#/sec] (mean)
Time per request:      0.968 [ms] (mean)
Time per request:      0.194 [ms] (mean, across all concurrent requests)
Transfer rate:          3632.40 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median  max
Connect:        0    0  0.0      0      1
Processing:    0    0  0.6      0      2
Waiting:        0    0  0.2      0      2
Total:          0    0  0.6      0      2

Percentage of the requests served within a certain time (ms)
  50%      0
  66%      1
  75%      1
  80%      1
  90%      1
  95%      1
  98%      1
  99%      1
 100%      2 (longest request)


falko 29th April 2009 11:51

Please raise MaxClients and ServerLimit and restart Apache.


All times are GMT +2. The time now is 03:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.