Re: [vchkpw] 90% CPU in vchkpw
Ken Jones wrote: > Tune your /etc/my.cnf file > I dont use MySQL, Ken well, I delayed a little bit to answer beacause I taught I had solved it... but I was wrong n I am still worried about.. the vchkpw continues eating my CPU. in the hope someone helps me, I think I figured out somethings. 1 - my ps output when the was busy: root 171 0.0 0.0 1276 296 ?SOct31 0:00 \_ supervise qmail-pop3d root 22995 0.0 0.0 1844 648 ?SNov01 0:00 | \_ /usr/local/bin/tcpserver -v -H -R 0 pop3 /usr/local/qmail/bin/qmail-popup emater.tche.br /usr/local/vpopmai root 17710 0.0 0.0 1276 288 ?SNov04 0:00 | \_ /usr/local/qmail/bin/qmail-popup emater.tche.br /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qma root 17711 0.0 0.0 1600 536 ?DNov04 0:00 | \_ /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d Maildir root 17712 99.8 0.0 1600 536 ?RNov04 744:49 | \_ /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d Maildir as u can see, (if the asc art let u see:) the overloaded process is child of another vchkpw process, not of my qmail-popup, called from /service/qmail-pop3d/run script. Is it normal? wouldn't be a qmail-popup child? As long as I know, my run script is working fine... 2 - I made a script to catch both last log lines and ps output when server gets a hungry vchkpw process. the scripts output: Nov 4 20:06:20 server vpopmail[17711]: vchkpw: login success [EMAIL PROTECTED]:200.227.122.250 root 17712 98.9 0.0 1600 536 ? R 20:06 2:40 /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d Maildir The the user ip address is external, from an ISP. At this time, the user was at home and is exacly the same time the server become busy. There is a problem related to some configuration file, perhaps my tcp.smtp file? My tcp.smtp file has just tree lines: my external network, the internal one and the localhost. some guru wants help a poor and lost soul? :) TIA -- Gustavo -- * "When I was born..the doctor came out to the waiting room and said to my father...I'm very sorry. We did everything we could...but he pulled through." -- On Tuesday 29 October 2002 1:58 pm, Luís Gustavo Facioni Barcellos wrote: I have a qmail 1.0.3, daemontools 0.76, qmail-scanner 1.12 with mcafee, vpopmail 5.2.1 and sqwebmail 3.3.4 in a brand new Slackware 8.1 box. Its all running fine, but sometimes the server stops authenticating. The top shows a vchkpw process consuming more then 90% CPU and I get a *server busy* on client.
Re: [vchkpw] 90% CPU in vchkpw
Hi, Justin, well, there's no one more simple :) the most options are *no* by default, so I just use: ./configure --enable-qmaildir=/usr/local/qmail thanks, Gustavo Luis, which options did you use when compiling vpopmail? top shows a vchkpw process consuming more then 90% CPU and I get a *server busy* on client. #!/bin/sh env - PATH="/usr/local/qmail/bin:/usr/local/bin" MAXCON=40 exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -H -R -c "$MAXCON" 0 pop3 \ /usr/local/qmail/bin/qmail-popup mydomain.here.com \ /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d Maildir 2>&1
Re: [vchkpw] 90% CPU in vchkpw
On Tuesday 29 October 2002 21:22, Brad Dameron wrote: > What does "softlimit" do? it limits the ammount of memory the process may use. in this case about 2MB ram. Luis, which options did you use when compiling vpopmail? > > > -Original Message- > > From: Luis Gustavo Facioni Barcellos [mailto:lbarcellos@;emater.tche.br] > > Sent: Tuesday, October 29, 2002 11:58 AM > > To: [EMAIL PROTECTED] > > Subject: [vchkpw] 90% CPU in vchkpw > > > > > > Hi, all > > > > I have a qmail 1.0.3, daemontools 0.76, qmail-scanner 1.12 with mcafee, > > vpopmail 5.2.1 and sqwebmail 3.3.4 in a brand new Slackware 8.1 box. > > > > Its all running fine, but sometimes the server stops authenticating. The > > top shows a vchkpw process consuming more then 90% CPU and I get a > > *server busy* on client. > > > > my qmail-pop3/run script: > > #!/bin/sh > > env - PATH="/usr/local/qmail/bin:/usr/local/bin" > > MAXCON=40 > > exec /usr/local/bin/softlimit -m 200 \ > > /usr/local/bin/tcpserver -v -H -R -c "$MAXCON" 0 pop3 \ > > /usr/local/qmail/bin/qmail-popup mydomain.here.com \ > > /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d > > Maildir 2>&1 > > > > Someone could tell where do I start to fix it? > > > > TIA > > -- > > Gustavo > > -- > > * "Duct tape is like the Force. It has a light side, a dark side, and it > > holds the universe together." > > -- -- Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] 90% CPU in vchkpw
Brad Dameron writes: > What does "softlimit" do? http://cr.yp.to/daemontools/softlimit.html -- David Phillips <[EMAIL PROTECTED]> http://david.acz.org/
RE: [vchkpw] 90% CPU in vchkpw
What does "softlimit" do? --- Brad Dameron Network Account Executive TSCNet Inc. www.tscnet.com Silverdale, WA. 1-888-8TSCNET > -Original Message- > From: Luis Gustavo Facioni Barcellos [mailto:lbarcellos@;emater.tche.br] > Sent: Tuesday, October 29, 2002 11:58 AM > To: [EMAIL PROTECTED] > Subject: [vchkpw] 90% CPU in vchkpw > > > Hi, all > > I have a qmail 1.0.3, daemontools 0.76, qmail-scanner 1.12 with mcafee, > vpopmail 5.2.1 and sqwebmail 3.3.4 in a brand new Slackware 8.1 box. > > Its all running fine, but sometimes the server stops authenticating. The > top shows a vchkpw process consuming more then 90% CPU and I get a > *server busy* on client. > > my qmail-pop3/run script: > #!/bin/sh > env - PATH="/usr/local/qmail/bin:/usr/local/bin" > MAXCON=40 > exec /usr/local/bin/softlimit -m 200 \ > /usr/local/bin/tcpserver -v -H -R -c "$MAXCON" 0 pop3 \ > /usr/local/qmail/bin/qmail-popup mydomain.here.com \ > /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d > Maildir 2>&1 > > Someone could tell where do I start to fix it? > > TIA > -- > Gustavo > -- > * "Duct tape is like the Force. It has a light side, a dark side, and it > holds the universe together." > -- > > >
[vchkpw] 90% CPU in vchkpw
Hi, all I have a qmail 1.0.3, daemontools 0.76, qmail-scanner 1.12 with mcafee, vpopmail 5.2.1 and sqwebmail 3.3.4 in a brand new Slackware 8.1 box. Its all running fine, but sometimes the server stops authenticating. The top shows a vchkpw process consuming more then 90% CPU and I get a *server busy* on client. my qmail-pop3/run script: #!/bin/sh env - PATH="/usr/local/qmail/bin:/usr/local/bin" MAXCON=40 exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -H -R -c "$MAXCON" 0 pop3 \ /usr/local/qmail/bin/qmail-popup mydomain.here.com \ /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d Maildir 2>&1 Someone could tell where do I start to fix it? TIA -- Gustavo -- * "Duct tape is like the Force. It has a light side, a dark side, and it holds the universe together." --