Squiz Server Problem

We currently have the SQUIZ server installed with out 3.12.0 installation of Matrix.


When I try to do something that uses the HIPO process (and therefore the SQUIZ Server) I get a HIPO ERROR (HIPO job was not completed) error message.



At the server end of things I get the following written to the command line from the squiz server:


    [28-Feb-2007 14:29:27] Process hipo_job for griffith (connected from 127.0.0.1:42198)
    [28-Feb-2007 14:29:27] Forked PID : 11552 -> Task ID : 99d27125a27ceb7441b1457d47199b97
    [28-Feb-2007 14:29:28] Reaped PID : 11552 -> Removed Task : 99d27125a27ceb7441b1457d47199b97


The server is starting fine, and is visible to matrix when it starts hipo jobs.....it just can't finish them and I cannot find an error message being written anywhere...

Open to all suggestions..
Anthony :blink:

Errors will be logged to the default Matrix error.log at:


/path/to/matrix/data/private/logs/error.log



Edited to add that I suspect you're running out of memory. Check:



/path/to/squiz_server/bin/start_server.php



And adjust the memory limit appropriately.

[quote]Errors will be logged to the default Matrix error.log at:


/path/to/matrix/data/private/logs/error.log



Edited to add that I suspect you’re running out of memory. Check:



/path/to/squiz_server/bin/start_server.php



And adjust the memory limit appropriately.

[right][post=“14959”]<{POST_SNAPBACK}>[/post][/right][/quote]





There are no error messages associated with this HIPO action recorded in the error log file you indicated…



I am also getting the following message to command line:


    [28-Feb-2007 15:00:19] Process hipo_job for griffith (connected from 127.0.0.1:46753)
    [28-Feb-2007 15:00:19] Forked PID : 12112 -> Task ID : f0a2a023a58550b54e337aa5f5fd8c5a
    Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)
    [28-Feb-2007 15:00:20] Reaped PID : 12112 -> Removed Task : f0a2a023a58550b54e337aa5f5fd8c5a


As you can see the job is stopped within a second of it starting......

Squiz Server does not seem happy with something, but we cannot determine what.

A

If you did not set an explicit memory limit for the Squiz Server, it will use the default amount of PHP memory, which is usually 8 MB - which we find is not enough for Matrix's web system and is probably not enough for the Squiz Server either (as it accesses the Matrix system directly). This is why you are getting the out-of-memory message being printed at the command line.


So you will probably need to explicitly set a memory limit for Squiz Server. I usually add the memory limit setting to the server.conf file, before or after the server definition(s). Otherwise it can live near the top of the bin/start_server.php script. It should look something like this:


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


Where '32M' is your memory limit. I'm not sure what is the recommended value is for Squiz Server to work with, but two possible approaches are:
- use the same memory limit as your Matrix system, or
- try starting with 16 MB ('16M') and then increasing it in 16 MB increments if that is not enough.

LEGEND!!!


Thanks this has done the trick…>I made the memory limit (128M) as we have ample RAM on the production server.



Thanks,

Anthony

:stuck_out_tongue: