Out of curiosity is your server a 32 or 64 bit server? I *thought* I only had 
the problem with 32 bit servers but I may not have been waiting long enough on 
my 64 bit side.

I think I ended up hacking something into the Ruby code to try the reconnect 
first. I also setup my server to always have an instance of Gitorious running 
which slowed down the issues to about once a week. 

Not that any of that really helps.

Mike Jackson
scm.bluequartz.net

On Mar 28, 2011, at 12:49 PM, Jarrod Roberson wrote:

> I am still getting this message, dozens and dozens of times a day.
> Everytime this is apparently the root cause.
> 
> ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone
> away: SELECT * FROM `users` WHERE (`users`.`login` = 'vibhav')  LIMIT
> 1
> 
> I made the following changes to my application in the database.yml
> file as suggested and it didn't affect the problem at all.
> 
> production:
>   adapter: mysql
>   database: gitorious_production
>   username: root
>   password: **********
>   host: localhost
>   encoding: utf8
>   reconnect: true
> 
> I restarted Apache, I am running Gitorious under passenger. Can
> someone please tell me how to fix this, it just started happening a
> few weeks ago, and I have not changed anything on the server related
> Gitorious when these errorsr started showing up.
> 
> -- 
> 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