Samba and Out Of Connection Structures on Solaris (again)
richard van beers
beers at xs4all.nl
Wed Jan 9 05:28:04 GMT 2002
Hi Samba gurus,
Recently we are running in to out of connection structures woe's again.
Symptom:
Not able to get a previously succesfully mounted samba share.
Samba.log:
[2002/01/09 12:37:31, 1] smbd/conn.c:(104)
ERROR! Out of connection structures
[2002/01/09 12:37:31, 0] smbd/service.c:(325)
Couldn't find free connection.
On tips of this list, and the Sun site, we did a couple of things:
- Running Solaris 8 in 64 bit mode
- samba 64 bit compiled
- samba 2.2.2
- Sun CC cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
- environment flags:
setenv CC cc
setenv LDFLAGS "-fast -xtarget=ultra2i -xarch=v9a -xO5"
setenv CFLAGS "-fast -xtarget=ultra2i -xarch=v9a -xO5"
setenv CXXFLAGS "-fast -xtarget=ultra2i -xarch=v9a -xO5"
setenv CPPFLAGS "-fast -xtarget=ultra2i -xarch=v9a -xO5"
- Raise limit for number of open files systemwide
- set rlim_fd_cur=2048
- set rlim_fd_max=8192
- number of filedescriptor limits upped with plimit:
MOO=`ps -ef | grep mbd | grep pro64 | grep -v grep | awk '{print
$2}'`
for pid in $MOO; do
plimit -n 51200,52224 $pid
done
We are running out of clue's :-( and Im still looking at Out of Connections
every day.
Any clue or help would be enormously appreciated.
Regards Richard van Beers
More information about the samba
mailing list