Manuel Lemos wrote:
On 10/01/2004 10:29 AM, Olaf Van Der Spek wrote:
So Apache restarts just because it thinks that's funny?
FATAL: erealloc(): Unable to allocate 603602944 bytes
[Sun Sep 19 16:11:16 2004] [notice] Parent: child process exited with
status 1 -- Restarting.
I was not aware that memory allocation failures could make PHP to exit
its process but since it seems intentional there must be a reasoning
behind that for which I am not the person that should explain. Maybe the
reason has to due to the fact that when memory allocation fails, PHP
allocation code can't be certain about memory integrity.
Why would memory integrity be compromised?
It's not like a buffer overflow.
Anyway, 600MB memory allocation is not normal in a typical memory
application. If it is normal in your application, why don't you just
raise the memory limit setting? It would avoid making PHP exit.
It's not normal in my app either.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php