Michael / Eric,
I will stop and start qmail with only the MAXDAEMONS=40 bumped up to
MAXDAEMONS=50 and see if the problem comes back.
Thanks,
Dave

Eric Shubert wrote:
> I don't believe so. Restarting qmail does not restart courier/imap.
> You'd need to either stop qmail and start it again, or do the commands
> that are in the qmail-spam and qmail-clamav scripts, except substitute
> imap4 (and imap4-ssl).
>
> Michael Colvin wrote:
>> Will restarting just Qmail pick up those changes?
>>
>>  
>>
>>  
>>
>> **Michael J. Colvin**
>>
>> **NorCal Internet Services**
>>
>> **//www.norcalisp.com// <http://www.norcalisp.com/>**
>>
>>  
>>
>> <http://www.norcalisp.com/>
>>
>>  
>>
>> ------------------------------------------------------------------------
>>
>> *From:* Dave Hallowell [mailto:[email protected]]
>> *Sent:* Monday, March 01, 2010 12:37 PM
>> *To:* [email protected]
>> *Subject:* Re: [qmailtoaster] Re: squirrelmail/imap issue
>>
>>  
>>
>> So I bumped up the MAXDAEMONS=50 and restarted qmail.  About four
>> hours later, I have 43 imapd processes running and getting new mail
>> results in a timeout on thunderbird. I killall imapd processes, and
>> can get emails immediately. I noticed there is also a MAXPERIP=4 and
>> I bumped it up to MAXPERIP=6 and restarted qmail. See if that works.
>> Dave
>>
>> Dave Hallowell wrote:
>>
>> Jake,
>> Ah ha.  I see MAXDAEMONS=40. How'd I miss that? Okay, I'll bump it up
>> and see what happens. Any suggestions on the number or just trial and
>> error?
>> Thanks Jake.
>> Dave
>>
>> Jake Vickers wrote:
>>
>> On 03/01/2010 10:23 AM, Dave Hallowell wrote:
>>
>> 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 ---------
>>
>>
>>
>> Have you looked at the imapd config and ensured the MAXDAEMONS is set
>> high enough?
>>
>> ---------------------------------------------------------------------------------
>> Qmailtoaster is sponsored by Vickers Consulting Group
>> (www.vickersconsulting.com <http://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]
>> <mailto:[email protected]> For
>> additional commands, e-mail: [email protected]
>> <mailto:[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