Raghu Srinivasan
2008-Dec-26 17:04 UTC
[Backgroundrb-devel] ''stack level too deep'' error
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>
Yes, this has been fixed long back in recent versions of Packet library. The problem is, the protocol parser used in 0.1.6 is recursive and throws StackLevel too deep errors. Recent versions come with iterative parser and hence do not have this problem. On Fri, 2008-12-26 at 09:04 -0800, Raghu Srinivasan wrote:> 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 > > > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
Raghu Srinivasan
2008-Dec-26 18:21 UTC
[Backgroundrb-devel] ''stack level too deep'' error
The latest version of Packet seems to be 0.1.14. Can I just upgrade the packet gem and be done with it or are there any dependencies with Backgroundrb and chronic etc? Appreciate your quick response, Hemant. Raghu On Fri, Dec 26, 2008 at 9:36 AM, hemant kumar <gethemant at gmail.com> wrote:> Yes, this has been fixed long back in recent versions of Packet library. > The problem is, the protocol parser used in 0.1.6 is recursive and > throws StackLevel too deep errors. Recent versions come with iterative > parser and hence do not have this problem. > > > > On Fri, 2008-12-26 at 09:04 -0800, Raghu Srinivasan wrote: > > 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 > > > > > > _______________________________________________ > > Backgroundrb-devel mailing list > > Backgroundrb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/backgroundrb-devel > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20081226/7c6d6ff1/attachment-0001.html>
On Fri, Dec 26, 2008 at 11:51 PM, Raghu Srinivasan <raghu.srinivasan at gmail.com> wrote:> The latest version of Packet seems to be 0.1.14. Can I just upgrade the > packet gem and be done with it or are there any dependencies with > Backgroundrb and chronic etc? > Appreciate your quick response, Hemant.Well, yes 0.1.14 version of Packet is only compatible with github master of BackgrounDRb (or svn trunk will do as well). I am well aware of your previous problems while upgrading to latest version. May be, you can start a brand new rails project install the dependencies and it give it a shot and see if it works. If it doesn''t send me your sample project in a tar.gz and I will see what has gone wrong. But yes, there are API changes in latest version of bdrb (but its a lot more stable)
On Sat, Dec 27, 2008 at 12:28 AM, hemant <gethemant at gmail.com> wrote:> On Fri, Dec 26, 2008 at 11:51 PM, Raghu Srinivasan > <raghu.srinivasan at gmail.com> wrote: >> The latest version of Packet seems to be 0.1.14. Can I just upgrade the >> packet gem and be done with it or are there any dependencies with >> Backgroundrb and chronic etc? >Or if you are _really_ stuck with the version of bdrb and packet, you can take packet_parser.rb file from latest gem of packet and replace it with BinParser file in old packet distribution. Just watchout for module/namespaces and you should be good to go.