ID: 16360 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Scripting Engine problem Operating System: Linux, Windows PHP Version: 4.0CVS-2002-03-3 New Comment:
I'm not sure if this is the same problem, but I get something extremely similar. Install PHP 4.1.x (whether .1 or .2) and suddenly Apache begins growing, and growing, and GROWING in memory use. Eventually a malloc/segfault occurs and Apache either restarts or simply fails outright. Reverting to 4.0.6 resolves the issue, placing 4.1.x back on reintroduces it. No Zend, no nothing other than GZIP and MySQL. Since numerous malloc/segfaults end up leaving Apache unable to restart itself, and PHP 4.1.2 was a security fix and thus HAD to upgrade to it (previously just stuck with 4.0.6 due to this), I have had to configure Apache to auto-restart itself every few hundred hits - this seems to prevent the fault occurring. Mind you PHP still fills up the error log with sh#tloads of parse errors - out of say several hundred executions of a simple 1 line script for example it'll suddenly decide on the next excution to suffer a parse error. Again specific to PHP 4.1.x Sorry if this isn't the same fault? Previous Comments: ------------------------------------------------------------------------ [2002-04-02 10:24:07] [EMAIL PROTECTED] why not? ------------------------------------------------------------------------ [2002-04-01 21:58:51] [EMAIL PROTECTED] My personaly preference is "result must be correct always, if not raise error", but it's not the case under PHP, unfortunately. ------------------------------------------------------------------------ [2002-04-01 09:00:25] [EMAIL PROTECTED] Ok, ZendOptimizer disabled, patch works as expected. Any patch like the one Joerg suggested in sight? ------------------------------------------------------------------------ [2002-04-01 01:32:52] [EMAIL PROTECTED] When you report error. Disable Zend Optimizer _ALWAYS_. We don't support ZendOptimizer and it's waste of time for both of us. Zend optimizer probably does not work with the patch. To locate line, use die(). ------------------------------------------------------------------------ [2002-03-31 21:44:32] [EMAIL PROTECTED] Please give me a hint how to locate the line, for I don't know :-) I'm using the Zend Optimizer in addition, nothing else. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16360 -- Edit this bug report at http://bugs.php.net/?id=16360&edit=1