Thanks for your help Johan! So far this seems to have done the trick.

Cheers,
Trevor

On Jun 16, 2:57 am, Johan Sørensen <[email protected]> wrote:
> Hi
>
> On Tue, Jun 16, 2009 at 9:38 AM, Trevor<[email protected]> wrote:
> > 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?
>
> Yeah, MySQL has a timeout limit on its clients (wait_timeout), and it
> sometimes happens if the wait_timeout is lower than activerecords. I
> think the proper thing to do would probably be do call
> ActiveRecord::Base.verify_active_connections! in the on_message method
> of the PushEventProcessor, that should make AR reconnect if any of the
> connections are dead.
>
> Could you try and add it (remember to restart mongrel/passenger) to
> you install and see if it solves it for you? Then I can add to master
>
> Cheers,
> JS
--~--~---------~--~----~------------~-------~--~----~
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