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.

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 30 2025 22:22:37
Script start
Timing: Jan 30 2025 22:22:37
Module start 'layout'
Timing: Jan 30 2025 22:22:37
Module start 'content'
Timing: Jan 30 2025 22:22:37
Module end 'content'
Timing: Jan 30 2025 22:22:37
Script end

Main resources:

Total runtime0.0281 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.6250151.2734
Module start 'layout' 0.00440.0040 739.8984220.7734
Module start 'content' 0.00840.0184 960.67191,001.9141
Module end 'content' 0.02680.0013 1,962.585933.9766
Script end 0.0281  1,996.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00248.5332140.0002
Check MTime0.00103.4721140.0001
Mysql Total
Database connection0.00062.298110.0006
Mysqli_queries0.00238.100530.0008
Looping result0.00000.067910.0000
Template Total0.00103.510.0010
Template load0.00082.757910.0008
Template processing0.00020.726210.0002
Override
Cache load0.00061.960510.0006
General
dbfile0.00031.078280.0000
String conversion0.00000.028840.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