I've done some server benchmarks - Pylons+server using Cherokee and
Lighttpd with SCGI, nginx FastCGI and reverse proxy and cherokee won.
The results aren't online yet as I wait for the domain to redirect to
my new site :)

I've also downloaded cherokee-0.6.0b396 from the list and tested it
today. It compiled ok on adm64/gentoo system. But the benchmark
(httperf) showed that there is a "bug" or something.

I've used this config:
###################
server!port = 80
server!timeout = 20
server!keepalive = 1
server!keepalive_max_requests = 1000
server!pid_file = /var/run/cherokee.pid
server!server_tokens = full
server!panic_action = /usr/bin/cherokee-panic

# Default virtual server
#
vserver!default!document_root = /home/piotr/d/searchengine/
vserver!default!directory!/!handler = scgi
vserver!default!directory!/!priority = 1
vserver!default!directory!/!handler!balancer = round_robin
vserver!default!directory!/!handler!balancer!type = interpreter
vserver!default!directory!/!handler!balancer!local_scgi2!host = localhost:8080
vserver!default!directory!/!priority = 1
####################
And Pylons/SCGI works, httperf with 100con/sec works nice, 0,1 ms
faster response time than 0.5.4 (statistical error, but ;)) but when I
go to 300con/sec cherokee likes to hang - stops responding (pylons
SCGI server doesn't show new requests comming in) this is very odd
since I've pushed 0.5.4  to 1000/sec which return most errors but the
server didn't breake.

When the server hangs I see some extra cherokee in "ps aux":
#################
root      8113  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8114  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8115  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8116  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8117  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8118  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8119  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8120  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8121  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8122  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8123  0.0  0.0      0     0 ?        Z    23:00   0:00
[cherokee] <defunct>
root      8124  0.0  0.0      0     0 ?        Z    23:01   0:00
[cherokee] <defunct>
root      8125  0.0  0.0      0     0 ?        Z    23:01   0:00
[cherokee] <defunct>
root      8126  0.0  0.0      0     0 ?        Z    23:01   0:00
[cherokee] <defunct>
root      8127  0.0  0.0      0     0 ?        Z    23:01   0:00
[cherokee] <defunct>
root      8128  0.0  0.0      0     0 ?        Z    23:01   0:00
[cherokee] <defunct>
root      8129  0.0  0.0      0     0 ?        Z    23:01   0:00
[cherokee] <defunct>
#################
_______________________________________________
Cherokee mailing list
Cherokee@0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to