New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Interesting....
give ps_mem try
Hmmm... it also does not solve the memory calculation issue. as can be seen below the actual memory in use and the script's result are greatly apart.
On OpenVZ :
On KVM :
It makes me believe that there is no perfect program/script that can measure the exact memory in use by process on Linux.
Only below script (ps command) takes us closer to reality but only on KVM.
According to above output total memory in use is 79.62 MB which is closer to 86 MB reported by the free command.
Nah, ps_mem.py does real memory accounting. Again, useless in these VPSs
You shouldn't run Apache and PHP FPM As Root.
That's a problem..
Where is running as root?
You mean the master processes? That's a common configuration.
ps_mem won't total up to free -m 's value cuz of stuff like disk cache