Thursday, December 4, 2014

Fix slow linux problem without restarting the server (during EM Cloud Control 12c Installation)

[oracle@em12c ~]$ sudo su -
[root@em12c ~]# free
             total       used       free     shared    buffers     cached
Mem:      10806464    8677960    2128504    1247780      81344    7395976
-/+ buffers/cache:    1200640    9605824
Swap:     17407996      20340   17387656
[root@em12c ~]#
[root@em12c ~]# sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"
[root@em12c ~]#
[root@em12c ~]#
[root@em12c ~]# free
             total       used       free     shared    buffers     cached
Mem:      10806464    2256236    8550228    1247780       1692    1331976
-/+ buffers/cache:     922568    9883896
Swap:     17407996      20340   17387656