• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 545
  • Last Modified:

htop retuns dozewns of the same process on RHEL

Hi,
I havea slow machine, and when i run htop on it, it shows all ram is used, and there are many same-named processes that are running.  top does not return that many process..  Is that possible that i have that many java process on my box??
Processes.PNG
0
icongo
Asked:
icongo
  • 2
1 Solution
 
Duncan RoeSoftware DeveloperCommented:
The extra "processes" are probably threads. To confirm, go to htop's setup screen and check the box to show threads in a different colour.
It does look like your memory is all used - I've always found Java to be pretty memory hungry. You could confirm in a command window by running free. Green bars from htop are really used memory - on my lightly loaded system I also see light blue and yellow bars for buffers and cache (not sure which is which - only just installed it :)
Top never shows individual threads. That is why htop shows you so many more entries.
0
 
Duncan RoeSoftware DeveloperCommented:
You're also using almost 2G of swap, which is also going to impact performance. I would say an upgrade to 32G RAM will see you right for a while
0
 
icongoAuthor Commented:
thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now