Re: [Samba] [samba4] smbd processes never die after logoff

2013-05-26 Thread François Lafont
Le 24/05/2013 12:42, Volker Lendecke wrote :

 Can you try to add the socket options
 
 TCP_KEEPIDLE=120 TCP_KEEPINTVL=10 TCP_KEEPCNT=5
 
 This should make the sessions go away more quickly in case
 the clients just go away.

Thanks for your help. I will try.


-- 
François Lafont
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] [samba4] smbd processes never die after logoff

2013-05-24 Thread Volker Lendecke
On Fri, May 24, 2013 at 03:15:03AM +0200, François Lafont wrote:
 Hello,
 
 I'm using Samba 4.0.5 in Debian Wheezy as a member server of a DC (in Debian 
 Wheezy too with Samba 4.0.5) and the clients are Windows7 Pro. The users use 
 shares in the member server.
 
 Sometimes, after the logoff of the users in the Win7 clients, there are 
 connections with the member server whiches never stop. I can see it with the 
 smbstatus command which point PID out to me and indeed with the « ps aux | 
 grep smbd » I can see smbd processes whiches never die.
 
 I have try this in the smb.conf file :
 
deadtime = 10
socket options = TCP_NODELAY SO_KEEPALIVE

Can you try to add the socket options

TCP_KEEPIDLE=120 TCP_KEEPINTVL=10 TCP_KEEPCNT=5

This should make the sessions go away more quickly in case
the clients just go away.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] [samba4] smbd processes never die after logoff

2013-05-23 Thread François Lafont
Hello,

I'm using Samba 4.0.5 in Debian Wheezy as a member server of a DC (in Debian 
Wheezy too with Samba 4.0.5) and the clients are Windows7 Pro. The users use 
shares in the member server.

Sometimes, after the logoff of the users in the Win7 clients, there are 
connections with the member server whiches never stop. I can see it with the 
smbstatus command which point PID out to me and indeed with the « ps aux | 
grep smbd » I can see smbd processes whiches never die.

I have try this in the smb.conf file :

   deadtime = 10
   socket options = TCP_NODELAY SO_KEEPALIVE

But it doesn't work. This is a embarrassing problem for me because it takes 
resources of the server.

Thanks in advande for your help.

PS: here is my smb.conf for the member server :

[global]

   workgroup = MYDOMAIN
   security = ADS
   realm = MYDOMAIN.PRIV
   encrypt passwords = yes

   idmap config *:backend = tdb
   idmap config *:range = 70001-8

   winbind trusted domains only = no
   winbind use default domain = yes
   winbind enum users  = yes
   winbind enum groups = yes
   winbind cache time = 300

   deadtime = 10
   socket options = TCP_NODELAY SO_KEEPALIVE


[myhome]
path = /home/%U
hide files = *.ini/*.INI/*.bin/*.BIN/desktop - Raccourci.lnk/~*/
read only = No
browseable = Yes

[admhomes]
path = /home
read only = No
browseable = Yes
valid users = administrator
admin users = administrator

-- 
François Lafont
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] [samba4] smbd processes never die after logoff

2013-05-23 Thread François Lafont
Just one detail,

Le 24/05/2013 03:15, François Lafont wrote :

 indeed with the « ps aux | grep smbd » I can see smbd processes whiches never 
 die.

Of course, with:

kill PID

the processes die. But if I don't use the kill command some processes never 
die although all users are disconnected of the Windows seven clients.

-- 
François Lafont
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba