Re: deadlock (fatal)
Shugo Maeda <[email protected]> Tue, 23 Jan 2007 17:35:10 +0900
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi, SteveC wrote: > I keep getting this > > [Thu Jan 18 15:29:08 2007] [error] mod_ruby: > /usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `value': Thread(0xb7009748): > deadlock (fatal) > [Thu Jan 18 15:29:08 2007] [error] mod_ruby: error in ruby > > > in my logs. I have just one ruby script which reads some params and > spits something from a database. It succeeds about half the time, the > other half I get the error above. Could you show me your script? Are you using threads in your script? SteveC wrote: > Could it be anything to do with it being a multiprocessor box? The thread support of Ruby 1.8 is user-level, so there is no problem with multiprocessor. But if you are using threaded MPM, mod_ruby may not work correctly. Shugo