# ThreadError from DRb server

**URL:** <https://www.ruby-forum.com/t/threaderror-from-drb-server/108021>\
**Category:** Ferret\
**Created:** [June 28, 2007, 2:25pm UTC](https://www.ruby-forum.com/t/threaderror-from-drb-server/108021 "2007-06-28T14:25:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jonny](https://www.ruby-forum.com/u/jonny)\
**Post date:** [June 28, 2007, 2:25pm UTC](https://www.ruby-forum.com/t/threaderror-from-drb-server/108021/1 "2007-06-28T14:25:57Z")

</div>

Hi there,

I’ve just started using aaf for searching and it’s running well apart  
from one error I received:

A ThreadError occurred in person#search:

current thread not owner  
(druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in  
`mon_check_owner' (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in`mon\_check\_owner’  
(druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:220:in  
`mon_exit' (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:240:in`synchronize’  
(druby:/localhost:9010)  
/var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in  
`synchrolock' (druby:/localhost:9010) /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:267:in`\<\<’  
(druby:/localhost:9010)  
/var/www/rails/balrog/releases/20070628045633/vendor/plugins/acts\_as\_ferret/lib/local\_index.rb:263:in  
`reindex\_model’

```
.....

```

Has anybody else had this before? Any ideas what could have caused it?  
It’s only happened once. I’m using ferret 0.11.4 and aaf trunk.

Cheers,  
-Jonathan.

---

<div class="post-metadata">

**Author:** ![jonny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jonny](https://www.ruby-forum.com/u/jonny)\
**Post date:** [June 28, 2007, 3:34pm UTC](https://www.ruby-forum.com/t/threaderror-from-drb-server/108021/2 "2007-06-28T15:34:32Z")

</div>

On Thu, Jun 28, 2007 at 02:25:57PM +0200, Jonathan V. wrote:

> (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in  
> (druby:/localhost:9010)  
> /var/www/rails/balrog/releases/20070628045633/vendor/plugins/acts\_as\_ferret/lib/local\_index.rb:263:in  
> `reindex\_model’
> 
> ```
> .....
> 
> ```
> 
> Has anybody else had this before? Any ideas what could have caused it?  
> It’s only happened once. I’m using ferret 0.11.4 and aaf trunk.

Interesting. It might be because you ran your first search without  
having an index, so aaf triggered an automatic rebuild. Possible that  
this scenario hasn’t occured in my testing with the DRb server yet. I’ll  
try to reproduce this.

Jens

–  
Jens Krämer  
webit! Gesellschaft für neue Medien mbH  
Schnorrstraße 76 | 01069 Dresden  
Telefon +49 351 46766-0 | Telefax +49 351 46766-66  
removed\_email\_address@domain.invalid | [www.webit.de](http://www.webit.de)

Amtsgericht Dresden | HRB 15422  
GF Sven Haubold, Hagen Malessa
