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.