SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anybody else having to restart mongrels because of steady memory growth?

    We're running Rails 2.1 on Ruby 1.8.6-p114. Our mongrel_rails processes keep growing slowly, but steadily. We're running 14 mongrels with 1.7 GB RAM, so when a mongrel starts to use over 100MB we're getting tight on memory.

    The process starts out with 45MB, goes to 60MB quickly, then slowly keeps growing, about 2MB per hour (about 5 req/min for each mongrel, not much load).

    Anybody else have this problem? Anybody running without any memory increase?

    Thank's
    Andrej

  2. #2
    SitePoint Addict
    Join Date
    Feb 2007
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What are the characteristics of the app. Does it use send_file? Also check your rails log file (production.log if you're running in production mode) for errors. Which brings up another question: Which mode are you running rails in, development or production? Are you using RMagick or other gems?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •