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

Re: Postgresql wont restart. Can I clear shared memmory segments without rebooting?



On 02:39 Tue 05 Jan     , Stan Hoeppner wrote:
> Try these:
> 
> To free pagecache:
> 
> # echo 1 > /proc/sys/vm/drop_caches
> 
> To free dentries and inodes:
> 
> # echo 2 > /proc/sys/vm/drop_caches
> 
> To free pagecache, dentries and inodes:
> 
> echo 3 > /proc/sys/vm/drop_caches

this was very helpful. Exactly what I was looking for. I was able to read more about this
and hopefully next time it happens, I will understand how to proceed.
I was able to look this info about pagecache and shared memory up and learn about it!

Thank you very much!
Mitchell


Reply to: