Forums / Install & configuration / Memory Usage + Database Configuration

Memory Usage + Database Configuration

Author Message

Shai Tung Li

Friday 26 December 2003 10:20:12 pm

Hello,

I just installed eZ-publish 3.3-1. I'm running:
FreeBSD 5.1-release
Apache 2.0.48
PHP 4.3.4
PostgreSQL 7.4.1

In order to get eZ-publish to run, I had to edit php.ini to increase memory_limit to 12M (from 8M).

First: Is this expected? That seems like a lot of memory.

Second: If this is expected, it would probably be a good idea to make a note of this in the installation documentation. I'm no PHP guru and figuring this out took me quite a while, and during that time eZ-publish didn't make a very good impression.

ALSO:

I followed the instructions per setting up the database ... but when I got to the screen where it asked for the database name, it said the database already contained data. I told it to delete the data and it worked ... but why did it give me this message?

Shai Tung Li

Friday 26 December 2003 10:33:39 pm

Whoops ... turns out it needs even more memory in the admin interface. Doubling memory_limit to 24M seems to have worked.

Paul Borgermans

Saturday 27 December 2003 2:40:25 am

You may need even more memory in other situations.

For a large server where also large pdf files need to be indexed, I had to raise the memory to 128MB

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Balazs Halasy

Saturday 27 December 2003 2:44:54 am

Regarding memory_limit in PHP:
Yeah, the required limit is around 12-16 MB. I thought we added this to the install doc a while ago - maybe not.. hmm, I'll take a look and add it if its not there. Anyway, 12 MB (or in some special cases 16 MB) is required, yes.

You shouldn't need 24 MB. Sometimes eZ publish needs a bit more than 12 MB the first time it is run. But this is a one-time-only phenomenon. I believe you need max 16 MB when running "normally" - try to decrease the memory_limit again.

Regarding the database:
If the database is empty and the setup still insists on erasing it then simply do it. Could be a bug in the setup wizard. We'll have a look at it. Thanks for pointing this out.

Balazs

Balazs Halasy

Saturday 27 December 2003 3:04:39 am

The memory requirement information was missing - I've added it to the docs now:

http://ez.no/developer/ez_publish_3/documentation/installation/normal_installation/requirements_for_doing_a_normal_installation

Again, thanks for telling.

Balazs

eZ debug

Timing: Jan 19 2025 01:14:25
Script start
Timing: Jan 19 2025 01:14:25
Module start 'content'
Timing: Jan 19 2025 01:14:25
Module end 'content'
Timing: Jan 19 2025 01:14:25
Script end

Main resources:

Total runtime0.1584 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.0058 589.0781180.8203
Module start 'content' 0.00580.0047 769.898497.9297
Module end 'content' 0.01050.1478 867.8281527.0781
Script end 0.1584  1,394.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00342.1510200.0002
Check MTime0.00140.9096200.0001
Mysql Total
Database connection0.00060.361810.0006
Mysqli_queries0.113071.34071410.0008
Looping result0.00130.79021390.0000
Template Total0.147493.010.1474
Template load0.00080.493610.0008
Template processing0.146692.534710.1466
Override
Cache load0.00060.349110.0006
Sytem overhead
Fetch class attribute can translate value0.00130.813610.0013
XML
Image XML parsing0.00020.150810.0002
General
dbfile0.00332.1144200.0002
String conversion0.00000.004430.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