[Dovecot] dovecot-auth file descriptor usage

Timo Sirainen tss at iki.fi
Fri Jan 19 21:34:44 UTC 2007


On Wed, 2007-01-17 at 12:57 -0600, Steven F Siirila wrote:
> Doh!  Here's another one (took 3 more trials to nab one):
> 
> 29058:	imap-login
>   Current rlimit: unlimited file descriptors
>    0: S_IFSOCK mode:0666 dev:293,0 ino:63436 uid:0 gid:0 size:0
>       O_RDWR|O_NONBLOCK
> 	SOCK_STREAM
> 	SO_REUSEADDR,SO_KEEPALIVE,SO_SNDBUF(49152),SO_RCVBUF(49152),IP_NEXTHOP(0.0.192.0)
> 	sockname: AF_INET 0.0.0.0  port: 143
>    1: S_IFSOCK mode:0666 dev:293,0 ino:42189 uid:0 gid:0 size:0
>       O_RDWR|O_NONBLOCK
> 	SOCK_STREAM
> 	SO_REUSEADDR,SO_KEEPALIVE,SO_SNDBUF(49152),SO_RCVBUF(49152),IP_NEXTHOP(0.0.192.0)
> 	sockname: AF_INET 0.0.0.0  port: 993

Almost, but not quite :) File descriptors 0 and 1 are open only when the
process is listening for new connections (for ports 143 and 993). So
this process wasn't proxying SSL.

>    2: S_IFIFO mode:0000 dev:295,0 ino:2456463 uid:0 gid:1 size:0
>       O_RDWR

This is logging pipe.

>    3: S_IFSOCK mode:0666 dev:293,0 ino:37418 uid:0 gid:0 size:0
>       O_RDWR
> 	SOCK_STREAM
> 	SO_SNDBUF(16384),SO_RCVBUF(5120)
> 	sockname: AF_UNIX 

Connection to master process.

>    4: S_IFCHR mode:0644 dev:287,0 ino:99614726 uid:0 gid:3 rdev:190,1
>       O_RDONLY|O_LARGEFILE FD_CLOEXEC
>       /devices/pseudo/random at 0:urandom

/dev/urandom.

So it hasn't actually yet even connected to dovecot-auth.
-------------- 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/20070119/7984036b/attachment.pgp 


More information about the dovecot mailing list