# Mongrel on Windows Server 2003 Results in 500 Errors

**URL:** <https://www.ruby-forum.com/t/mongrel-on-windows-server-2003-results-in-500-errors/88609>\
**Category:** Rails\
**Created:** [March 13, 2007, 12:20am UTC](https://www.ruby-forum.com/t/mongrel-on-windows-server-2003-results-in-500-errors/88609 "2007-03-13T00:20:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Codemonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecc23a/32.png) [@Codemonk](https://www.ruby-forum.com/u/Codemonk)\
**Post date:** [March 13, 2007, 12:20am UTC](https://www.ruby-forum.com/t/mongrel-on-windows-server-2003-results-in-500-errors/88609/1 "2007-03-13T00:20:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Codemonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecc23a/32.png) [@Codemonk](https://www.ruby-forum.com/u/Codemonk)\
**Post date:** [March 14, 2007, 3:50am UTC](https://www.ruby-forum.com/t/mongrel-on-windows-server-2003-results-in-500-errors/88609/2 "2007-03-14T03:50:24Z")

</div>

You might want to ask this question of removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![Codemonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecc23a/32.png) [@Codemonk](https://www.ruby-forum.com/u/Codemonk)\
**Post date:** [March 14, 2007, 4:00am UTC](https://www.ruby-forum.com/t/mongrel-on-windows-server-2003-results-in-500-errors/88609/3 "2007-03-14T04:00:25Z")

</div>

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.
