I’m running on a VPS-style shared server at pipespring.com. I’ve got
Typo
setup, and have been running it fine for about a month.
However, today I got an e-mail from my host saying they disabled Ruby
(chmod
000) because it was using waaay too much swap space.
I haven’t changed anything with my server at all (Rails or otherwise) in
at
least a week.
I looked through the server, development and fastcgicrash logs but found
nothing that screamed “I’m messing this up!”
The server is up and running right now, seems to be fine. Running a ps
-ax
yields about 8 or 9 Ruby processes - earlier in the day (after I turned
enabled Ruby) it was spitting out like 30-40 processes after a single
request to my site.
My RoR processes (both SCGI and Webrick) eventually use up a lot of
memory too. I periodically restart them. I don’t know if there’s a max
memory setting, or option to automatically restart after so many
connections (like Apache can do with its child processes).
My RoR processes (both SCGI and Webrick) eventually use up a lot of
memory too. I periodically restart them. I don’t know if there’s a max
memory setting, or option to automatically restart after so many
connections (like Apache can do with its child processes).