Operating System - HP-UX
1834457 Members
2638 Online
110067 Solutions
New Discussion

Re: Samba CIFS error: no buffer space available

 
enrico.nic
Regular Advisor

Samba CIFS error: no buffer space available

Hi

We have an HP 9000 rp3410, HP-UX 11.11, with HP samba release 3.0.7.

Recently I am finding this error in the samba log file:
[2005/07/12 16:36:51, 0] smbd/server.c:open_sockets_smbd(382)
open_sockets_smbd: accept: No buffer space available

When this error comes up, the file sharing through samba becomes really slow.

The network parameter tcp_conn_request_max seems to be involved in such problems, but actually it is set to a reasonably high value, i.e. 4096.
# ndd -get /dev/tcp tcp_conn_request_max
4096

I really don't know what to try next. Maybe something in "socket options" of the smb.conf file ?
Has anybody a suggestion about a possible solution ?

Thank you

Enrico
2 REPLIES 2
Steve Steel
Honored Contributor

Re: Samba CIFS error: no buffer space available

Hi


This is not really serious

1)Try setting "strict locking = no" in the smb.conf.


2)Make sure your are up2date with your software level


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
enrico.nic
Regular Advisor

Re: Samba CIFS error: no buffer space available

Hi

I've looked into the samba book from Andrew Tridgell, and it says that the default value of the option
strict locking
should be "no".
In the meantime, I tried to set the "wins server" option in smb.conf (the book says it is a possible cause of delay in file share browsing), as we have a wins server in our LAN.
Another change was in the socket options:
socket options = IPTOS_LOWDELAY TCP_NODELAY

but after that the error reappeared ... even with a new one:
[2005/07/14 13:51:35, 0] lib/util_sock.c:set_socket_options(202)
Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
[2005/07/14 13:51:35, 0] lib/util_sock.c:set_socket_options(202)
Failed to set socket option IPTOS_LOWDELAY (Error Invalid argument)
[2005/07/14 13:51:35, 0] lib/util_sock.c:set_socket_options(202)
Failed to set socket option TCP_NODELAY (Error Invalid argument)
[2005/07/14 13:51:35, 0] lib/util_sock.c:get_peer_addr(1000)
getpeername failed. Error was Invalid argument
[2005/07/14 13:51:44, 0] smbd/server.c:open_sockets_smbd(382)
open_sockets_smbd: accept: No buffer space available
[2005/07/14 13:52:01, 0] smbd/server.c:open_sockets_smbd(382)
open_sockets_smbd: accept: No buffer space available

I really don't know what to try next ..

At the op. system level, I have applied the latest patch bundle with all subsequent patches proposed by the "bastille" software.


Enrico