Re: [PHP-DEV] Memory limit is used for all scripts instead ofone? NEW: CRASHING

2001-06-28 Thread Swift

Hi Zeev!

Zeev Suraski wrote:

 memory_limit applies for the duration of a single script.  Each script will
 not be allowed to obtain more than 8MB;  So, the problem you're having
 originates someplace else (perhaps other parts of PHP grow to consume more
 memory, e.g., persistent resource tables or something of the sort).

The problem arrived with PHP4.0.6 which I installed yesterday. But in the meantime I 
discovered
another BIG problem: Our server crashed tonight! Until yesterday PHP4.0.4pl1 was 
installed and
it run without problems for months. So it seems that PHP4.0.6 caused the problem.

I looked through the apache's error_log but I couldn't find anything special...the 
server
simply stopped.
Is this a known problem? Should I go back to 4.0.4pl1 or is it possible that I made a 
mistake
while compiling the source? But the strange thing is that the server crashed not 
instantly but
after 9 hours (we have 800,000 hits per day and at the time of the crash we had only a 
very
small load). There were no seg. fault or something like that.

Thanx for your help..

 ... tobias wiersch from .de



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Memory limit is used for all scripts instead ofone? NEW: CRASHING

2001-06-28 Thread Zeev Suraski

This isn't a known problem (well, at least I haven't heard any such 
complaints).  It may be a coincidence (i.e. not related to 4.0.6) - I'd 
wait and see if this problem persists.

Zeev

At 14:46 28/6/2001, Swift wrote:
Hi Zeev!

Zeev Suraski wrote:

  memory_limit applies for the duration of a single script.  Each script will
  not be allowed to obtain more than 8MB;  So, the problem you're having
  originates someplace else (perhaps other parts of PHP grow to consume more
  memory, e.g., persistent resource tables or something of the sort).

The problem arrived with PHP4.0.6 which I installed yesterday. But in the 
meantime I discovered
another BIG problem: Our server crashed tonight! Until yesterday 
PHP4.0.4pl1 was installed and
it run without problems for months. So it seems that PHP4.0.6 caused the 
problem.

I looked through the apache's error_log but I couldn't find anything 
special...the server
simply stopped.
Is this a known problem? Should I go back to 4.0.4pl1 or is it possible 
that I made a mistake
while compiling the source? But the strange thing is that the server 
crashed not instantly but
after 9 hours (we have 800,000 hits per day and at the time of the crash 
we had only a very
small load). There were no seg. fault or something like that.

Thanx for your help..

  ... tobias wiersch from .de

--
Zeev Suraski [EMAIL PROTECTED]
CTO   co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]