Respawn of smbd

Jeremy Allison jra at samba.org
Thu Jul 13 17:23:32 GMT 2006


On Thu, Jul 13, 2006 at 09:24:40PM +0530, sanalkumar.siva at wipro.com wrote:
> 
> Hi,
> 
>     We are using Samba (Tried with both 3.0.22 and 3.0.23) in a Linux
> Server and two XP machines are connected to the same.
> 
>     Some stuff (like Printer Cancel) is not working from one XP (say
> PC1) and it is working from the other machine (say PC2).
> 
>     From the analysis, it is found that smbd child process for PC1 is
> getting exited often and another process for the same PC is getting
> created. It is working fine in PC2
> 
>     Following is the code flow of smbd exit :-
> 
>         smbd_process( )  -- This function exits as the failure from
> receive_message_or_smb()
>            |-> receive_message_or_smb()
> --  Returns False
>                 |->  receive_smb()
> -- Returns False
>                      |-> receive_smb_raw()
> -- Returns False
>                           |-> read_smb_length_return_keepalive()     --
> Returns  -1 
>                                |-> read_data()
> -- Returns 0
>                                     |-> sys_read()
> -- Returns 0 (EOF of fd)

That's a normal exit when the TCP connection goes down.
We don't know why (we're just a server app after all).

Check your network hardware and network card on the 
client PC in question.

Jeremy.


More information about the samba-technical mailing list