[PHP-DEV] Re: PHP memory fragmentation

2005-06-13 Thread Andrew Prendergast
After a bit more investigation, I would like to change this paragraph: Once a script finishes executing, although the garbage collector technically has freed the ram, the pages are still allocated. The next time the thread executes, there is a whole pile of swapping and if a memory hungry script g

[PHP-DEV] Re: PHP memory fragmentation

2005-06-13 Thread Andrew Prendergast
Please find attached a diff against HEAD & a modified version of the file implementing my proposed PHP_FCGI_MAX_RAM_MB & PHP_FCGI_MAX_RAM_INCREASE changes. Example invocation of PHP with 10 child processes that are automatically restarted if they increase in size by more than 25%: PHP_FCGI_CHILDR