I get those all the time. I have mostly alleviated the issue by telling the 
Rails installation to always have at least one copy of gitorious running at all 
times. That mostly fixes it but I'll still get the error if gitorious hasn't 
been used for a few days.

 This is on a 32 bit Ubuntu 10.04 LTS server installation.

Mike Jackson
scm.bluequartz.net

On Mar 15, 2011, at 10:30 AM, Jarrod Roberson wrote:

> Every person that does a push causes an email to be sent to me with
> this error.
> I restarted httpd and mysqld but I am still getting these error
> emails.
> I am running a copy of mainline from early last week:
> 
> commit f09a50460d9bc621fa9e31a2d0b03f9f04374d46
> Author: Christian Johansen <[email protected]>
> Date:   Mon Mar 7 14:56:02 2011 +0100
> 
> Does anyone have any idea, what this is?
> Is it critical?
> How do I fix it?
> 
> An exception occured in #<PushProcessor:0xb6a3d20
> @message=
> #<Stomp::Message:0xb6a60fc
>  @body=
>   "{\"username\":\"yogomayamaharana\",\"gitdir\":\"d77/8de/
> 0f44c2ccc021f5e36a8131cff62e5be159\",\"message\":
> \"d4f7f33d919bc669670bdae072de0e67b31705b2
> 78c9d4633452a8f79714f037ecc60d86b3eda38d refs/heads/master\"}",
>  @command="MESSAGE",
>  @headers=
>   {"persistent"=>"true",
>    "destination"=>"/queue/GitoriousPush",
>    "content-type"=>"text/plain; charset=UTF-8",
>    "content-length"=>"197"}>>
> !
> 
> {"username":"yogomayamaharana","gitdir":"d77/8de/
> 0f44c2ccc021f5e36a8131cff62e5be159","message":"d4f7f33d919bc669670bdae072de0e67b31705b2
> 78c9d4633452a8f79714f037ecc60d86b3eda38d refs/heads/master"}
> - Hide quoted text -
> 
> ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone
> away: SELECT * FROM `users` WHERE (`users`.`login` =
> 'yogomayamaharana')  LIMIT 1
> 
> /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract_adapter.rb:219:in `log'
>       /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
> connection_adapters/mysql_adapter.rb:323:in `execute'
>       /var/www/gitorious/vendor/rails/activerecord/lib/active_record/
> connection_adapters/mysql_adapter.rb:608: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_login'
>       /var/www/gitorious/app/processors/push_processor.rb:65:in
> `parse_message'
>       /var/www/gitorious/app/processors/push_processor.rb:25: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'
>       /var/www/gitorious/vendor/plugins/activemessaging/lib/
> activemessaging/gateway.rb:197: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
>       /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
> daemons-1.1.0/lib/daemons/application.rb:203:in `load'
>       /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
> daemons-1.1.0/lib/daemons/application.rb:203:in `start_load'
>       /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
> daemons-1.1.0/lib/daemons/application.rb:292:in `start'
>       /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
> daemons-1.1.0/lib/daemons/controller.rb:70:in `run'
>       /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
> daemons-1.1.0/lib/daemons.rb:143
>       /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
> daemons-1.1.0/lib/daemons/cmdline.rb:112:in `call'
>       /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
> daemons-1.1.0/lib/daemons/cmdline.rb:112:in `catch_exceptions'
>       /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
> daemons-1.1.0/lib/daemons.rb:142:in `run'
>       /var/www/gitorious/script/poller:30
> 
> -- 
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to