last step of install fails - ezp 4.1.1 segfaults xcache

Author Message

zurgutt -

Sunday 10 May 2009 9:36:20 am

At least on Ubuntu 8.04 LTS, the last step of installation will fail (with segfault in apache logs), if xcache php accelerator is enabled. Some other failure points with xcache and 4.1.1 have also been mentioned. I have not encountered any problems with xcache before, what could it be in the new ezp version that triggers this now?

Certified eZ developer looking for projects.
zurgutt at gg.ee

Christian Rößler

Monday 11 May 2009 12:22:13 am

I encountered some php-segfaults when using xcache for php-cli scripts like cronjobs using the same setup (ubuntu 8.04 lts, php5, ...). According to other posts you made i think you are using php as fastcgi-daemon and not as apache-module 8as is do). That's causing some other segfaults in your setup for web-output-scripts too - not only php-cli.

The solution for me was to disable xcache for the php-cli php.ini and in overall compile xcache from source. that worked for me as the segfaults are gone. the reason why this happens on ezpublish is unknown. but this has happened for ezP 4.0.x and 4.1.x. i dont know if there are any issues using xcache/php5 and ezP 3.x.

Cheers,
Christian

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Łukasz Serwatka

Monday 11 May 2009 1:08:53 am

I would recommend to switch to APC[1] which is recommended PHP accelerator for eZ Publish.

[1] http://pecl.php.net/package/APC

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 16:18:03
Script start
Timing: Jan 18 2025 16:18:03
Module start 'layout'
Timing: Jan 18 2025 16:18:03
Module start 'content'
Timing: Jan 18 2025 16:18:03
Module end 'content'
Timing: Jan 18 2025 16:18:03
Script end

Main resources:

Total runtime0.0180 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.1641152.6563
Module start 'layout' 0.00530.0039 740.820339.5234
Module start 'content' 0.00920.0056 780.343889.3984
Module end 'content' 0.01480.0032 869.742234.3047
Script end 0.0180  904.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003117.0942140.0002
Check MTime0.00158.0429140.0001
Mysql Total
Database connection0.00084.318810.0008
Mysqli_queries0.003619.988430.0012
Looping result0.00000.078010.0000
Template Total0.001910.710.0019
Template load0.00116.262810.0011
Template processing0.00084.357110.0008
Override
Cache load0.00084.527610.0008
General
dbfile0.00021.336180.0000
String conversion0.00000.042340.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