Hi, we've been struggling with Gitorious for a few days on CentOS 5.3.
It seems to run ok for a day or two and then we see this error on a
push, and the push is not shown on the site. This is with only a
single user testing.

I am guessing this is the poller having issues writing events to the
DB? If we can resolve this.. are the events cached by Activemq so that
they will eventually be written to the site?

Does anyone know what causes it?

An exception occured in #<PushEventProcessor:0x2b69c060ac48
 @message=
  #<Stomp::Message:0x2b69c060f8d8
   @body=
    "{\"message\":\"a8bae07f9d5d1474bff5f8be3dbe8c5cf3da6291
df17587358cb7ec8009deb6f6cb18846b2d37fc5 refs\\/heads\\/master\",
\"username\":\"user\",\"gitdir\":\"5dd\\/547\\/
eb270158f8ef0e4abd5a4a675f8f358d49\"}",
   @command="MESSAGE",
   @headers=
    {"timestamp"=>"1245136070929",
     "message-id"=>
      "ID:amsterdam.company.com-47823-1245085363440-4:11:-1:1:1",
     "expires"=>"0",
     "destination"=>"/queue/GitoriousPushEvent",
     "content-type"=>"text/plain; charset=UTF-8",
     "priority"=>"0",
     "subscription"=>"push_event_processor",
     "content-length"=>"190"}>>
!

{"message":"a8bae07f9d5d1474bff5f8be3dbe8c5cf3da6291
df17587358cb7ec8009deb6f6cb18846b2d37fc5 refs\/heads\/
master","username":"user","gitdir":"5dd\/547\/
eb270158f8ef0e4abd5a4a675f8f358d49"}

ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone
away: SELECT * FROM `repositories` WHERE (`repositories`.`hashed_path`
= '5dd/547/eb270158f8ef0e4abd5a4a675f8f358d49')  LIMIT 1

/var/www/gitorious/vendor/rails/activerecord/lib/active_record/
connection_adapters/abstract_adapter.rb:212:in `log'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
connection_adapters/mysql_adapter.rb:320:in `execute'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
connection_adapters/mysql_adapter.rb:595:in `select'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
connection_adapters/abstract/database_statements.rb:7:in
`select_all_without_query_cache'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
connection_adapters/abstract/query_cache.rb:62:in `select_all'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
base.rb:661:in `find_by_sql'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
base.rb:1548:in `find_every'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
base.rb:1505:in `find_initial'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
base.rb:613:in `find'
        /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
base.rb:1900:in `find_by_hashed_path'
        /var/www/gitorious/app/processors/push_event_processor.rb:
30:in `on_message'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/processor.rb:32:in `process!'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:229:in `_dispatch'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:149:in `execute_filter_chain'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:228:in `_dispatch'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:219:in `each'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:219:in `_dispatch'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:200:in `dispatch'
        /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:197:in `dispatch'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:43:in `start'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:30:in `start'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:29:in `each'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:29:in `start'
        /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging.rb:109:in `start'
        /var/www/gitorious/vendor/plugins/activemessaging/poller.rb:14
        /home/git/.gem/ruby/1.8/gems/daemons-1.0.10/lib/daemons/
application.rb:176:in `load'
        /home/git/.gem/ruby/1.8/gems/daemons-1.0.10/lib/daemons/
application.rb:176:in `start_load'
        /home/git/.gem/ruby/1.8/gems/daemons-1.0.10/lib/daemons/
application.rb:253:in `start'
        /home/git/.gem/ruby/1.8/gems/daemons-1.0.10/lib/daemons/
controller.rb:69:in `run'
        /home/git/.gem/ruby/1.8/gems/daemons-1.0.10/lib/daemons.rb:
139:in `run'
        /home/git/.gem/ruby/1.8/gems/daemons-1.0.10/lib/daemons/
cmdline.rb:105:in `call'
        /home/git/.gem/ruby/1.8/gems/daemons-1.0.10/lib/daemons/
cmdline.rb:105:in `catch_exceptions'
        /home/git/.gem/ruby/1.8/gems/daemons-1.0.10/lib/daemons.rb:
138:in `run'
        /var/www/gitorious/script/poller:30

Thanks!
Trevor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to