[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba
Subject:    Re: [Samba] Defunct processes on solaris 10
From:       Rowland Penny via samba <samba () lists ! samba ! org>
Date:       2018-10-30 13:39:36
Message-ID: 20181030133936.51c82707 () devstation ! samdom ! example ! com
[Download RAW message or body]

On Tue, 30 Oct 2018 15:21:47 +0200
Jeandre Le Roux via samba <samba@lists.samba.org> wrote:

> Hi,
> 
> I'm getting a few defunct processes running samba 4.4.16. They tend to
> accumulate over time, however they dissapear after I do a `svcadm
> restart samba`. Samba is joined to an AD domain.
> 
> Sanitized global section of smb.conf:
> [global]
>         dedicated keytab file = /etc/samba/krb5.keytab
>         idmap config * : backend = tdb
>         idmap config * : range = 10000-50000

The above is wrong, you are putting everything into a tdb file, I would
expect to also see lines that start 'idmap config xxxxx' and set a
winbind backend

>         kerberos method = secrets and keytab
>         log file = /var/samba/log/log.%m
>         log level = 3
>         max protocol = SMB2
>         min protocol = SMB2
>         realm = xxxxx
>         security = ADS
>         server signing = auto
>         server string = xxxxx
>         usershare allow guests = Yes
>         winbind enum groups = Yes
>         winbind enum users = Yes
>         winbind refresh tickets = Yes
>         winbind use default domain = Yes
>         wins proxy = Yes
>         wins server = xxxxx
>         workgroup = xxxxx
>         deadtime = 1
>         debug pid = yes
> 
> When I search for the pid of one of the defunct processes I find that
> the log file ends with :
> [2018/10/30 15:03:49.477853,  2,
> pid=20630] ../source3/smbd/process.c:2875() Closing idle connection
> [2018/10/30 15:03:49.479553,  3,
> pid=20630] ../source3/smbd/server.c:154() got a SHUTDOWN message
> [2018/10/30 15:03:49.480308,  2,
> pid=20630] ../source3/smbd/service.c:1063() 10.20.35.219
> (ipv4:10.20.35.219:62304) closed connection to service DATA12
> [2018/10/30 15:03:49.481689,  3,
> pid=20630] ../source3/smbd/server_exit.c:246() Server exit (normal
> exit)
> 

Perfectly acceptable, Samba is just telling you it is closing the
connection, if you don't want the messages, remove the 'log level' line
from smb.conf

I should also point out that, unless you have extended support,
Solaris 10 is EOL. Samba 4.4.x is also EOL, the only supported
versions are 4.7.x, 4.8.x and 4.9.x

Rowland  

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic