[Samba] Help. . .read socket data errors
CompuGenic
pablo at compugenic.com
Sun Jun 5 01:30:31 GMT 2005
Matt,
You're right. . .the options used by Mandrake are not all the defaults.
The default is only the TCP_NODELAY. I will try removing the extra
socket options, and even adding the IPTOS_LOWDELAY option and see if
that fixes the issue.
Any other ideas are more than welcome.
Thanks,
Pablo
Matt Schwartz wrote:
> Pablo, consult the man page on smb.conf for the default settings of
> the socket options. I am not sure if the ones you used are defaults
> as per samba
>
> CompuGenic wrote:
>
>> I am using the defaults that came with the samba RPM package on
>> Mandrake 10.1.
>> For socket options, it has:
>>
>> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>>
>> Is that something that may fix the problem if I change it?
>>
>> Pablo
>>
>> mschwartz at dcscorp.net wrote:
>>
>>> Pablo, you might have incorrectly set some settings in smb.conf. Check
>>> your settings for socket options. I don't mess with any of the options
>>> except for socket options = TCP_NODELAY because I get a dramatic speed
>>> increase.
>>>
>>> CompuGenic <pablo at compugenic.com> wrote on 06/04/2005, 05:26:49 AM:
>>>
>>>
>>>> I have samba setup as a fileserver with winbind on an NT 4 domain.
>>>> I keep getting the errors shown below constantly, and have no clue
>>>> what could be causing it. If you have any clues please let me know.
>>>>
>>>>
>>>> Jun 3 18:08:27 baker smbd[7436]: [2005/06/03 18:08:27, 0]
>>>> lib/util_sock.c:read_socket_data(384)
>>>> Jun 3 18:08:27 baker smbd[7436]: read_socket_data: recv failure
>>>> for 4. Error = Connection reset by peer
>>>> Jun 3 18:15:15 baker smbd[6159]: [2005/06/03 18:15:15, 0]
>>>> lib/util_sock.c:read_socket_data(384)
>>>> Jun 3 18:15:15 baker smbd[6159]: read_socket_data: recv failure
>>>> for 4. Error = Connection reset by peer
>>>> Jun 3 18:36:17 baker smbd[7437]: [2005/06/03 18:36:17, 0]
>>>> lib/util_sock.c:read_socket_data(384)
>>>> Jun 3 18:36:17 baker smbd[7437]: read_socket_data: recv failure
>>>> for 4. Error = Connection timed out
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Pablo
>>>> --
>>>> To unsubscribe from this list go to the following URL and read the
>>>> instructions: https://lists.samba.org/mailman/listinfo/samba
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
More information about the samba
mailing list