This STABLE release causes a Stack Overflow on Apache2/WinNT4

Author Message

dave jones

Tuesday 01 July 2003 2:32:48 am

Hello. I am running Apache2 on Windows NT 4 Server SP6a w/800Mhz Celeron 256Mb RAM. PHP 4.3.2 works wonderfully under this setup.

I have successfully run b2, php-nuke, postnuke, phpWebSite, drupal, envolution, XOOPS2, mambo, phpBB, XMB, phpOpenChat, phpMyAdmin, myPHPBlog, and several other CMS/blogging systems on this setup. I am currently running a postnuke based system very successfully and have had over 15,000 hits with no problems.

I have done a clean install (twice) of the eZ3.1 system but straight after the install completes any access to index.php causes a Stack Overflow error in Apache.

I'm not sure what to do, since I've read the forums on here and you are undoubtedly going to blame my system, Apache2, my PHP set, my competence, my ability to read and freak sun spot activity before any one will admit that this is a problem with eZ - but I have run just about every other open source CMS on the same box and they all work like a dream.

So, any ideas?

Bård Farstad

Tuesday 01 July 2003 2:36:12 am

Up your PHP memory limit. eZ publish uses more than 8 MB on before it creates cache files. Try setting the memory limit to 20MB and see if it helps.

If you're running Apache2 in CGI mode you will have problems, since eZ publish does not officially support CGI. You can find a patch for this in the forums.

--bård

Documentation: http://ez.no/doc

dave jones

Tuesday 01 July 2003 3:01:36 am

OH yeah I forgot to say that I read the installation documentation, so I upped the memory limit to 20MB and enabled PATHINFO on the eZ directory.

Not using PHP as CGI (ugh)!

Thanks anyway.

mariuz popa

Wednesday 02 July 2003 1:26:22 am

had the same issues
I have changed the log level of apache from warn to
debug and it seems that the index.php is crashing it
( child process exited with status 3221225725) and changed the MaxRequestsPerChild to 250 but the
Requests per child still exists (infinite loop) but server don't crash now only it doesn't do anything (empty page)
So i reverted to apache 1.3.27 + php 4.3.2 where it works .

dave jones

Saturday 05 July 2003 6:45:10 am

thanks for the info. so is this potentially a problem with php4 or apache2. i can't change server to apache1.3 cos it's deprecated and i have to go with the latest technology. none of my production servers are running apache1.x code anymore, so i'll just have to wait until ez produces some STABLE code for the current realease of web servers.

Bård Farstad

Saturday 05 July 2003 9:00:02 am

Dave, this is not an eZ publish issue. It's because PHP is not stable under Apache 2. There is nothing we can do in eZ publish about this. The reason for this is because PHP and it's extensions are not thread safe and since Apache 2 uses multithreading they do not play very well together.

So until PHP is stable under Apache 2 I would not recommend running PHP applications under it in a production environment.

--bård

Documentation: http://ez.no/doc

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:28:36
Script start
Timing: Jan 18 2025 22:28:36
Module start 'layout'
Timing: Jan 18 2025 22:28:36
Module start 'content'
Timing: Jan 18 2025 22:28:36
Module end 'content'
Timing: Jan 18 2025 22:28:36
Script end

Main resources:

Total runtime0.0169 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.3984152.6875
Module start 'layout' 0.00550.0036 741.085939.5234
Module start 'content' 0.00910.0054 780.609493.4297
Module end 'content' 0.01450.0023 874.039138.3047
Script end 0.0168  912.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.2133140.0002
Check MTime0.00116.7737140.0001
Mysql Total
Database connection0.00063.341710.0006
Mysqli_queries0.003420.120730.0011
Looping result0.00000.087510.0000
Template Total0.001810.810.0018
Template load0.00116.289810.0011
Template processing0.00084.454710.0008
Override
Cache load0.00063.674610.0006
General
dbfile0.00031.554580.0000
String conversion0.00000.066340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs