Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Luis A. Navas 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
-
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.
-
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
-
Thank you for your help Lloyd.
-
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
-
Thanks guys.. You saved my bacon. I got this problem too. With your great advice, I solved it!
Thanks again.