Forums / Install & configuration / memory exhaustion with multilingual site with 3.6.1

memory exhaustion with multilingual site with 3.6.1

Author Message

Stéphane Bullier

Thursday 01 September 2005 10:48:07 am

Hello,

I have some difficulties to run a multilingual site.

I installed ezpublish site on linux 2.6.8-1-386 (debian) with celeron 2.66Mhz and 512 RAM
using the wizard and selected only french language as primary.
Config :
ezpublish 3.6.1
apache 1.3.33-6 (debian)
mysql 4.0.24-10 (debian)
php 4.3.10-15 (debian)

I decide to add eng-US language on admin interface and make multilanguage site. I follow the instructions of post :
2 folders for each language

I would like your advise about my conf files :

settings/siteaccess/fr/site.ini.append.php

[SiteSettings]
SiteName=MySite
SiteURL=path/index.php/fr
LoginPage=embedded

[SiteAccessSettings]
RequireUserLogin=false
ShowHiddenNodes=false

[DesignSettings]
SiteDesign=fr-1.0
AdditionalSiteDesignList[]=base

[RegionalSettings]
Locale=fre-FR
HTTPLocale=fr
ContentObjectLocale=fre-FR

settings/siteaccess/us/site.ini.append.php

[SiteSettings]
SiteName=MySite
SiteURL=path/index.php/us
LoginPage=embedded

[SiteAccessSettings]
RequireUserLogin=false
ShowHiddenNodes=false

[DesignSettings]
SiteDesign=fr-1.0
AdditionalSiteDesignList[]=us-1.0
AdditionalSiteDesignList[]=base

[RegionalSettings]
Locale=eng-US
HTTPLocale=us
ContentObjectLocale=eng-US

settings/override/site.ini.append.php

[SiteSettings]
DefaultAccess=fr
SiteList[]
SiteList[]=fr
SiteList[]=us

[SiteAccessSettings]
CheckValidity=false
MatchOrder=uri
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
AvailableSiteAccessList[]
AvailableSiteAccessList[]=fr
AvailableSiteAccessList[]=us
AvailableSiteAccessList[]=cms

SiteAccessList[]
SiteAccessList[]=fr
SiteAccessList[]=us
SiteAccessList[]=cms

[RegionalSettings]
TextTranslation=enabled
TranslationCache=disabled

[ContentSettings]
TranslationList=fre-FR;eng-US
ViewCaching=disabled

After clean the cache, the process has very long. HTTPd daemon (apache) use all the RAM.

At the end, when I try to edit an article, I have :

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 256 bytes) in /var/virtual_www/path/htdocs/lib/ezi18n/classes/ezcharsetinfo.php on line 65
Fatal error: eZ publish did not finish its request

I even tryed to put the memory limit to 1024 Mo, with same results.

Thank you in avance for some help.

Stéphane

Jack Rackham

Thursday 01 September 2005 11:13:00 am

If you can try to upgrade to php 4.3.11, I think there was some bugs in the php 4.3.10 version.
Cud it be this.-.-.. Fixed bug #31444 (Memory leak in zend_language_scanner.c)..-.-.-
See: http://www.php.net/ChangeLog-4.php#4.3.11

Stéphane Bullier

Thursday 01 September 2005 11:24:45 am

Hi

Thank for your advise.
I'll try to upgrade.

Stéphane