PDA

View Full Version : What is "supervise log" process?



Fli
09-05-2014, 03:24 PM
Hi, i want to ask what is supervise and why these processes use quite high hard disk operations (I/O)?

http://internetlifeforum.com/attachment.php?attachmentid=157&stc=1

at the beginning there is a TID value, so i did:

lsof -p 715088

result:


COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEsupervise 715088 root cwd DIR 0,23 4096 9410479 /vz/root/190/var/qmail/supervise/authlib/log
supervise 715088 root rtd DIR 0,23 4096 9404419 /vz/root/190
supervise 715088 root txt REG 0,23 20592 21824429 /vz/root/190/usr/bin/supervise
supervise 715088 root mem REG 253,0 21824429 /vz/root/190/usr/bin/supervise (path dev=0,23)
supervise 715088 root mem REG 253,0 9412749 /vz/root/190/lib64/ld-2.5.so (path dev=0,23)
supervise 715088 root mem REG 253,0 9412676 /vz/root/190/lib64/libc-2.5.so (path dev=0,23)
supervise 715088 root 0r FIFO 0,6 0t0 2537404618 pipe
supervise 715088 root 1u CHR 1,3 0t0 13277416 /vz/root/190/dev/null
supervise 715088 root 2u CHR 1,3 0t0 13277416 /vz/root/190/dev/null
supervise 715088 root 3r FIFO 0,6 0t0 2537404662 pipe
supervise 715088 root 4w FIFO 0,6 0t0 2537404662 pipe
supervise 715088 root 5w REG 0,23 0 26378334 /vz/root/190/var/qmail/supervise/authlib/log/supervise/lock
supervise 715088 root 6r FIFO 0,23 0t0 26378335 /vz/root/190/var/qmail/supervise/authlib/log/supervise/control
supervise 715088 root 7w FIFO 0,23 0t0 26378335 /vz/root/190/var/qmail/supervise/authlib/log/supervise/control
supervise 715088 root 8r FIFO 0,23 0t0 26378336 /vz/root/190/var/qmail/supervise/authlib/log/supervise/ok

so it appears supervise is a qmail (http://www.lifewithqmail.org/lwq.html) thing


If you run qmail or qmail-smtpd under supervise

supervise, which monitors a service and restarts it if it dies.

If you're logging to a supervised log service