[peruser] Patch for busy servers

Marcelo Coelho marcelo at tpn.com.br
Wed Jan 5 08:09:36 MST 2011


> Here is my peruser config section:
> 
>  IdleTimeout 600
>  ExpireTimeout 1800
>  MinSpareProcessors 0
>  MaxSpareProcessors 15
>  StartProcessors 5
>  MinProcessors 0
>  MaxProcessors 400
>  ServerLimit 3000
>  MaxClients 1500
>  MaxRequestsPerChild 1000
>  MinMultiplexers 25
>  MaxMultiplexers 200
>  MultiplexerIdleTimeout 600
>  ProcessorWaitTimeout 10
> 

I'm using your configuration without these error messages. Can you help me to reproduce this problem?


# ab -c 200 -n 1000000 -k http://192.168.1.47/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking nomedoservidor (be patient)
Completed 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Completed 1000000 requests
Finished 1000000 requests


Server Software:        Apache/2.2.17
Server Hostname:        192.168.1.47
Server Port:            80

Document Path:          /
Document Length:        12 bytes

Concurrency Level:      200
Time taken for tests:   41.192 seconds
Complete requests:      1000000
Failed requests:        0
Write errors:           0
Keep-Alive requests:    990200
Total transferred:      330569265 bytes
HTML transferred:       12000012 bytes
Requests per second:    24276.65 [#/sec] (mean)
Time per request:       8.238 [ms] (mean)
Time per request:       0.041 [ms] (mean, across all concurrent requests)
Transfer rate:          7837.03 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.8      0       9
Processing:     0    8  14.5      8     762
Waiting:        0    8  14.5      8     762
Total:          0    8  14.7      8     765

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

# apachectl graceful; sleep 3; apachectl graceful; sleep 3; apachectl graceful; sleep 3
# cat /var/log/httpd-error.log | grep lost

(nothing)


-- 
Marcelo Coelho
marcelo at mco2.com.br



More information about the Peruser mailing list