Page 1 of 1

Lack of resource on CentOS 7

Posted: 2019/05/14 04:38:03
by cuongnn
Dear all,

I have problem with the resource on CentOS 7 when i show with htop and free command. My server are running Tomcat 8.5.39 ( hosting java website) and Postgresql-11, I have already stop these services but the memory used is still high and I cannot find what process is taking it . Could you suggest me the solution to check this case ?

I also attach the screenshot and the list of process by ps command.
Thanks so much.

Re: Lack of resource on CentOS 7

Posted: 2019/05/14 06:24:06
by TrevorH
You haven't shown us any evidence of anything wrong.

Re: Lack of resource on CentOS 7

Posted: 2019/05/14 06:35:40
by cuongnn
TrevorH wrote:
2019/05/14 06:24:06
You haven't shown us any evidence of anything wrong.
Hello TrevorH

The total memory resource of all process in ps command is too small but in htop it show around 5 GB, therefore i want to know which process is take more resource.

Thanks

Re: Lack of resource on CentOS 7

Posted: 2019/05/14 06:51:35
by owl102
Maybe this is just a case of "Linux ate my RAM!" ?

https://www.linuxatemyram.com/

Re: Lack of resource on CentOS 7

Posted: 2019/05/14 07:05:59
by TrevorH
How about you show us the output from `top` - you did say you had a screenshot but it's missing.

Re: Lack of resource on CentOS 7

Posted: 2019/05/14 07:24:50
by cuongnn
TrevorH wrote:
2019/05/14 07:05:59
How about you show us the output from `top` - you did say you had a screenshot but it's missing.
Thanks TrevorH

I attach the screenshot again, but i think in my case it doesn't related to disk caching because i see that the system also use the swap file :roll:

Re: Lack of resource on CentOS 7

Posted: 2019/05/14 07:49:58
by cuongnn
cuongnn wrote:
2019/05/14 07:24:50
TrevorH wrote:
2019/05/14 07:05:59
How about you show us the output from `top` - you did say you had a screenshot but it's missing.
Thanks TrevorH

I attach the screenshot again, but i think in my case it doesn't related to disk caching because i see that the system also use the swap file :roll:
The total process at the moment.