Lack of resource on CentOS 7

General support questions
Post Reply
cuongnn
Posts: 4
Joined: 2019/05/14 04:26:39

Lack of resource on CentOS 7

Post by cuongnn » 2019/05/14 04:38:03

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.
Attachments
process.txt
(4.15 KiB) Downloaded 42 times

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Lack of resource on CentOS 7

Post by TrevorH » 2019/05/14 06:24:06

You haven't shown us any evidence of anything wrong.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cuongnn
Posts: 4
Joined: 2019/05/14 04:26:39

Re: Lack of resource on CentOS 7

Post by cuongnn » 2019/05/14 06:35:40

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

owl102
Posts: 413
Joined: 2014/06/10 19:13:41

Re: Lack of resource on CentOS 7

Post by owl102 » 2019/05/14 06:51:35

Maybe this is just a case of "Linux ate my RAM!" ?

https://www.linuxatemyram.com/
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Lack of resource on CentOS 7

Post by TrevorH » 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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cuongnn
Posts: 4
Joined: 2019/05/14 04:26:39

Re: Lack of resource on CentOS 7

Post by cuongnn » 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:
Attachments
vmstat1.PNG
vmstat1.PNG (5.57 KiB) Viewed 863 times
free1.PNG
free1.PNG (4.57 KiB) Viewed 864 times
htop
htop
htop1.PNG (121.17 KiB) Viewed 865 times

cuongnn
Posts: 4
Joined: 2019/05/14 04:26:39

Re: Lack of resource on CentOS 7

Post by cuongnn » 2019/05/14 07:49:58

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.
Attachments
ps1.txt
(4.92 KiB) Downloaded 38 times

Post Reply