Page 1 of 1
CRISIS! Queue is LOADED
Posted: Mon Dec 13, 2010 10:15 am
by dougp23
My Scalix server is non-responsive. More than 220,000 messages are in the queue, almost all of them from "Do Not Reply at Fidelity INvestments", so we are getting mailbombed.
Anyway to fix this? I obviously cannot go into the queue manager and kill 5 messages at a time!
Very important!
Thank you.
Re: CRISIS! Queue is LOADED
Posted: Mon Dec 13, 2010 10:31 am
by PrisonMind
hi,
which queue? unix or local?
example for unix queue
Code: Select all
omstat -q UNIX | grep "Do Not Reply at Fidelity INvestments" | cut -d" " -f 1 | while read msgid
do
omstat -q UNIX -j -R -m $msgid
done
you could also add a new queue
and move the message to the new queue, clean up and move the "good ones" back
Re: CRISIS! Queue is LOADED
Posted: Mon Dec 13, 2010 10:49 am
by dougp23
Hmmm... I will try this!!
The problem is one that has been discussed in a previous thread:
queue.manager is gobbling 100% of CPU. More than 300,000 messages now in the "Internet Mail" queue. I am sure that the vast majority are garbage.
I just need to figure out how all those messages are getting past Postini!
Re: CRISIS! Queue is LOADED
Posted: Tue Dec 14, 2010 9:49 am
by les
dougp23 wrote:Hmmm... I will try this!!
The problem is one that has been discussed in a previous thread:
queue.manager is gobbling 100% of CPU. More than 300,000 messages now in the "Internet Mail" queue. I am sure that the vast majority are garbage.
I just need to figure out how all those messages are getting past Postini!
You can quieten the queue while you investigate/cleanup and stop the cpu being overloaded with the following:
If you have issues with the queue manager starting (happened on a site which ended up as an open relay and had literally thousands of messages) it can be nigh on impossible to talk to Scalix. You can stop the Queue Manager processing and reading messages in the queue on start by adding settings to the general.cfg file. From the Docs (Admin guide page 136)....
QM_DONT_READ_MSG_AT_START=FALSE
When set to TRUE, this option specifies that all messages currently in the Scalix queues remain stationary when Scalix is restarted. New messages are processed normally. Set this option to TRUE if a major problem is encountered when the queue manager attempts to read queued messages from disk when Scalix starts up. This allows Scalix to start. Set the option back to FALSE and restart Scalix when the problem is resolved.
QM_FAILURE_DELAY_SEC=seconds
Specifies the number of seconds between messages being retried by the queue manager. When a message fails to be processed because the process that was handling the message died, the queue manager delays the message for this number of seconds before retrying the message. The default is 30. See also QM_MAX_FAILURES