LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2010, 12:58 PM   #1
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Rep: Reputation: 51
avahi-daemon multiple procs?


I was wondering why avahi runs under multiple processes. So far it running on tow exposed network ports.

Code:
oliver-desktop:~$ pidof avahi-daemon
1158 1157
Code:
@oliver-desktop:~$ sudo lsof | grep 1158
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/oliver/.gvfs
      Output information may be incomplete.
avahi-dae  1158       avahi  cwd       DIR                8,5      4096          2 /
avahi-dae  1158       avahi  rtd       DIR                8,5      4096          2 /
avahi-dae  1158       avahi  txt       REG                8,8    119032    1305627 /usr/sbin/avahi-daemon
avahi-dae  1158       avahi  mem       REG                8,5     51712     133394 /lib/libnss_files-2.11.1.so
avahi-dae  1158       avahi  mem       REG                8,5     43552     133384 /lib/libnss_nis-2.11.1.so
avahi-dae  1158       avahi  mem       REG                8,5     97256     133375 /lib/libnsl-2.11.1.so
avahi-dae  1158       avahi  mem       REG                8,5     35712     133383 /lib/libnss_compat-2.11.1.so
avahi-dae  1158       avahi  mem       REG                8,5     18704     129577 /lib/libattr.so.1.1.0
avahi-dae  1158       avahi  mem       REG                8,5   1572232     133391 /lib/libc-2.11.1.so
avahi-dae  1158       avahi  mem       REG                8,5     31744     133379 /lib/librt-2.11.1.so
avahi-dae  1158       avahi  mem       REG                8,5    135745     133389 /lib/libpthread-2.11.1.so
avahi-dae  1158       avahi  mem       REG                8,5    256768     129599 /lib/libdbus-1.so.3.4.0
avahi-dae  1158       avahi  mem       REG                8,5     14696     133395 /lib/libdl-2.11.1.so
avahi-dae  1158       avahi  mem       REG                8,5     18888     129590 /lib/libcap.so.2.17
avahi-dae  1158       avahi  mem       REG                8,5    165960     129614 /lib/libexpat.so.1.5.2
avahi-dae  1158       avahi  mem       REG                8,8     26976     131026 /usr/lib/libdaemon.so.0.5.0
avahi-dae  1158       avahi  mem       REG                8,8    207560     132349 /usr/lib/libavahi-core.so.6.0.1
avahi-dae  1158       avahi  mem       REG                8,8     51608     132351 /usr/lib/libavahi-common.so.3.5.1
avahi-dae  1158       avahi  mem       REG                8,5    136936     133376 /lib/ld-2.11.1.so
avahi-dae  1158       avahi    0r      CHR                1,3       0t0       1128 /dev/null
avahi-dae  1158       avahi    1w      CHR                1,3       0t0       1128 /dev/null
avahi-dae  1158       avahi    2w      CHR                1,3       0t0       1128 /dev/null
avahi-dae  1158       avahi    3u     unix 0xffff88007a72ed00       0t0       5100 socket
avahi-dae  1158       avahi    6u     unix 0xffff88007a72f300       0t0       5104 socket
and again at
Code:
@oliver-desktop:~$ sudo lsof | grep 1157
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/oliver/.gvfs
      Output information may be incomplete.
avahi-dae  1157       avahi  cwd       DIR                8,5      4096     259341 /etc/avahi
avahi-dae  1157       avahi  rtd       DIR                8,5      4096     259341 /etc/avahi
avahi-dae  1157       avahi  txt       REG                8,8    119032    1305627 /usr/sbin/avahi-daemon
avahi-dae  1157       avahi  mem       REG                8,5     51712     133394 /lib/libnss_files-2.11.1.so
avahi-dae  1157       avahi  mem       REG                8,5     43552     133384 /lib/libnss_nis-2.11.1.so
avahi-dae  1157       avahi  mem       REG                8,5     97256     133375 /lib/libnsl-2.11.1.so
avahi-dae  1157       avahi  mem       REG                8,5     35712     133383 /lib/libnss_compat-2.11.1.so
avahi-dae  1157       avahi  mem       REG                8,5     18704     129577 /lib/libattr.so.1.1.0
avahi-dae  1157       avahi  mem       REG                8,5   1572232     133391 /lib/libc-2.11.1.so
avahi-dae  1157       avahi  mem       REG                8,5     31744     133379 /lib/librt-2.11.1.so
avahi-dae  1157       avahi  mem       REG                8,5    135745     133389 /lib/libpthread-2.11.1.so
avahi-dae  1157       avahi  mem       REG                8,5    256768     129599 /lib/libdbus-1.so.3.4.0
avahi-dae  1157       avahi  mem       REG                8,5     14696     133395 /lib/libdl-2.11.1.so
avahi-dae  1157       avahi  mem       REG                8,5     18888     129590 /lib/libcap.so.2.17
avahi-dae  1157       avahi  mem       REG                8,5    165960     129614 /lib/libexpat.so.1.5.2
avahi-dae  1157       avahi  mem       REG                8,8     26976     131026 /usr/lib/libdaemon.so.0.5.0
avahi-dae  1157       avahi  mem       REG                8,8    207560     132349 /usr/lib/libavahi-core.so.6.0.1
avahi-dae  1157       avahi  mem       REG                8,8     51608     132351 /usr/lib/libavahi-common.so.3.5.1
avahi-dae  1157       avahi  mem       REG                8,5    136936     133376 /lib/ld-2.11.1.so
avahi-dae  1157       avahi    0r      CHR                1,3       0t0       1128 /dev/null
avahi-dae  1157       avahi    1w      CHR                1,3       0t0       1128 /dev/null
avahi-dae  1157       avahi    2w      CHR                1,3       0t0       1128 /dev/null
avahi-dae  1157       avahi    3u     unix 0xffff88007a72ed00       0t0       5100 socket
avahi-dae  1157       avahi    5u     unix 0xffff88007a72f000       0t0       5103 socket
avahi-dae  1157       avahi    6r     FIFO                0,8       0t0       5105 pipe
avahi-dae  1157       avahi    7w     FIFO                0,8       0t0       5105 pipe
avahi-dae  1157       avahi    8r     FIFO                0,8       0t0       5106 pipe
avahi-dae  1157       avahi    9w     FIFO                0,8       0t0       5106 pipe
avahi-dae  1157       avahi   10u     unix 0xffff88007a72f600       0t0       5107 /var/run/avahi-daemon/socket
avahi-dae  1157       avahi   11u     unix 0xffff88007a72f900       0t0       5109 socket
avahi-dae  1157       avahi   12r      DIR               0,11         0          1 inotify
avahi-dae  1157       avahi   13u     IPv4               5112       0t0        UDP *:mdns 
avahi-dae  1157       avahi   14u     IPv4               5113       0t0        UDP *:44225 
avahi-dae  1157       avahi   15u     sock                0,6       0t0       5114 can't identify protocol
I have was playing with avahi about a month ago and noticed that it never ran on more than one pid. Also, why would it i have the standard port of 5353 ( should be listening here ) and 44225 ( have no idea on that one)?

Any help would be appreciated. I can run commands to see whats using what; however, I dont have the experiance to know if something is out of place.
 
Old 12-13-2010, 05:28 AM   #2
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51
just checking in

No body know about this one?
 
  


Reply

Tags
avahi-daemon lsof



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
avahi daemon failure rdftheonly Linux - General 2 04-18-2010 06:16 PM
Netstat -platunec ........What is the avahi-daemon? kevmcool Linux - Newbie 3 12-02-2009 01:48 PM
(Ubuntu) Avahi-Daemon errors runneri.q Linux - Wireless Networking 1 08-07-2008 07:06 PM
(Ubuntu) Avahi-Daemon errors runneri.q Linux - Newbie 1 08-06-2008 07:18 AM
Avahi-daemon on startup OR13 Fedora 1 07-13-2006 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration