This is my second question on the poor performance of webrick
(previously I had a problem with Ajax).
I have a somewhat simple Rails application which works just fine, but
when I come back to work the next day, the server responds with error
500. It looks like if it is running more than 12 hours, it’ll crap-out.
I don’t use CVS (which I read on the web it is a common cause of this
type of error), I’m not using fastcgi (since I’m not running Apache), so
what is it happening?
The log file does not contain any error messages and no errors are
printed in the console which started the server (except the IP +
requested page + 500).
Has anyone noticed this kind of issue before?
Hmmm, I haven’t thought about that. It sort of makes sense, since if I
go to http://localhost:3000/, the Ruby on Rails welcome page does
display correctly.
I also noticed that if I leave my Visual Studio project open on the same
machine, my ODBC Data Connection to the database is timed-out (so I have
to Refresh it).
Still, I was expecting some detailed messages from webrick.
I’m pretty sure there are firewalls in between the webserver and the
database, but how can I control them to stop this time-out issue?
On Nov 3, 3:13 am, Mr_Tibs [email protected] wrote:
I’m using Apache + monrel_cluster and it is great. However, my
database connection still times out.
CCH: Then you should check out your database settings etc