100% cpu utilization of Solaris x86

Jeremy Allison jra at samba.org
Thu Nov 8 08:01:29 GMT 2001

On Thu, Nov 08, 2001 at 01:18:44PM +0000, Neil Hoggarth wrote:

> BUT I'd just like to flag up that some of this lock cleaning stuff was
> introduced to (successfully) tackle serious orphaned lock problems that
> we and other sites were experiencing with v2.2.0.
> "grep -i 'logic error'" on my log.smbd files suggests that this code is
> in active use on my main server (SPARC Solaris 8 1/01, Samba 2.2.3-pre
> of a couple of weeks ago), cleaning out orphaned locks on a frequent and
> ongoing basis.

If that's the case I *DESPARATELY* need a full level 10 debug from
startup to "logic error" from you. A "logic" error means precisely
that, as a bug in the code. With a full log from current CVS I could
find and fix it ! No one so far has been able to get me a reproducible
case or send me such a log. The cleanup code is masking the bug, not
a fix !

> If Richard is correct in his analysis that slow startup of an smbd can
> cause problems due to runaway client retries (which seems plausable to
> me based on problems that I've struggled with before), and it is felt
> that doing cleanup on both startup and exit represents unnecessary
> duplication, perhaps we ought to experiment with doing the lock cleanup
> only on smbd exit (ie. comment out the startup cleanup, rather than the
> exit cleanup)?

Depends where the slowdown is, startup or shutdown. As I can't reproduce
it I'm depending on you guys to tell me which to remove.


More information about the samba-technical mailing list