tags:

views:

52

answers:

2

I am opening a unix domain socket on file system. lsof give me this as the output.

proxyShel 27379      root    0u     unix 0xe8250200      0t0   26605515 /var/lib/dsock
proxyShel 27379      root    2u     unix 0xe74e4600      0t0   26606355 socket

Well, "dsock" is the socket I am listening to, but what does the second entry mean? :s

A: 

Sockets have two ends, one referenced on the filing system the other in a running application.

Steve-o
I am sorry , i do not understand. Are you suggesting if i am listening on one FD , and i accept a connection. I will have in all 3 open file descriptors? since that is exactly what i am facing.
Ricko M
A: 

The extra socket is opened by syslog to syslogd.

cheers!

Ricko M