Hi all!

I finally had some time to review our peruser code and make some 
fixes/changes:

- added Lazy's fix for graceful restarts (thanks for that!)
- fixed chroot which was broken with dc2 patch.
- optional support for cgroups. This is good for monitoring user's 
memory and cpu usage (or even limiting it). Format inside <Processor> 
tag is: "Cgroup <cgroup directory>".
- the "request will not be honoured" error should now have more details 
about the processor and virtualhost.
- added "MaxSpareProcessors" directive. This tells the server to start 
killing idle children if there are more than MaxSpareProcessors of them. 
Should help to reduce memory usage, but it may also reduce server speed 
(and/or increase cpu usage) if the children keep dying and respawning 
all the time. Default is off.
- implemented the use of READY child status. This is used to get more 
accurate state of processors' and workers' status by manually setting it 
before accepting the new connection (and manually setting it to ACTIVE 
after we have received a connection). Not sure if it changes anything, 
but I think it's the cleaner way to go.
- the default ProcessorWaitTimeout was increased from 2 to 5.

You can get it from the SVN:
http://www.telana.com/svn/peruser/dc/

or grab the patch here:
http://source.kood.ee/httpd-2.2.3-peruser-0.3.0-dc3.patch (replace dc2 
with this)

Also note that you need to set the "User" and "Group" directives to the 
same with multiplexer user and group (which are both usually "nobody").


Taavi
_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to