[Backgroundrb-devel] 'stack level too deep' error

Raghu Srinivasan raghu.srinivasan at gmail.com
Fri Dec 26 12:04:41 EST 2008


What might be causing this error? I see it once in 2-3 days and it goes away
when I restart backgroundrb. Quoted below is
my backgroundrb_server_11007.log file. Can I do anything to avoid this?
Thanks,
Raghu

==================================================================================
/usr/lib/ruby/1.8/monitor.rb:224:in `mon_exit': stack level too deep
(SystemStackError)
       from /usr/lib/ruby/1.8/monitor.rb:244:in `synchronize'
       from /usr/lib/ruby/1.8/logger.rb:496:in `write'
       from /usr/lib/ruby/1.8/logger.rb:326:in `add'
       from /usr/lib/ruby/1.8/logger.rb:374:in `info'
       from /home/raghus/public_html/
feedflix.com/ff/vendor/plugins/backgroundrb/server/lib/log_worker.rb:17:in`process_request'
       from /home/raghus/public_html/
feedflix.com/ff/vendor/plugins/backgroundrb/server/lib/log_worker.rb:10:in`receive_data'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:56:in
`receive_internal_data'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_parser.rb:38:in
`call'
        ... 13 levels...
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47:in
`new'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47
       from /usr/bin/packet_worker_runner:19:in `load'
       from /usr/bin/packet_worker_runner:19
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:41:in
`write_once': Packet::DisconnectError (Packet::DisconnectError)
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:52:in
`write_and_schedule'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:16:in
`each_with_index'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:51:in
`each'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:51:in
`each_with_index'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:51:in
`write_and_schedule'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:166:in
`handle_write_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:163:in
`each'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:163:in
`handle_write_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:135:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:126:in
`loop'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:126:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_master.rb:21:in
`run'
       from /home/raghus/public_html/
feedflix.com/ff/vendor/plugins/backgroundrb/server/lib/master_worker.rb:167:in`initialize'
       from ./script/backgroundrb:46:in `new'
       from ./script/backgroundrb:46
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_nbio.rb:25:in
`read_data': Packet::DisconnectError (Packet::DisconnectError)
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:49:in
`handle_internal_messages'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:179:in
`handle_read_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:177:in
`each'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:177:in
`handle_read_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:133:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:126:in
`loop'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:126:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:21:in
`start_worker'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:33:in
`load_worker'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:26:in
`initialize'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47:in
`new'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47
       from /usr/bin/packet_worker_runner:19:in `load'
       from /usr/bin/packet_worker_runner:19
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_nbio.rb:25:in
`read_data': Packet::DisconnectError (Packet::DisconnectError)
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:49:in
`handle_internal_messages'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:179:in
`handle_read_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:177:in
`each'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:177:in
`handle_read_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:133:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:126:in
`loop'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:126:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:21:in
`start_worker'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:33:in
`load_worker'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:26:in
`initialize'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47:in
`new'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47
       from /usr/bin/packet_worker_runner:19:in `load'
       from /usr/bin/packet_worker_runner:19
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_nbio.rb:25:in
`read_data': Packet::DisconnectError (Packet::DisconnectError)
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:49:in
`handle_internal_messages'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:179:in
`handle_read_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:177:in
`each'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:177:in
`handle_read_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:133:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:126:in
`loop'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:126:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:21:in
`start_worker'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:33:in
`load_worker'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:26:in
`initialize'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47:in
`new'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47
       from /usr/bin/packet_worker_runner:19:in `load'
       from /usr/bin/packet_worker_runner:19
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_nbio.rb:25:in
`read_data': Packet::DisconnectError (Packet::DisconnectError)
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:49:in
`handle_internal_messages'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:179:in
`handle_read_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:177:in
`each'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:177:in
`handle_read_event'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:133:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:126:in
`loop'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_core.rb:126:in
`start_reactor'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/../lib/packet/packet_worker.rb:21:in
`start_worker'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:33:in
`load_worker'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:26:in
`initialize'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47:in
`new'
       from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.6/bin/packet_worker_runner:47
       from /usr/bin/packet_worker_runner:19:in `load'
       from /usr/bin/packet_worker_runner:19
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20081226/8d43faca/attachment-0001.html>


More information about the Backgroundrb-devel mailing list