Re: size of supervise/ !
Otavio Exel <[email protected]> Tue, 4 Nov 2008 16:38:04 -0200
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Organization | Economatica Ltda |
| Message-ID | <[email protected]> |
Brian Reichert wrote: > The huge size may be from some large log file that's since been > deleted, no, it's not! the dir size grows slowly! I've "down"ed the axfrdns-ajato service; the size is the same as 3h ago: drwx--S--- 2 root 191082496 Nov 4 13:06 /service/axfrdns-ajato/supervise drwx--S--- 2 root 191082496 Nov 4 16:09 /service/axfrdns-ajato/supervise but forgot to "down" the tinydns-ajato service; the dir size is still growing! it looks like it grows at each atempt; drwx--S--- 2 root 156975104 Nov 4 13:14 /service/tinydns-ajato/supervise drwx--S--- 2 root 157519872 Nov 4 16:22 /service/tinydns-ajato/supervise > but a runnin gprogram may still have a reference to it. > Use 'lsof' to see what has references into that directory... in the dir with the "down"ed service: server:/service/axfrdns-ajato# lsof +d supervise COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME supervise 2865 root 5wW REG 9,2 0 4246 supervise/lock supervise 2865 root 6r FIFO 9,2 20650 supervise/control supervise 2865 root 7w FIFO 9,2 20650 supervise/control supervise 2865 root 8r FIFO 9,2 94479 supervise/ok and in the dir with the "up"ed service (the one that's growing): server:/service/tinydns-ajato# lsof +d supervise supervise 2903 root 5wW REG 9,2 0 274753 supervise/lock supervise 2903 root 6r FIFO 9,2 278579 supervise/control supervise 2903 root 7w FIFO 9,2 278579 supervise/control supervise 2903 root 8r FIFO 9,2 278581 supervise/ok thanks very much for any kind of help; I'd hate to put this server in production until this has been explained and solved completely! in case it matters: the filesystem format is jfs on a raid-1 device; []s, -- Otavio Exel /<\oo/>\ [email protected]