Cached Memory increasing up and drop the caches through sync; echo 1 > /proc/sys/vm/drop_caches

From: "AL-Temimi, Muthana" <muthana(dot)al-temimi(at)tu-harburg(dot)hamburg(dot)de>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Cached Memory increasing up and drop the caches through sync; echo 1 > /proc/sys/vm/drop_caches
Date: 2015-07-06 07:50:48
Message-ID: 24F2E095E199B041912675E4E3BBA011BA48E164@WEXCPPA018.fhhnet.stadt.hamburg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello there,

is there any problem if I use the following command: "sync; echo 1 > /proc/sys/vm/drop_caches" to release the cached memory on linux server.

Because I have a problem with cached memory on the linux Server beacaue there are increasing in cached memory till swap. Therefore I'm looking for workaround job works daily night to release the cached memory.

But if I used it will be there a lost in information. I used the sync before drop the caches.

Any help will be gratefull

Muthana AL-Temimi
M.Sc. Informations- und Kommunikations-Systeme

Technische Universitaet Hamburg Harburg
-Rechenzentrum-
Am Schwarzenberg-Campus 3
D-21073 Hamburg

Tel.: +49.40.42878.2338
Fax.: +49.40.42793.5160
E-Mail: m(dot)al(at)tu-harburg(dot)de<mailto:m(dot)al(at)tu-harburg(dot)de>
http://www.tu-harburg.de/rzt

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alberto Olivares 2015-07-06 08:35:22 Re: SQL command in Slave Database - Monitor Replication
Previous Message Geo P.C. 2015-07-06 04:24:05 Running two postgresql servers in same Ubuntu machine