[elephant-devel] BDB hanging with many stalled threads

Red Daly reddaly at gmail.com
Thu Oct 23 09:10:25 UTC 2008


This appears to have resolved the problem.  The server has been running for
the past several days with no database crashes.  The only unusual behavior
is an occasional condition being raised that looks like this:

attempt to THROW to a tag that does not exist: DB-BDB::TRANSACTION
   [Condition of type SB-INT:SIMPLE-CONTROL-ERROR]

Restarts:
 0: [TERMINATE-THREAD] Terminate this thread (#<THREAD "hunchentoot worker
'upcoming-songs' 9eda90fbc9391875b47d47717c988bf986c8dd01" RUNNING
{1003082A71}>)

Backtrace:
  ...
 10: (SIGNAL #<SB-INT:SIMPLE-CONTROL-ERROR {100311D211}>)[:EXTERNAL]
 11: (ERROR SB-INT:SIMPLE-CONTROL-ERROR)[:EXTERNAL]
 12: (SB-KERNEL::UNSEEN-THROW-TAG-ERROR-HANDLER ..)
 13: (SB-KERNEL::UNSEEN-THROW-TAG-ERROR-HANDLER ..)[:EXTERNAL]
 14: (SB-KERNEL:INTERNAL-ERROR #.(SB-SYS:INT-SAP #X7F3DDF523000)
#<unavailable argument>)
 15: ("foreign function: #x41D8E2")
 16: ("foreign function: #x40B02E")
 17: ("foreign function: #x40FBF0")
 18: ("no debug information for frame")
 19: (SLOT-VALUE #<SONG oid:34141> QT::MUSIC-LIBRARY-ID)


Thanks for the fix.  This remaining issue does not seem to happen too much
so I can live with it.  It simply belongs in the documentary record.

Red

On Sat, Oct 18, 2008 at 1:27 AM, Leslie P. Polzer
<sky at viridian-project.de>wrote:

>
> > 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.
> >
> > This seems to indicate that the problem is not caused by deadlocks.  What
> do
> > you think?
>
> Let's make sure. After opening the store controller run
>
>  (db-bdb::db-env-set-lock-detect
>    (elephant::controller-environment *store-controller*)
>    db-bdb::DB_LOCK_DEFAULT)
>
> and check whether this still occurs.
>
>  Leslie
>
>
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20081023/ac5703f5/attachment.html>


More information about the elephant-devel mailing list