[Samba] Can't find free connection

Rauno Tuul rauno.tuul at haigekassa.ee
Fri Dec 5 07:02:32 GMT 2003


Hi,

I ran into this problem too once. The cause was, that I'm using
terminalservers and samba connections count between terminal and samba is
limited.

Read this e-mail
http://www.mail-archive.com/samba@lists.samba.org/msg19398.html
That worked for me. I've set my 
#define MAX_CONNECTIONS to 512
(each terminal has 100 users, each user has 4 shares)
After recompiling my samba, errors are history for me.

BTW, there is also an parameter in smb.conf "max connections", but that
isn't the problem (default connection limit is 0).

I hope that helps,

 Rauno

> -----Original Message-----
> From: Selzner, Peter (KRZ) [mailto:P.Selzner at KRZ.DE]
> 
> Hi,
> 
> since some days we have follow entries in the logfile:
> 
> smbd/service.c:make_connection(340)
> 	Couldn't find free connection
> 
> Google says less or nothing. Can I control this with 
> "max connection = 0". 
> Any another ideas? Please help.
> Thanks.
> 
> Peter


More information about the samba mailing list