Hipo & Squix Server

We are having a problem getting Hipo to work with the squiz server (MSM 3.12.0) for some jobs such as changing asset status or purging trash. It works well for deleting assets.


When purging trash hipo stops at 33%



We have set our memory limit both in php.ini and main.inc to 16m yet we still the error log below is refering to the 8m memory limit being exhausted:






    [2007-01-30 14:30:23][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1500) - Forcing Abort of HIPO Job [HIPO0046]
    [30-Jan-2007 14:30:41] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /var/www/htdocs/fudge/general/datetime.inc on line 619
    [2007-01-30 14:30:58][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1484) - HIPO Server Error : No TaskID Supplied or invalid TaskID [HIPO0048]
    [2007-01-30 14:30:58][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1500) - Forcing Abort of HIPO Job [HIPO0046]
    [30-Jan-2007 14:32:03] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /var/www/htdocs/core/lib/html_form/html_form.inc on line 1252
    [2007-01-30 14:33:04][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:494) - A HIPO Job with this code name is currently run by "Root User" (Id: #12)
    . last updated at 30/01/2007 14:32:03 [HIPO0041]
    [2007-01-30 14:33:12][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1484) - HIPO Server Error : No TaskID Supplied or invalid TaskID [HIPO0048]
    [2007-01-30 14:33:12][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1500) - Forcing Abort of HIPO Job [HIPO0046]
    [2007-01-30 14:34:56][12:Root User][1024:mysource notice][R] (/core/assets/site/site.inc:543) - No Index Page Set for Site "wezman" (Id #44) [CORE0065]
    lxpm001web:/var/www/htdocs/data/private/logs# cat err0r.log
    cat: err0r.log: No such file or directory
    lxpm001web:/var/www/htdocs/data/private/logs# cat error.log
    [2007-01-30 14:30:23][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:734) - HIPO Server Error : Invalid TaskID supplied, or task is dead [HIPO0048]
    [2007-01-30 14:30:23][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1484) - HIPO Server Error : No TaskID Supplied or invalid TaskID [HIPO0048]
    [2007-01-30 14:30:23][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1500) - Forcing Abort of HIPO Job [HIPO0046]
    [30-Jan-2007 14:30:41] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /var/www/htdocs/fudge/general/datetime.inc on line 619
    [2007-01-30 14:30:58][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1484) - HIPO Server Error : No TaskID Supplied or invalid TaskID [HIPO0048]
    [2007-01-30 14:30:58][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1500) - Forcing Abort of HIPO Job [HIPO0046]
    [30-Jan-2007 14:32:03] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /var/www/htdocs/core/lib/html_form/html_form.inc on line 1252
    [2007-01-30 14:33:04][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:494) - A HIPO Job with this code name is currently run by "Root User" (Id: #12)
    . last updated at 30/01/2007 14:32:03 [HIPO0041]
    [2007-01-30 14:33:12][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1484) - HIPO Server Error : No TaskID Supplied or invalid TaskID [HIPO0048]
    [2007-01-30 14:33:12][12:Root User][512:mysource warning][R] (/core/hipo/hipo_job.inc:1500) - Forcing Abort of HIPO Job [HIPO0046]
    [2007-01-30 14:34:56][12:Root User][1024:mysource notice][R] (/core/assets/site/site.inc:543) - No Index Page Set for Site "wezman" (Id #44) [CORE0065]


Please advise what could be wrong.

The php.ini that you may have edited might have been the one used for your Apache installation, rather than your CLI installation. If they have been set up properly, they will probably have different php.ini files.


Or, the simplest way (assuming the CLI has been compiled to allow dynamic memory management, which is usually the case), and the way we usually do it, is to define the memory limit in your server.conf file, before the server definitions - for example, the line:


    ini_set('memory_limit', '32M');


...would allow Squiz Server to use 32M of memory.

Hope this helps somewhat.

Wondering if this solution solved problem?


I am having the same problem with HIPO getting to 33%, have not checked logs though.



Thanks.