Helmut,
I recently ran into this problem with imap timing out.  I don't use squirrelmail much, but I was getting timeouts using thunderbird when trying to send and receive from imap email accounts.  I read a post on this list about timeouts when the number of imap processes reached a certain number.  In my case, when I had the smtp timeouts, I would run from the command line
# ps -ef | grep imapd | wc -l
and it would always return 43 processes when I was having problems. 42 processes, everything ran fine. When I had 43 imapd processes running and experiencing issues, I would run this from the command line.
# /usr/bin/killall -9 imapd
this would kill all the current imapd processes and sending and receiving email resumed properly.
I am running Centos4.8 and I haven't done an update for several months. Still running qmail-toaster-1.03-1.3.18.
I also analyzed, checked, and repaired my vpopmail database but this did not solve this issue.
So until I can figure out what is really causing this, I wrote a little script that runs from cron every 5 minutes and if there are more than 42 imapd processes running, it kills them. Here is the script if you wish to use it.
------ snip -----------
DT=`date`
KILLIT="/usr/bin/killall -9 imapd"
PID=`ps -ef | grep imapd | wc -l`
if [ $PID -gt 42 ]
then
#echo "too high"
echo $DT >> /oper/kill.log
echo $PID >> /oper/kill.log
$KILLIT > /dev/null 2>&1
fi
----- snip ---------

Hope this helps until a permanent solution is found.
Dave

Helmut Fritz wrote:
Jake,
I am pretty sure it is not a dns issue.  This only happens occasionally, and
not all the time.  The DNS server is hosted by the same machine, and I run
the server and zones.  No changes, so nothing to look for there.  But maybe.

If it happens again I will be sure to check the load on the server, but this
machine never goes above 10% utilization.  I will take a more holistic look
at this next time it happens.

Thx.

Helmut 

-----Original Message-----
From: Jake Vickers [mailto:[email protected]] 
Sent: Friday, February 26, 2010 7:40 PM
To: [email protected]
Subject: Re: [qmailtoaster] Re: squirrelmail/imap issue

On 02/26/2010 07:50 PM, Helmut Fritz wrote:
  
Thx Eric.  52 sent and 61 inbox.  Just logged into it now and it was 
fast, even sending with no error.  Maybe just an internet thing 
(although that should not lead to am imap disconnection?).  It did do 
this once before, and a reboot of the server cleared it up.
   
    

Sounds like maybe a DNS issue.


----------------------------------------------------------------------------
-----
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
----------------------------------------------------------------------------
-----
     Please visit qmailtoaster.com for the latest news, updates, and
packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail:
[email protected]




---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail: [email protected]


  
--------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

Reply via email to