Koozali.org: home of the SME Server

help me [ALERT] IMAP4rev1 server crashing: Out of memory

Luis A. Navas

help me [ALERT] IMAP4rev1 server crashing: Out of memory
« on: November 14, 2002, 10:25:24 PM »
Hello to all, I have a serious problem when a user try to read his mail from webmail, the messages is not display and an error apears on the screen as following [ALERT] IMAP4rev1 server crashing: Out of memory, the server is a Pentium Iv 1.8ghz 256Mb RAM 18Gb HD, how I can resove this problem

Thankyou in advance

Luis

Lloyd Keen

Re: help me [ALERT] IMAP4rev1 server crashing: Out of memory
« Reply #1 on: November 15, 2002, 02:44:00 AM »
Hi Luis,
That user more than likely has had a fairly large e-mail sent to his mailbox. To fix this problem you will need to look in the users mail directory (/home/e-smith/files/users/problem_user/Maildir/cur/) and have a look for a fairly large file delivered around the same time he got the error message, then move it or delete it.

Lloyd Keen

Re: help me [ALERT] IMAP4rev1 server crashing: Out of memory
« Reply #2 on: November 15, 2002, 02:56:29 AM »
Luis,
Another thing, if it was the user that was trying to send this large file it may have also crashed qmail. Just check to make sure that qmail is running with:
#service qmail status
If qmail is not running try the following:
To delete message from queue:
1. tail /var/log/qmail/current
2. find msg id of message you want to remove
3. delete message id from folder in /var/qmail/queue/mess
4. pkill qmail-remote
5. service qmail restart

Luis A. Navas

Re: help me [ALERT] IMAP4rev1 server crashing: Out of memory
« Reply #3 on: November 15, 2002, 03:26:32 AM »
Thank you for your help Lloyd.

Charlie Brady

Re: help me [ALERT] IMAP4rev1 server crashing: Out of memory
« Reply #4 on: November 15, 2002, 06:51:18 AM »
Lloyd Keen wrote:

> Another thing, if it was the user that was trying to send
> this large file it may have also crashed qmail.

qmail very rarely crashes, and in any case, in all recent versions of SME server, qmail is run under "supervise" from the daemontools package, and will be automatically restarted.

> 5. service qmail restart

We have never advised use of the "service" program, and I have a number of times advised against its use. If you feel you must do anything, please use the symlinks in /etc/rc7.d, e.g.  in this case, /etc/rc.d/rc7.d/S80qmail.

Regards

Charlie

Chris Gray

Re: help me [ALERT] IMAP4rev1 server crashing: Out of memory
« Reply #5 on: August 06, 2003, 12:15:13 AM »
Thanks guys..  You saved my bacon.  I got this problem too. With your great advice, I solved it!

Thanks again.