Out of Stack space???

This is a discussion on Out of Stack space??? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi, Help needed! Yesterday I edited a large (not the largest) page, that is processed by php into an html ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-03-2007
Ian Hobson
 
Posts: n/a
Default Out of Stack space???

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
Reply With Quote
  #2 (permalink)  
Old 04-03-2007
Ian Hobson
 
Posts: n/a
Default Re: Out of Stack space???


Further to my previous post.

The page works just fine under my hosting account.

Apache/1.3.36 (Unix) (Red-Hat/Linux) PHP/5.0.3 mod_ssl/2.8.27
OpenSSL/0.9.7a FrontPage/4.0.4.3

So the problem appears most likely to be related to windows (but might
be Apache2.? or php 5.1.)

Does anyone have a solution?

Regards

Ian
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:23 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0