[Rails] Re: Tracking Down a Memory Leak

2009-11-18 Thread Phoenix Rising
Thank you all for the replies! > If you yourself are seeing that the Ruby processes aren't using all of > the memory, why are you thinking the Ruby application is using all of > the memory? As some others have said, ***basically*** the total memory > usage reported by top and free is that which th

[Rails] Re: Tracking Down a Memory Leak

2009-11-18 Thread pharrington
On Nov 17, 1:37 pm, Phoenix Rising wrote: > The first application is a public-facing e-commerce website.  It has > ZERO performance issues - things load incredibly fast (both in terms > of end-user experience and milliseconds of rendering time on the > server side [visible through production.log])

[Rails] Re: Tracking Down a Memory Leak

2009-11-18 Thread vwchris
High memory usage in Linux is not necessarily a Bad Thing (tm). As stated earlier, Linux systems use memory for caching filesystem and other things. This will result in memory usage growing over a period of time while the machine is up. The system will free this memory as necessary when applicat

Re: [Rails] Re: Tracking Down a Memory Leak

2009-11-18 Thread Peter De Berdt
On 18 Nov 2009, at 08:46, Phoenix Rising wrote: > Yeah I'm using top to measure resource usage. I'll reboot a server > (virtual server of course), and at boot time memory usage is maybe > ~200mb. After a few days it's skyrocketed to consume all 2GB in the > case of the smaller application serve

[Rails] Re: Tracking Down a Memory Leak

2009-11-17 Thread Phoenix Rising
Yeah I'm using top to measure resource usage. I'll reboot a server (virtual server of course), and at boot time memory usage is maybe ~200mb. After a few days it's skyrocketed to consume all 2GB in the case of the smaller application server we tested (haven't messed with the other one since it's

[Rails] Re: Tracking Down a Memory Leak

2009-11-17 Thread Jeffrey L. Taylor
Quoting Phoenix Rising : > > Hey all, > > I have a weird situation. I've got two different rails applications > running right now that seem to consume as much memory as exists on the > host machine. > First, how are you measuring the memory usage figures. The reason is Linux will use most of

[Rails] Re: Tracking Down a Memory Leak

2009-11-17 Thread Norm Scherer
Phoenix Rising wrote: Hey all, I have a weird situation. I've got two different rails applications running right now that seem to consume as much memory as exists on the host machine. The first application is a public-facing e-commerce website. It has ZERO performance issues - things lo