Re: BUG #4575: All page cache in shared_buffers pinned (duplicated by OS, always) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4575: All page cache in shared_buffers pinned (duplicated by OS, always)
Date
Msg-id 11220.1229030184@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #4575: All page cache in shared_buffers pinned (duplicated by OS, always)  (Scott Carey <scott@richrelevance.com>)
Responses Re: BUG #4575: All page cache in shared_buffers pinned (duplicated by OS, always)  (Scott Carey <scott@richrelevance.com>)
List pgsql-bugs
Scott Carey <scott@richrelevance.com> writes:
> I am 99.9% certian its not a fluke of "top" (or 'free').  Or a fluke with the drop_caches linux vm signal.
Otherwise,the system would not spin at 100% System cpu getting no work done if an attempt to allocate memory above that
threshold,the original symptom that led me down this path of investigation. 

That's certainly a kernel bug.

> If there are any ideas on how I could truly distinguish where this bug actually is, or further characterize it in
waysthat would be useful to that end, that would be great. 

It's in the kernel.  Userland doesn't have any way to "pin" OS disk cache
pages in memory, which AFAICT is what you are claiming happens.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Ahmed Shinwari"
Date:
Subject: ECPG Preprocessor throws Syntax Error [Devel Repository]
Next
From: Michael Meskes
Date:
Subject: Re: ECPG Preprocessor throws Syntax Error [Devel Repository]