Mongrel on Windows Server 2003 Results in 500 Errors


#1

Ok, here is the situation:

I need to run a mongrel server on windows server 2003. The application
it will be serving is an application that is frozen to rails 1.1.6.

We’re using mongrel 1.0 as the web server.

Every 10th request (random, sometimes more sometimes less), either
called through ajax or as a normal page request… dies with a 500
error. No logs are available anywhere, as far as the app is concerned
it’s behaving normally.

We are running mongrel “as a service”.

The parameters of the service are as follows:
“c:/ruby/bin/mongrel_service.exe” single -e development -p 80 -a
0.0.0.0 -l “log/mongrel.log” -P “log/mongrel.pid” -c “c:/webapps/
myapp” -t 0 -r “public” -n 1024


#2

You might want to ask this question of removed_email_address@domain.invalid


#3

My guess is a poorly configured application. We run Mongrel on those
specs
on at lest 10 apps with no problems whatsoever.

What type of db are you using? Is it MySQL? MySQL has issues on Windows
that
you need to address - you need a much better adapter like the mysql gem
or
the MySQL Ruby bindings. If you don’t have that you’ll get those random
500
errors.