Hello,
now I have some more information:
Today I have started with a clean setup, (dumped database from left and restored it on the right),
After that i started rubyrep replicate and everything worked fine for a few hours, then i got the following exception and the process hangs again with 100% cpu load.
Starting replication
2013-03-25T07:44:35+01:00 Exception caught: undefined method `next?' for nil:NilClass
(druby://
192.168.1.226:9876) org/jruby/RubyKernel.java:2051:in `send'
(druby://
192.168.1.226:9876) /usr/local/rubyrep-1.2.0/./jruby/lib/ruby/1.8/drb/drb.rb:1593:in `perform_without_block'
(druby://
192.168.1.226:9876) /usr/local/rubyrep-1.2.0/./jruby/lib/ruby/1.8/drb/drb.rb:1553:in `perform'
(druby://
192.168.1.226:9876) /usr/local/rubyrep-1.2.0/./jruby/lib/ruby/1.8/drb/drb.rb:1627:in `main_loop'
(druby://
192.168.1.226:9876) org/jruby/RubyKernel.java:1418:in `loop'
(druby://
192.168.1.226:9876) /usr/local/rubyrep-1.2.0/./jruby/lib/ruby/1.8/drb/drb.rb:1623:in `main_loop'
(druby://
192.168.1.226:9876) org/jruby/RubyProc.java:268:in `call'
(druby://
192.168.1.226:9876) org/jruby/RubyProc.java:232:in `call'
/usr/local/rubyrep-1.2.0/lib/rubyrep/noisy_connection.rb:21:in `next?'
/usr/local/rubyrep-1.2.0/lib/rubyrep/logged_change_loader.rb:112:in `update'
AbstractScript.java:41:in `(root)'
/usr/local/rubyrep-1.2.0/lib/rubyrep/logged_change_loader.rb:30:in `update'
/usr/local/rubyrep-1.2.0/lib/rubyrep/logged_change_loader.rb:30:in `each'
/usr/local/rubyrep-1.2.0/lib/rubyrep/logged_change_loader.rb:30:in `update'
/usr/local/rubyrep-1.2.0/lib/rubyrep/replication_run.rb:52:in `load_difference'
/usr/local/rubyrep-1.2.0/lib/rubyrep/replication_run.rb:85:in `run'
/usr/local/rubyrep-1.2.0/lib/rubyrep/replication_run.rb:83:in `loop'
/usr/local/rubyrep-1.2.0/lib/rubyrep/replication_run.rb:83:in `run'
/usr/local/rubyrep-1.2.0/lib/rubyrep/replication_run.rb:80:in `run'
/usr/local/rubyrep-1.2.0/lib/rubyrep/replication_runner.rb:123:in `execute_once'
/usr/local/rubyrep-1.2.0/lib/rubyrep/task_sweeper.rb:14:in `timeout'
/usr/local/rubyrep-1.2.0/lib/rubyrep/task_sweeper.rb:62:in `timeout'
org/jruby/RubyProc.java:268:in `call'
org/jruby/RubyProc.java:232:in `call'
2013-03-25T08:34:10+01:00 Exception caught: undefined method `next?' for nil:NilClass
When I try to restart rubyrep afterwards, the process hangs and rr_pending_changes fills up and nothing gets replicated.
I'm running postgresql 9.2.1 and rubyrep 1.2.0
Has anybody a clue whats wrong here?
Cheers
Christian