Problem with recent Ruby update and Rails/Lighttpd

Jonathan Weiss jw at innerewut.de
Thu Jan 19 10:49:02 PST 2006


Pav Lucistnik wrote:
> Jonathan Weiss píše v čt 19. 01. 2006 v 01:57 +0100:
>> Cheers,
>>
>> After updating to Ruby 1.8.4 on a 6-STABLE machine I'm getting this
>> error with Lighttpd 1.4.8/Rails 1.0:
>>
>> /usr/local/lib/ruby/1.8/monitor.rb:218: [BUG] cross-thread violation on
>> rb_thread_schedule()
>> ruby 1.8.4 (2005-12-24) [i386-freebsd6]
>>
>> I get this sporadicly on the console that started lighttpd. Nothing
>> crashes but this error keeps coming up.
> 
> Does it affect the served pages?
> 

I am not sure, the pages are served correctly but every where and then I 
get an empty page and this in logs:

Mysql::Error (Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2)):
 
/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:316:in 
`real_connect'
...
..
.

I'am not sure if this is related but I never got these errors on a 
Debian box where the application resided until recently.

> You may also try to reinstall ruby without pthreads and see if that
> helps.
> 

I will try this.

Thanks,
Jonathan


-- 
Jonathan Weiss
http://blog.innerewut.de


More information about the freebsd-ports mailing list