At 05:16 PM Monday, 2/16/2009, Volker Lendecke wrote -=>
On Mon, Feb 16, 2009 at 05:00:33PM -0800, Ed Kasky wrote:
> I really hate to sound stupid, but here goes anyway - right now, the
> first smbd in the list gives the following socket information:
> COMMAND     PID      USER   FD      TYPE     DEVICE       SIZE       NODE
> NAME
> smbd      18355      root   21u     unix
> 0xd9994c00               4039461 socket
> smbd      18355      root   22u     unix
> 0xc9292600               4039462 socket
> smbd      18355      root   25u     unix
> 0xe7311600               4039464 socket
>
> How exactly does one go about figuring out what fd 22 is connected
> to?  Andy why exactly FD22?

Ok, this time you should have grepped the lsof output for
the string "0xc9292600", or whatever file descriptor smbd
unsuccessfully tries to write into. I'ts the device field of
that file descriptor.

This starts to become difficult... :-(

No kidding...

So I grepped the lsof output of the string and the fd:

#/usr/sbin/lsof | grep 0xc9292600
COMMAND     PID      USER   FD      TYPE     DEVICE       SIZE       NODE NAME
smbd 18355 root 22u unix 0xc9292600 4039462 socket

# /usr/sbin/lsof | grep 22u
COMMAND     PID      USER   FD      TYPE     DEVICE       SIZE       NODE NAME
dbus-daem 2734 dbus 22u unix 0xc4e3dc00 2903318 /var/run/dbus/system_bus_socket mysqld 3323 mysql 22u REG 253,4 20916 1933326 /var/lib/mysql/mysql/help_category.MYD java 11193 ed 22u IPv4 3225139 TCP yoda.wrenkasky.com:58353->yoda.wrenkasky.com:sco-dtmgr (ESTABLISHED) smbd 18355 root 22u unix 0xc9292600 4039462 socket smbd 18601 root 22u REG 253,4 8192 1966224 /var/lib/samba/share_info.tdb named 19831 named 22u IPv4 2344686 UDP yoda.wrenkasky.com:domain smbd 20304 ed 22u REG 253,4 8192 1966224 /var/lib/samba/share_info.tdb Xorg 22180 root 22u unix 0xddad5a00 2902458 /tmp/.X11-unix/X0 bonobo-ac 22794 ed 22u unix 0xe700aa00 2902788 /tmp/orbit-ed/linc-590a-0-78f48aeb4ff2c gnome-ses 23472 ed 22u unix 0xdccb9600 2902539 /tmp/.ICE-unix/23472 gconfd-2 23565 ed 22u unix 0xd6829c00 2902330 /tmp/orbit-ed/linc-5c0d-0-7f60db851ba3d gnome-set 23570 ed 22u unix 0xc5f53e00 2902206 socket esd 23580 ed 22u unix 0xc97f6600 2902460 /tmp/.esd/socket gnome-pan 23596 ed 22u unix 0xdf8e7200 2902884 /tmp/orbit-ed/linc-5c2c-0-53f9b3cacc699 evolution 23615 ed 22u unix 0xcf605400 2902909 socket evolution 23686 ed 22u REG 253,1 12288 525725 /home/ed/.evolution/addressbook/local/system/addressbook.db evolution 23692 ed 22u unix 0xdb0fca00 2903079 /tmp/.exchange-ed/[email protected] beagled-h 24085 ed 22u REG 253,1 4809728 524609 /home/ed/.beagle/TextCache/TextCache.db

In this case, if it were acting up, I assume that I would be looking for multiple instances of 0xc9292600 correct?

Ed

...........................................................................

Randomly Generated Quote (810 of 1503):
It is curious that physical courage should be so common in the
world and moral courage so rare. -Mark Twain

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to