[Dovecot] imap-login processes

Timo Sirainen tss at iki.fi
Sat May 17 21:50:47 EEST 2008


On Fri, 2008-05-16 at 14:47 -0400, Bryan Polk wrote:
> > It would help to know what these extra processes are doing. 
> Unfortunately
> > there's no simple way to do that.. Maybe writing a script that trusses 
> the
> > processes for a few seconds and then seeing what it shows?
> 
> To truss each imap-login I would need to write the script to execute 
> "truss imap-login" and put that in place of imap-login in the config file? 

That would probably work too, but I was thinking about getting a few
second snapshot using truss -p. So something like (untested):

for pid in `ps -ef|grep imap$|awk '{print $2}'`; do
  truss -o log.$pid -p $pid &
done
sleep 5
killall truss

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080517/e8750664/attachment.bin 


More information about the dovecot mailing list