Re: Inactive memory Grows unlimited

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The amount of Inactive memory Grows unlimited .... this happens only when Postgresql (8.1.1) is running... after a few days it "eats" all the RAM memory ... so I've have to restart the server to free RAM....

This is normal Unix behavior.  Leave it running for a few more days and
you'll that nothing wrong happens.  Why do you think you need "free"
memory?

Only if the swap memory start getting used a lot you need to worry about
memory consumption.

You should upgrade to 8.1.3 BTW.

Also, shared_buffers seem too low and work_mem too much high for your setup:

shared_buffers = 1000
work_mem = 131076

You should really raise shared_buffers and decrease work_mem: 1000 shared_buffers is probably too conservative. On the other hand 128MB per sort could be eating your RAM quickly with 18 users connected.


Best regards
--
Matteo Beccati
http://phpadsnew.com
http://phppgads.com


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux