| 
	
 | 
 Posted by Ian Hobson on 04/03/07 00:15 
Hi, 
 
Help needed! 
 
Yesterday I edited a large (not the largest) page, that is processed by  
php into an html page. It crashed Apache. There was a "child process  
exited with status 3221225725 -- Restarting" in the error log, which I  
understand is the code for it ran out of stack space. 
 
The php script that works fine for about 500 pages. Because it is so  
well used, (and I wrote most of it), I am reasonably confident that it  
is correct and it does NOT use recursion. 
 
Conclusion - the process really was out of stack space! 
 
I can find no way to alter the stack space in Apache (under windows). 
 
I did find that sometimes changing the version of Apache will help so I  
have installed Apache 2.2.4 - the absolute latest. Still get the same  
problem.  (Yes - I did update the php5 dll file and had to take out fast  
cgi). 
 
Environment. 
 
Windows 2K - Patched to about 2 weeks ago. 
Apache 2.2.4 (with OUT fastcgi) or 2.0 with fastcgi 
php 5.1.4 
 
Has anyone any idea on how to give the service more stack space, or test  
to prove it is recursing up the stack or not. 
 
Thanks 
 
Ian
 
  
Navigation:
[Reply to this message] 
 |