Strange mongrel behavior

hi experts,

I am using mongrel server on windows 2000 for a small rails application and this is test version for now. Very rarely, when I click a link, the entire web app freeze.(BTW, this happened very rarely.) If that happens, no link works and I dont get any info from the log file. It looks like to me, mongrel server got stuck somewhere. The only option is restarting server. If I stop the server, it prints all the unexecuted log statement prints out.
BTW, I use this command to run the mongrel server

Ruby script/server e test p 4001

Has anyone ever experience this?

BTW, is this OK to use mongrel server for production if this rails app is small and has a few users?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Well, if you're running in the test environment, this could be an issue.  Test environment is for running your automated tests.  Use production or development for actually viewing the application in a browser.

That's the first thing I'd try.  If you're working with it locally, use development because it reloads the files for each request (good for if you change something and want to see it right away!)  If you've put it on a separate server for others to use, use production (doesn't reload requests, so it's quicker).

Can you clarify "If I stop the server, it prints all the unexecuted log statement print out."?  When you hit control-c, that 'unsticks' the process and it shows you the click that you've been waiting on?

Mongrel is fine for production environments.  I run all of my production apps with mongrel.

You can set up mongrel as a cluster if you need to, so that allows you to have multiple mongrels instances running.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dkim18Author Commented:
Ok, that is good to know. Actually, when I ran it for production environment, I don't think I had this issue. I will bring up this issue again if I experience same thing.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.