note 80713 added to function.apache-child-terminate

From: Date: Wed, 30 Jan 2008 00:29:33 +0000
Subject: note 80713 added to function.apache-child-terminate
Groups: php.notes 
Request: Send a blank email to php-notes+get-135569@lists.php.net to get a copy of this message
Apache child processes are greedy. If they get bloated by a PHP application that requires a lot of memory, they stay that way. The memory is never given back to the OS until that child dies. You could use MaxRequestsPerChild in Apache to kill all child processes automatically after a certain number of connections. Or you can use apache_child_terminate to kill the child after your memory intensive functions. Note: apache_child_terminate is not available in Apache 2.0 handler. ---- Server IP: 208.69.120.35 Probable Submitter: 63.81.152.130 ---- Manual Page -- http://www.php.net/manual/en/function.apache-child-terminate.php Edit -- https://master.php.net/note/edit/80713 Del: integrated -- https://master.php.net/note/delete/80713/integrated Del: useless -- https://master.php.net/note/delete/80713/useless Del: bad code -- https://master.php.net/note/delete/80713/bad+code Del: spam -- https://master.php.net/note/delete/80713/spam Del: non-english -- https://master.php.net/note/delete/80713/non-english Del: in docs -- https://master.php.net/note/delete/80713/in+docs Del: other reasons-- https://master.php.net/note/delete/80713 Reject -- https://master.php.net/note/reject/80713 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135569) next »