From: "Dave Ellsworth" <[EMAIL PROTECTED]>

> I attmempted to setup supervise with pop3d, however all it does is eat up a
> lot of cpu when it's running

Which probably means that supervise is constantly trying to start the process
but it is failing to run for some reason.  I you followed LWQ you can check it
with:

bash-2.04# cd /var/qmail/supervise; svstat * */log
qmail-pop3d: up (pid 2799) 273304 seconds
qmail-send: up (pid 14801) 273304 seconds
qmail-smtpd: up (pid 20799) 273303 seconds
qmail-pop3d/log: up (pid 23902) 273303 seconds
qmail-send/log: up (pid 17984) 273303 seconds
qmail-smtpd/log: up (pid 4371) 273303 seconds

If any of the processes are at 0 seconds you have a problem.

> the ones for smtpd and qmail-send work fine, I set them up the same way, I
> del the sym link and kill the supervise when I notice it is using most of
> the cpu
> the following is my run file in the qmail-pop3d directory

Compare the syntax and permissions on your files with mine. (I am using OpenBSD
2.8 hence the group wheel) I see discrepancies on the last line in each of your
files.

> #!/bin/sh
> exec /usr/local/bin/softlimit -m 2000000 \
>         tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup \
>         solarhosting.net /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qmail-pop3d Maildir \ 2>&1 &

-rwxr-xr-x  1 root  wheel  193 Apr 26 19:40
/var/qmail/supervise/qmail-pop3d/run*
on 4 lines
#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
tcpserver -l0 -v -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
updegrove.net /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

> this is the log run
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s2500000
> /var/log/qmail/qmail-pop3d

-rwxr-xr-x  1 root  wheel   79 Apr 10 21:00
/var/qmail/supervise/qmail-pop3d/log/run*
1 line
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill multilog t /var/log/qmail/pop3d

Hope that helped


Rick Up





Reply via email to