Forums / Developer / while deploying the website , getting errors as Unable to allocate memory for pool.

while deploying the website , getting errors as Unable to allocate memory for pool.

Author Message

Romeo Antony

Friday 10 December 2010 1:43:00 am

While deploying the website, keeps getting error messages as Unable to allocate memory for pool.

I have the same configuartion for apache,php and mysql in developing mechineas well as in the production environment.

Debug output shows, Unable to allocate memory for pool in following files

in ezpublish/autoload.php on line 101
in ezpublish/lib/ezutils/classes/ezini.php on line 467
in ezpublish/lib/eztemplate/classes/eztemplate.php on line 1923

1.Installed a ezpublish in production environment.

2. Removed the existing database of ezpublish and uploaded the databse of the developed site.

3. changed the site.ini settings in override , siteaccess.(for db settings,var dir,site access,design)

4. Copied the var directory.(var/autoload,var/storage,var/storagedir/storage)

5. Copied the custom extensions into extension directory.

Every settings seems to be correct. I think , I am missing something. Or should I use ezdeploy extension to deploy the site

Can anyone please help me.

Romeo.

Gaetano Giunta

Friday 10 December 2010 2:36:38 am

Sounds like an error in your apc/xcache/eaccelerator config

Principal Consultant International Business
Member of the Community Project Board

Romeo Antony

Friday 10 December 2010 4:38:26 am

I would like to use ez deploy extension . I have a few doubts. Can anyone please do favour(missing docs is the main problem) .

To deploy website from developing mechine to production mechine.

If I use ez deploy extension , should I install ezpublish in developed mechine ?.

Or ezdeploy will copy my developed site into production mechine. For that I should install ez deploy only in developing mechine?

in configuration file => sync.ini.append.php

[ProductionSyncSettings]

Dir=/var/www/production //this means rsync will place ezpublish direcotry into remote directory in production environment (in the var/www directory )?

Host=www.mysite.com // remote server where to deploy the developed site.

User=Myuser // Myuser is ssh user who has write permission in production directory in remote erver www.mysite.com

Or

Do I need to install ezpublish in production environment and intsatll the ezdeploy in production mechine and developing mechine to syncronise the files .?

Sorry for asking too many questions . I am independent developer.Alone in the developing world.

Any help will be really appreciable.

Regards

Romeo.

eZ debug

Timing: Jan 30 2025 19:41:50
Script start
Timing: Jan 30 2025 19:41:50
Module start 'content'
Timing: Jan 30 2025 19:41:50
Module end 'content'
Timing: Jan 30 2025 19:41:50
Script end

Main resources:

Total runtime0.3408 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 588.3125370.2500
Module start 'content' 0.00860.0121 958.56251,005.6875
Module end 'content' 0.02070.3200 1,964.25003,894.8984
Script end 0.3407  5,859.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00481.4199200.0002
Check MTime0.00140.3973200.0001
Mysql Total
Database connection0.00080.245310.0008
Mysqli_queries0.239470.24111410.0017
Looping result0.00170.49591390.0000
Template Total0.319793.810.3197
Template load0.00080.233010.0008
Template processing0.318993.583510.3189
Override
Cache load0.00050.161110.0005
Sytem overhead
Fetch class attribute can translate value0.00200.599010.0020
XML
Image XML parsing0.00030.088910.0003
General
dbfile0.00501.4646200.0002
String conversion0.00000.001430.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.0002 secs