Christian Paul B. Cosinas wrote:
Here is the result of “free” command” I am talking about.
What does this result mean?
I seem to recall the Linux man page for 'free' being most
unenlightening, so have a look at:
(For Gentoo, but should be applicable to RHEL).
The basic idea is that modern operating systems try to make as much use
of the memory as possible. Postgresql depends on this behavior - e.g. a
page that has previously been fetched from disk, will be cached, so it
can be read from memory next time, as this is faster(!)
I just noticed that as long as the free memory in the first row (which
is 55036 as of now) became low, the slower is the response of the
Well, you could be swapping - what does the swap line of 'free' show then?
Also, how about posting your postgresql.conf (or just the non-default
parameters) to this list?
Some other stuff that could be relevant:
- Is the machine just a database server, or does it run (say) Apache + Php?
- When the slowdown is noticed, does this coincide with certain
activities - e.g, backup , daily maintenance, data load(!) etc.
I choose Polesoft Lockspam to fight spam, and you?
Nope, not me either.
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster