[Samba] smbd's using up 100% of all cpu's and load avg slowly going up
Sabuj Pattanayek
sabujp at gmail.com
Wed Jul 16 09:36:55 MDT 2014
The top level parent process? That's going to be difficult/impossible on a
production system . For now I've just created a cron that runs every few
mins that checks for these types of smbd processes with >50% cpu usage, and
if it's not in the output of net status sessions, and has no active tcp
connections in the output of netstat I kill the smbd process.
On Wed, Jul 16, 2014 at 9:50 AM, Ray Van Dolson <rvandolson at esri.com> wrote:
> Bizarre. I wonder if you couldn't start smbd in the foreground with
> strace and see if the problem reoccurs.
>
> Ray
>
> On Wed, Jul 16, 2014 at 07:18:32AM -0500, Sabuj Pattanayek wrote:
> > it's sockets also aren't connected to any ipv4 endpoints, just stream
> sockets.
> >
> >
> > On Wed, Jul 16, 2014 at 7:17 AM, Sabuj Pattanayek <sabujp at gmail.com>
> wrote:
> >
> > I went into /proc/4122/fd and I see which log file it has open so I
> see
> > which client had it open, but running net status sessions | grep
> pidNum
> > doesn't show it, so it seems like smbd isn't being cleaned up
> properly?
> >
> >
> > On Wed, Jul 16, 2014 at 7:10 AM, Sabuj Pattanayek <sabujp at gmail.com>
> wrote:
> >
> > absolutely nothing, looks like their spinning on something, e.g.
> :
> >
> > strace -ff -p 4122
> >
> > <no output>
> >
> >
> > On Tue, Jul 15, 2014 at 11:59 PM, Ray Van Dolson <
> rvandolson at esri.com>
> > wrote:
> >
> > What do you see when you do an strace on one of the offending
> > processes?
> >
> > Sent from my iPad
> >
> > > On Jul 15, 2014, at 9:41 PM, "Sabuj Pattanayek" <
> sabujp at gmail.com
> > > wrote:
> > >
> > > Hi,
> > >
> > > Running samba sernet 4.1.6-7, I've noticed the load avg
> slowly /
> > steadily
> > > creeping up (.e.g > 100). I'm now noticing that several
> smbd
> > processes are
> > > at 100%. I don't actually notice that much bandwidth usage
> on the
> > system
> > > (e.g. iptraf/iftop). Any idea what's causing this?
> > >
> > > Restarting smbd helps for a few days, but then the high
> load avg
> > returns.
> > >
> > > Thanks,
> > > Sabuj
>
More information about the samba
mailing list