[PATCH] Enforce only one messaging_context per process

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Feb 20 13:16:30 MST 2014


On Thu, Feb 20, 2014 at 12:05:58PM -0800, Richard Sharpe wrote:
> On Thu, Feb 20, 2014 at 11:47 AM, Volker Lendecke
> <Volker.Lendecke at sernet.de> wrote:
> > On Thu, Feb 20, 2014 at 10:16:19AM -0800, Richard Sharpe wrote:
> >> I looked at the patch. Does that mean we do not have a problem with a
> >> normal smbd child, only with spoolss?
> >
> > No problem there. We do a proper reinit_after_fork there.
> >
> >> I am chasing a problem where the messaging.tdb grew to 1-2GB at one
> >> customer site, and wondering if this could be the cause of the
> >> problem.
> >
> > This might be stuck or a lot of dead processes. We don't
> > have a proper cleanup routine if a stuck process dies. This
> > might be done soon though.
> 
> Hmmm, so the master smbd could clean these up when children die, perhaps?

Sure, for example. Or a cronjob every day could take a look.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list