Jaime Bozza <jbozza <at> mindsites.com> writes: > My question – Has anyone else noticed slowness (in the > order of over 5-10 seconds and more!) when restarting Cherokee? During this > time, all IO is blocked, so nothing can be served, which is a bit of a > problem. While restarting rarely happens, it makes it difficult for making > quick changes.
I'll post my observations here as well. In reading your post about issue with threads I watched my server restart more closely. I guess it does actually take a little bit of time to kill the process. It looks like this for example: Stopping cherokee. Waiting for PIDS: 38173, 38173, 38173, 38173, 38173. It's always the list of 5 PIDS. I've always assumed it just waiting for the 5 php-cgi child processes to die. So I tried a restart immediately after the server was restarted, and before any php-cgi processes were started, and it's actually the same thing, the 5 repeated PIDS before it's done. Without looking at a watch I counted about 6 or 7 seconds before it was complete. Startup on the other hand is next to instantaneous. This is also on FreeBSD. FreeBSD 7.2-RELEASE-p1. I also have cherokee 0.99.17 (from the "sid" repository) running on my Debian 5.01 (Mostly Lenny, some mixed packages) server at home. I watched the restart on it, and it is definitely faster. Maybe 2-3 seconds before the process stops and then the same near instantaneous startup. Hope that is useful information. Jason _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
