<div dir="ltr">Unfortunately the standalone deadlock utility provided by BDB does not seem to resolve this.  I just tried running it with all these hung threads and somehow the result was a database that needs recovery.  db_stat also indicates the number of deadlocks is 0.<br>
<br>This seems to indicate that the problem is not caused by deadlocks.  What do you think?<br><br>Red<br><br><br><div class="gmail_quote">On Thu, Oct 16, 2008 at 12:43 AM, Leslie P. Polzer <span dir="ltr"><<a href="mailto:sky@viridian-project.de">sky@viridian-project.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
> The symptoms are as follows: The server uses 99% CPU as hundreds of threads<br>
> continue to run.  It appears that each is trying to access objects in the<br>
> database, but these database operations are all blocking.<br>
<br>
</div>Sounds like a deadlock scenario to me.<br>
<br>
"Fixed" in unstable.<br>
<br>
For stable, use the external deadlock detector: see<br>
DB-BDB::START-DEADLOCK-DETECTOR and the DEADLOCK-DETECT<br>
arg to OPEN-STORE. Be sure to set the correct path to<br>
your db_deadlock binary in my-config.sexp.<br>
<br>
  Leslie<br>
<br>
<br>
_______________________________________________<br>
elephant-devel site list<br>
<a href="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/elephant-devel" target="_blank">http://common-lisp.net/mailman/listinfo/elephant-devel</a><br>
</blockquote></div><br></div>