Hi folks!
I have just committed r912 with a little new binary target for 0.6.
Follows the ChangeLog entry:
------------------
2007-09-07 Alvaro Lopez Ortega <[EMAIL PROTECTED]>
* cherokee/main_guardian.c, cherokee/Makefile.am: The Cherokee
guardian is a new binary that takes care of launching the server
and looking after it. If the server dies, the guardian will launch
a new instance of the server.
------------------
And here is a little example:
------------------
# cherokee-guardian &
Cherokee Web Server 0.6.0 (Aug 29 2007): Listening on port 80, TLS disabled
IPv6 enabled, using epoll, 1024 fds system limit, max. 507 connections
5 threads, 206 fds per thread, standard scheduling policy
# ps fax | grep cherokee
21925 pts/5 S+ 0:00 | \_ ./cherokee-guardian
21926 pts/5 Sl+ 0:00 | \_ /usr/sbin/cherokee
# kill 21926
Server PID=21926 exited re=0
Cherokee Web Server 0.6.0 (Aug 29 2007): Listening on port 80, TLS disabled
IPv6 enabled, using epoll, 1024 fds system limit, max. 507 connections
5 threads, 206 fds per thread, standard scheduling policy
------------------
It is only 150 LOC, so even if it's a new binary, adding it to trunk
should not be, in my opinion, a high risk change.
Comments and improvements are more than welcome. :-)
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee