[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mimeheaders etc
On 1-Dec-00 at 12:40, Matti Aarnio (mea@nic.funet.fi) wrote:
> > Also, to my taste mailbox processes are using too much CPU. In "top"
> > display, they show 2+% cpu each *even* if they do not perform delivery
> > at the moment!
>
> It could be an artifact from the way how "top" accumulates information.
Could be.
> Could you truss such process to see if it does some syscalls ?
> (It would, after all, spend a lot more CPU if it were busy spinning..)
Possibly this is some Solaris speciality:
...
link("/var/virtual/online.ru/mail/F/F/owen2000.L2a3c.3a27745d.80c4e5bf",
"/var/virtual/online.ru/mail/F/F/owen2000.lock") = 0
stat("/var/virtual/online.ru/mail/F/F/owen2000.L2a3c.3a27745d.80c4e5bf",
0xFFBEE0E8) = 0
unlink("/var/virtual/online.ru/mail/F/F/owen2000.L2a3c.3a27745d.80c4e5bf") = 0
lseek(7, 0, SEEK_SET) = 0
fcntl(7, F_SETLKW, 0xFFBEEA5C) (sleeping...)
signotifywait() (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
lwp_cond_wait(0xFF0BF618, 0xFF0BF628, 0xFF073CA0) (sleeping...)
lwp_sema_wait(0xFF0BC8D8) (sleeping...)
and here it stops scrolling and waits. Does not make very much sense to
me, though... Other case, same process:
write(1, " # h u n g r y\n", 8) = 8
read(0, " # i d l e\n", 8192) = 6
write(1, " # h u n g r y\n", 8) = 8
read(0, 0x0005395C, 8192) (sleeping...)
signotifywait() (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
lwp_cond_wait(0xFF0BF618, 0xFF0BF628, 0xFF073CA0) (sleeping...)
lwp_sema_wait(0xFF0BC8D8) (sleeping...)
Eugene