Index: [Article Count Order] [Thread]

Date:  Tue, 24 Oct 2006 17:12:40 -0400
From:  "Christian Lappin" <clappin (at mark) axsne.com>
Subject:  [coba-e:07701] Re: HELP - excessive dovecot-auth
To:  <coba-e (at mark) bluequartz.org>
Cc:  <marcelo.caparroz (at mark) gmail.com>
Message-Id:  <000601c6f7b1$23d76ab0$6d0da8c0 (at mark) axsdom.local>
In-Reply-To:  <b0dc50f60610200645s516e44a7w82017c748caa136b (at mark) mail.gmail.com>
X-Mail-Count: 07701

Marcelo -  Thanks for the script. I really appreciate it. I have had a few days =wherethings have run fine with no issues. I did have a few more questions if =youcould be so kind as to lend a ear and provide an answer. I see in the script that you are referencing php mailok.php and phpmail.php. What are these and how do I get them? I have a defaul BQ load =andhave not done anyting with my dovecot config. Do I need to make changes =todovecot config? Is so then what? Also I would like to ask the group again if any ISP's out there or BQ =adminswith high user count how they are configured to prevent this auth =processissue that causes dovecot to hang. I need to get this figured out. I amassuming that when this script runs it will prevent people from logging =inbut get the process back within levels again? Thanks all!! -=-Christian    _____  From: Marcelo Caparroz [mailto:marcelo.caparroz (at mark) gmail.com] Sent: Friday, October 20, 2006 9:46 AMTo: coba-e (at mark) bluequartz.orgSubject: [coba-e:07653] Re: HELP - excessive dovecot-authScript to control the dovecot processes // The comments are in spanish if someone have some doubt, tell me.#!/bin/bash# Parametros (cantidad de dovecot en ejecucion,minino de dovecot para =volvera arrancar el servicio) # comprovar.sh 25 4while (sleep 3)do        if test `ps -ef | grep dovecot | wc | tr -s ' ' | cut -d ' ' =-f2`-gt $1        then                echo "Dovecot se esta ejecutando `ps -ef | grep dovecot =| wc| tr -s ' ' | cut -d ' ' -f2` veces";                 #b nos dira si el servicio esta arrancado.                if test `service dovecot status | grep running | wc | tr =-s' ' | cut -d ' ' -f2`  -eq 1                then                        service dovecot stop                         `php mail.php`                        #paramos servicio i ponemos b = false                fi        fi        if  test `ps -ef | grep dovecot | wc | tr -s ' ' | cut -d ' ' =-f2`-lt $2         then                echo "Todo bien, servicio arrancado.";                if test `service dovecot status | grep stopped | wc | tr =-s' ' | cut -d ' ' -f2`  -eq 1                then                        service dovecot start                         `php mailok.php`                        #Arrancamos el servicio i ponemos b =true                fi        fidone-------------------------------------I hope that it can help someone. 2006/10/19, Christian Lappin <clappin (at mark) axsne.com>: Marcelo  -- Could I PLEASE get a copy of that script you run? It would be a big helpuntil the problem gets fixed. I had to stop xinetd and dovcot then using =ps-aux I watched until the process went down to normal.  I started back up =theservices and all is fine. I have my xinetd at 600 which covers the users =andthe other services I would think? Any other help would be appreciated on this.     _____  From: Marcelo Caparroz [mailto:marcelo.caparroz (at mark) gmail.com] Sent: Thursday, October 19, 2006 3:59 AMTo: coba-e (at mark) bluequartz.orgSubject: [coba-e:07619] Re: HELP - excessive dovecot-authI have the same problem. The temporal fix is stop the dovecot service or the xinetd if it is =runningunder xinetd. I have made a script that check if the number of dovecotprocesses are above 28 so, they stop the service, keep checking and  =whenthe service is  below 9, start the service again. (DO NOT kill the =processesor a reboot will be needed) the service stops about 50 times at day, due my cpu load and number ofusers.The bad news guys is that it has no solution!!!!I ve been seeking for months and nothing in internet is really usefull =forthat. (if i am wrong, please tell me). After many and many analysis I ' ve figured out that itīs associated =withthe low capacity of BQ to process the users authentification and when =thereare many request at the same time, it just stop the authentification =processand the dovecot  go mad! I have made many test and observations, if someone want to talk about, =mailme, or skype me. Tks2006/10/18, Christian Lappin <clappin (at mark) axsne.com  =<mailto:clappin (at mark) axsne.com>>: Gerald -Yes in fact the server has been rebooted several times due to the fact =it will hang once the dovecot-auth sessions start to pile up. It seems like =Iam missing something in a config, but I do not know what or where. Like =Inoted the CPU does not go up. I end up with pages of dovecot-auth =processes that are stale or in a Sleeping state. Not Zombie, but "S" It seems to =methey are not clearing on their own since they are not current.-----Original Message-----From: Gerald Waugh [mailto: gwaugh (at mark) frontstreetnetworks.com]Sent: Wednesday, October 18, 2006 3:34 PMTo: coba-e (at mark) bluequartz.orgSubject: [coba-e:07612] Re: HELP - excessive dovecot-auth >> I tried increasing xinitd  to 600 but this has not helped.>> Xinetd config below:>> [root (at mark) marmailbq01 ~]# cat /etc/xinetd.conf # # Simple configuration> file for xinetd # # Some defaults, and include /etc/xinetd.d/ >> defaults> {>         instances               = 600>         log_type                = SYSLOG authpriv>         log_on_success          = HOST PID>         log_on_failure          = HOST >         cps                     = 25 30> }>> includedir /etc/xinetd.d>Did you?/etc/rc.d/init.d/xinetd restartGerald
	

7701_2.html (attatchment)(tag is disabled)