I have a program that becomes a simple Ruby live on the rail server, on the server the data between the computer on the same network Used to communicate and organize. I have not done anything for Ruby's content, I've used Scaffold to generate 3 models and that's it. The problem is that is starts many HTTP requests ~ = 10 minutes) server lag between the time (computer and server and just always hang, I kill the server script and forced to restart it . Any help / suggestions?
Are you running in development mode or have ceased class caching?
To start kissing some problems, it is not uncommon to find the running system in development mode when you are working and can only restart dev server, such a big deal But you may have a lot of trouble after a working system.
The main problem is in config / environment / development. Rb:
# The code for your application in the # environment of the environment is reloaded on each request. It slows down the response time, but is perfect for the development of # when you do not need to restart the server to change the code Config.cache_classes = false It is not only feedback Time slows down, but it can slow down memory leaks and unexpected behavior over time.
Comments
Post a Comment