fcntl spinlock in Linux?

Alex Korobkin korobkin+smb at gmail.com
Fri Aug 23 09:44:42 MDT 2013


I've just discovered that the hang happens after CUPS becomes unresponsive
and then is restarted on a busy printserver. Minutes later, smbd reports
being unable to retrieve list of jobs for various printers, as well as list
of printers, and then the server quietly hangs.

Does this info give any clue about a particular lock that would be held and
not released by smbd processes when CUPS is unavailable, and then is
restarted?



2013/8/22 Volker Lendecke <Volker.Lendecke at sernet.de>

> On Thu, Aug 22, 2013 at 11:44:02AM -0400, Alex Korobkin wrote:
> > Volker,
> >
> > Would it be possible that two smbd processes on a busy server are trying
> to
> > read the list of printers and get locked?
>
> In former versions there was a thundering herd related to
> printers. Whenever something changes, every smbd raced to to
> list all printers. I don't know when it got fixed exactly. I
> think it's Andreas Schneider who did the fix. Andreas is
> also listening on this list, so he might be able to answer
> better.
>
> 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