Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17804

Is this a memory leak or regular usage on a super small VPS?

$
0
0

Ok noob here. I'm willing to learn the necesarry steps myself I just need to be pointed into the right directon.

I set up a server on digitalocean.com

512 MB RAM, 1 CPU, 20GB SSD

OS: CentOS 7

I installed a LAMP stack with apache, mariadb and php and hosted a simple wordpress site, right now there isn't traffic nor are any plugins installed etc, just a fresh installation.

When I check memory usage with

free -h 

my server uses about 380MB out of 490MB, the memory isn't used to cache but actually is in use, I only have 30MB available, it also swaps out additional 200MB to my 1GB swap file.

When I run htop and check which processes consume most memory there are like eight

/usr/sbin/httpd

processes which consume between 8 and 8.5% each and about 19

/usr/libexec/mysqld

processes consuming 5% each.

Since the CPU load is equal to zero on those processes I guess they are just waiting, not actually doing anything?

When I check mariadb's error logfile there isn't really anything, a couple of warnings about a Ip adress couldn't be resolved that's it.

Is this normal usage and my server simply is on it's limit due to it's specs or is there something wrong? Do I have to limit mysqlds memory usage?

submitted by atbash_
[link][6 comments]

Viewing all articles
Browse latest Browse all 17804

Trending Articles