Forums / Install & configuration / PHP Accelerator: Installed and now -> Probs

PHP Accelerator: Installed and now -> Probs

Author Message

Mark Mollerus

Sunday 05 March 2006 4:22:03 pm

Hey @ll,

i have installed the PHP Accelerator ( ionCube PHP Accelerator ) so my eZ-System run faster.

Now i cant login: At one eZ i get a Error Message:

Fatal error: Allowed memory size of 44040192 bytes exhausted (tried to allocate 279660 bytes) in /var/www/web1/html/hosting/wikicity/ez/var/news/cache/template/compiled/show_content_structure-ec434c4502a2a55ebcedd1dc639ace0d.php on line 1414
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

On another i get a blank white site, after login in the admin-panel ( there are running 4 eZ´s on one Server )

I don´t know what i shoud or hae to do. Can you help me?

Greetings
Mark

Ɓukasz Serwatka

Sunday 05 March 2006 11:18:29 pm

Hi Mark,

You can increase amount of memory for PHP script in php.ini configuration file.

memory_limit = 64M

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

Mark Mollerus

Monday 06 March 2006 5:50:12 am

The Script Memory Limit is 42 MB.

Is that not enough?

Mark Mollerus

Monday 06 March 2006 11:43:48 am

ok, i have changed the script size, but one eZ-System doesn´t run:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 279660 bytes) in /var/www/web1/html/hosting/wikicity/ez/var/news/cache/template/compiled/show_content_structure-ec434c4502a2a55ebcedd1dc639ace0d.php on line 1414

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /var/www/web1/html/hosting/wikicity/ez/lib/ezdb/classes/ezdb.php on line 132

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 154 bytes) in Unknown on line 0

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

Kristof Coomans

Monday 06 March 2006 11:07:13 pm

Try to limit the size of the content structure menu by modifying some settings in contentstructuremenu.ini, these are by default:

[TreeMenu]
# which classes to show
ShowClasses[]

# max depth to fetch
# "0" means unlimited
MaxDepth=0

# max nodes count to fetch
# "0" means unlimited
MaxNodes=0

If you have template compilation enabled, you can first run the command line template compiler (bin/php/eztc.php) for the admin siteaccess, before you enter the admin site.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Mark Mollerus

Wednesday 08 March 2006 10:08:35 am

it does´t run

If i run the bin/php/eztc.php i get errors:

#!/usr/bin/env php
Warning: main(lib/ezutils/classes/ezcli.php): failed to open stream: No such file or directory in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 37

Warning: main(): Failed opening 'lib/ezutils/classes/ezcli.php' for inclusion (include_path='.:/usr/share/pear/') in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 37

Warning: main(kernel/classes/ezscript.php): failed to open stream: No such file or directory in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 38

Warning: main(): Failed opening 'kernel/classes/ezscript.php' for inclusion (include_path='.:/usr/share/pear/') in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 38

Fatal error: Undefined class name 'ezcli' in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 40

If i delete the show_content_structure-ec434c4502a2a55ebcedd1dc639ace0d.php, there is no reason.

What should i do?

Kristof Coomans

Wednesday 08 March 2006 10:15:09 am

Are you running it from the root dir of your eZ installation?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Mark Mollerus

Wednesday 08 March 2006 10:29:50 am

The System is installed on http://www.wikicity.de/ez and i tried to call http://www.wikicity.de/ez/bin/php/eztc.php

Kristof Coomans

Wednesday 08 March 2006 11:06:14 pm

bin/php/eztc.php is a command line script, so try call it from the command line ;) Your current working directory has to be your eZ publish root dir (otherwise the script won't be able to find some needed include files).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

eZ debug

Timing: Jan 31 2025 08:03:08
Script start
Timing: Jan 31 2025 08:03:08
Module start 'content'
Timing: Jan 31 2025 08:03:08
Module end 'content'
Timing: Jan 31 2025 08:03:08
Script end

Main resources:

Total runtime0.1543 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.0703180.8203
Module start 'content' 0.00670.0077 768.8906106.0859
Module end 'content' 0.01440.1399 874.9766534.8750
Script end 0.1543  1,409.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00342.1752200.0002
Check MTime0.00130.8623200.0001
Mysql Total
Database connection0.00080.517010.0008
Mysqli_queries0.101465.72921410.0007
Looping result0.00110.70321390.0000
Template Total0.139590.410.1395
Template load0.00080.545510.0008
Template processing0.138689.806710.1386
Override
Cache load0.00060.368610.0006
Sytem overhead
Fetch class attribute can translate value0.00080.491710.0008
XML
Image XML parsing0.00020.154810.0002
General
dbfile0.01318.4776200.0007
String conversion0.00000.004630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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