problem with swapoff -a
In our cluster, both the server and worker had been gone to swap and the performance is extremely slow. Although currently the memory is free but I don't know why the in the swap area is still being there and ubuntu doesn't move them to the memory and empty the swap.
On the other hand, when I run Code:
sudo swapoff -a Code:
mahmood@server:~$ sudo swapoff -a |
While switching off the swap, the running apps, doesn't know to take which memory. Is that apps cluster or OS Cluster?
|
I don't exactly what you mean but they are normal applications and not OS
|
some thing happened inside memory allocator. some thing junky-monkey :P
|
Quote:
swapoff is designed to fail if sufficient memory can't be allocated. |
Code:
mahmood@server:~$ cat /proc/meminfo |
Hi,
Quote:
Quote:
Hope this helps. |
how can i sort processes by memory usage? TOP command sort them by cpu usage
|
Hi,
Using top: Start top, press F or O and select the field you want to sort on. Hope this helps. |
Try to drop all caches from memory, but maybe first stop all main apps and then drop caches:
Code:
echo "3" > /proc/sys/vm/drop_caches Code:
echo "0" > /proc/sys/vm/drop_caches Also, this might not help, because from what I saw in /proc/meminfo, you don't seems to have too much caches objects, but you can always try. |
Thanks. I found the honger process and emptied the swap.
|
All times are GMT -5. The time now is 01:26 PM. |