Re: Inactive memory Grows unlimited
От | Matteo Beccati |
---|---|
Тема | Re: Inactive memory Grows unlimited |
Дата | |
Msg-id | 444C63F9.7000306@beccati.com обсуждение исходный текст |
Ответ на | Re: Inactive memory Grows unlimited (Alvaro Herrera <alvherre@commandprompt.com>) |
Список | pgsql-performance |
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
В списке pgsql-performance по дате отправления: