memory issue with eZ3.7 on 64bit linux?

Author Message

Patrizio Bekerle

Thursday 09 February 2006 3:11:52 am

Our server is a 64bit dual opteron 2.6.13-15.7-smp (4 GB ram) with SuSE10, php 4.4.0-6 (tried 4.4.2 too), apache2-2.0.54-10.3 and mysql-4.1.13-3.2.
I use eZPublish 3.7.3 (never tried anything else on this server) and experience heavy memory problems.
In the php.ini I had to set a memory limit of at least 64MB to not get a "Allowed memory size of XXX bytes exhausted" every time. Same on the cli version of php for cronjobs. The very same cronjob which needs only a few MB memory limit on other machines eats like 50MB on this box.
Anyone who can confirm my problem?

It seams there is no such problem with eZP 2.2.7 pages on this server.

cheers, Patrizio

Gabriel Ambuehl

Friday 10 February 2006 1:07:46 am

Well considering that 64bit code uses somewhere from more to much much more memory (but probably no more than double) that could very well be true. Personally I've set PHP memory limit to 64mb even on a 32bit system. Memory is cheap and eZ likes lots of it so why bother restricting it... (on that machine of yours, you will hardly run out of memory even with 64mbit anytime soon)

Visit http://triligon.org

Patrizio Bekerle

Friday 10 February 2006 3:17:25 am

Hm, but eating more than 10 times as much ram has to be a bug. The question is where... :-/

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

Main resources:

Total runtime0.0224 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.0103 587.9297152.6250
Module start 'layout' 0.01030.0033 740.554739.4453
Module start 'content' 0.01370.0065 780.000089.1953
Module end 'content' 0.02010.0022 869.195330.3047
Script end 0.0224  899.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003114.0606140.0002
Check MTime0.00135.9008140.0001
Mysql Total
Database connection0.002410.573210.0024
Mysqli_queries0.003515.845930.0012
Looping result0.00000.089410.0000
Template Total0.00177.810.0017
Template load0.00094.165610.0009
Template processing0.00083.567310.0008
Override
Cache load0.00073.009510.0007
General
dbfile0.00031.411680.0000
String conversion0.00000.036240.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