[rt-users] RT flaky under FastCGI?

Vivek Khera vivek at khera.org
Sun Mar 12 21:31:09 EST 2006


On Mar 10, 2006, at 5:52 PM, Adam Bernstein wrote:

> The recurrence every morning must be related either to the cleaning  
> of old session data or the stop and start of Apache every night for  
> log rotation, except we can't replicate it via playing with the  
> session data and Apache stops/starts during the day, so I'm at a  
> loss.  Are people running RT under FastCGI with no problems?  Does  
> anyone happen to know of some bug that would explain this problem,  
> or at least have ideas as to how to pin it down further?

There used to be this effect called "the morning bug" which was often  
observed with apache and mod_perl.  It is observed when you have a DB  
that times out connections and a DB connection cache layer in your  
app that doesn't notice the DB went away.  The Apache::DBD got  
smarter and the problem mostly vanished.

I'd look to that timeout type of thing since you say it happens in  
the morning.

Also, FWIW, I run RT 3.4.4 from FreeBSD ports on a FreeBSD 6.0 system  
and apache2, perl 5.8.7.  The mod_fastcgi in apache 1 was not all  
that great.  If you can, try upgrading it all to the latest of  
everything, or at least move to apache2 and a newer mod_fastcgi.

Our setup is completely stable and pretty darned fast.




More information about the rt-users mailing list