#StackBounty: #linux #memory #apache-http-server #systemctl Why does systemctl show high memory usage when top and htop show much less?

Bounty: 50

I’m running an apache2.4 web server, and noticed that when I run systemctl status apache2 or run service apache2 status, it says it is using 4.2GiB of RAM, which isn’t a problem for the amount of RAM I have, but I am confused, since top and htop both show only 500MiB of RAM being used, much less that systemctl reports apache2 using alone. Why might this be, and which is right?

OS Info, if needed:

OS: Kali GNU/Linux Rolling x86_64
Kernel: 4.19.0-kali3-amd64

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.