Re: measuring shared memory on linux (was [Fwd: Re: /proc/*/statm, exactly what does "shared" mean?)]

2005-02-15 Thread Steven Lembark
Me too, but I'm not holding my breath. We can find out how much total memory is free though, at least on Linux. That particular information is far from being useful, since there is the cache. On my (linux) machine I have 0MB of free memory and 400-500MB of cached buffers. So on linux one needs to

Re: measuring shared memory on linux (was [Fwd: Re: /proc/*/statm, exactly what does "shared" mean?)]

2005-02-15 Thread Salve J Nilsen
Suddenly, Perrin Harkins uttered: On Mon, 2005-02-14 at 18:45 -0500, Stas Bekman wrote: that approach is not very practical if change your code base constantly. Since you will have to retune things every time you change your code. I know, it's terrible, but it's all I've come up with so far. Perhap

Re: measuring shared memory on linux (was [Fwd: Re: /proc/*/statm, exactly what does "shared" mean?)]

2005-02-15 Thread Stas Bekman
Perrin Harkins wrote: On Mon, 2005-02-14 at 18:45 -0500, Stas Bekman wrote: that approach is not very practical if change your code base constantly. Since you will have to retune things every time you change your code. I know, it's terrible, but it's all I've come up with so far. Maybe we need t

Re: measuring shared memory on linux (was [Fwd: Re: /proc/*/statm, exactly what does "shared" mean?)]

2005-02-15 Thread Perrin Harkins
On Mon, 2005-02-14 at 18:45 -0500, Stas Bekman wrote: > that approach is not very practical if change your code base constantly. > Since you will have to retune things every time you change your code. I know, it's terrible, but it's all I've come up with so far. Maybe we need to rethink how the

Re: measuring shared memory on linux (was [Fwd: Re: /proc/*/statm, exactly what does "shared" mean?)]

2005-02-14 Thread Stas Bekman
Perrin Harkins wrote: [...] It seems that to tune properly you would need to send in requests with a benchmarking tool and keep adjusting MaxClients upward while watching the free memory on the box. That's really ugly. Maybe there's a way to count memory used by each process slowly but accurately

Re: measuring shared memory on linux (was [Fwd: Re: /proc/*/statm, exactly what does "shared" mean?)]

2005-02-14 Thread Richard F. Rebel
On Mon, 2005-02-14 at 17:39 -0500, Perrin Harkins wrote: > > Thanks for pursuing that issue at the linux kernel list, Richard. As you > > have suggested it doesn't look very good. > > I want to add my thanks too. You are welcome. I wish I wasn't the bearer of such bad news tho. > Or on anythin

Re: measuring shared memory on linux (was [Fwd: Re: /proc/*/statm, exactly what does "shared" mean?)]

2005-02-14 Thread Perrin Harkins
On Sat, 2005-02-12 at 11:43 -0500, Stas Bekman wrote: > Richard F. Rebel wrote: > > Hello Perrin and other modperl users, > > > > I have forwarded an email from Hugh Dickens as a follow up on recent > > discussion of mod_perl+apache forked children and copy-on-write pages. > > Thanks for pursuing

measuring shared memory on linux (was [Fwd: Re: /proc/*/statm, exactly what does "shared" mean?)]

2005-02-12 Thread Stas Bekman
Richard F. Rebel wrote: Hello Perrin and other modperl users, I have forwarded an email from Hugh Dickens as a follow up on recent discussion of mod_perl+apache forked children and copy-on-write pages. Thanks for pursuing that issue at the linux kernel list, Richard. As you have suggested it doesn