chris0147

Well-Known Member
Aug 28, 2015
88
1
8
London
cPanel Access Level
Root Administrator
Hi all,

I need your help. Few days ago I received an email from my vps provider that they inform me the motherboard of the physical server had failed which caused the unavailability of the VPS. They have replaced the motherboard so the server went offline for 12 hours and the physical server come back online after 12 hours with no problem.

When I login my account few days after my physical server stay online, I have notice there are 140 processes are running on my VPS with 92% resources usage for the RAM, is that normal?

I'd find it strange, because when I shut it down and boot it back online, the RAM goes up to 1GB as 26% with 96 processes. I'd want to know why the RAM usage goes up between 2.98GB (72% resources usage) and 3.68GB (92% resources usage)?

I have not installed anything on the server as I have only installed cPanel and WHM software on the server. Is that normal for the resources usage to go high when I am running CentOS 7 64 bit with cPanel and WHM software?

Do you think if the high RAM usage are caused the hardware failure?

If that is not normal, then I need your help with that to find out why the RAM goes high and how I can reduce it to solve it. If you need to know what OS and hardware I have on my VPS, here it is:

150GB Hard drive
4GB Ram
OS: CentOS 7 64 bit
4 Core CPU Cores
4TB Bandwidth


However, I have contacted the VPS provider about why the server went offline for 12 hours and they said they had a hardware problem with the physical server. They suggested me to backup my data just in cause if the hard drive fails. Do you think if I should backup my data? if so how I can do that?

Any advice would be much appreciate.

Thanks in advance.
 

chris0147

Well-Known Member
Aug 28, 2015
88
1
8
London
cPanel Access Level
Root Administrator
Hi @chris0147


It really depends on *what* is running to know if the usage is normal or not. We have a really helpful tutorial on troubleshooting high load that may be beneficial for you here: Tutorial - Troubleshooting high server loads on Linux servers

Thanks!
Thank you for the link, here is the information for the server that include the cpu and memory:

[[email protected] ~]# sar -q -f /var/log/sa/sa23
Linux 2.6.32-042stab124.2 (server) 08/23/18 _x86_64_ (16 CPU)

00:00:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked
00:10:01 2 150 0.24 0.29 0.23 1
00:20:01 3 153 0.26 0.24 0.20 1
00:30:01 1 152 0.23 0.25 0.20 0
00:40:01 2 153 0.22 0.19 0.17 1
00:50:01 3 155 0.24 0.20 0.17 1
01:00:01 3 159 0.21 0.20 0.17 2
01:10:01 2 152 0.28 0.23 0.18 1
01:20:01 4 155 0.25 0.20 0.17 0
01:30:01 3 157 0.23 0.18 0.16 1
01:40:01 2 152 0.44 0.25 0.17 1
01:50:01 3 155 0.34 0.25 0.18 1
02:00:01 4 163 0.31 0.21 0.17 2
02:10:01 2 152 0.33 0.22 0.18 0
02:20:01 3 157 0.31 0.20 0.17 0
02:30:01 4 163 0.32 0.21 0.16 1
02:40:01 2 154 0.41 0.22 0.16 1
02:50:01 3 157 0.30 0.19 0.15 0
03:00:01 3 155 0.37 0.22 0.14 1
03:10:02 0 152 0.41 0.29 0.20 1
03:20:01 3 157 0.35 0.20 0.17 1
03:30:01 2 158 0.46 0.26 0.18 3
03:40:01 2 153 0.44 0.27 0.20 1
03:50:01 3 156 0.50 0.25 0.19 1
04:00:01 4 162 0.53 0.26 0.19 1
04:10:01 2 154 0.37 0.22 0.18 1
04:20:01 3 157 0.54 0.26 0.19 1
04:30:01 6 168 0.45 0.23 0.18 1
04:40:01 2 154 0.38 0.20 0.17 1
04:50:01 3 158 0.45 0.20 0.15 1
05:00:01 3 161 0.41 0.21 0.15 1
05:10:01 2 155 0.58 0.24 0.15 1
05:20:01 3 158 0.57 0.24 0.16 1
05:30:01 3 164 0.45 0.20 0.15 2
05:40:01 3 143 0.48 0.50 0.28 1
05:50:01 3 151 0.26 0.25 0.23 1
06:00:01 4 159 0.33 0.22 0.19 2
06:10:01 2 151 0.29 0.21 0.18 1
06:20:01 3 154 0.25 0.18 0.16 1
06:30:01 4 161 0.29 0.21 0.16 1
06:40:01 2 152 0.37 0.24 0.17 1
06:50:01 3 155 0.31 0.21 0.16 0
07:00:02 3 157 0.41 0.25 0.17 1
07:10:01 2 151 0.37 0.25 0.19 1
07:20:01 3 154 0.37 0.24 0.18 1
07:30:01 3 156 0.45 0.25 0.19 1
07:40:02 2 152 0.50 0.27 0.20 1
07:50:01 3 154 0.43 0.22 0.18 0
08:00:01 5 168 0.51 0.28 0.20 1
08:10:01 2 153 0.35 0.21 0.18 1
08:20:01 3 157 0.48 0.23 0.18 1
08:30:01 5 167 0.38 0.20 0.17 1
08:40:01 2 154 0.55 0.25 0.18 1
08:50:01 3 157 0.53 0.25 0.18 1
09:00:02 4 164 0.56 0.26 0.19 1
09:10:01 2 155 0.56 0.25 0.19 1
09:20:01 3 158 0.76 0.29 0.20 1
09:30:01 3 160 0.45 0.25 0.20 1
09:40:01 1 154 0.40 0.22 0.18 1

09:40:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked
09:50:01 3 156 0.55 0.22 0.15 0
10:00:01 3 162 0.39 0.17 0.12 1
10:10:01 2 155 0.38 0.16 0.11 0
10:20:01 3 158 0.29 0.12 0.09 0
10:30:01 4 163 0.41 0.16 0.10 0
10:40:01 2 155 0.37 0.16 0.10 0
10:50:01 3 158 0.38 0.15 0.10 0
11:00:01 3 159 0.33 0.14 0.10 0
11:10:01 2 156 0.44 0.15 0.10 0
11:20:01 4 159 0.41 0.14 0.10 0
11:30:01 4 162 0.36 0.14 0.10 0
11:40:01 3 153 0.28 0.11 0.09 0
11:50:01 4 156 0.37 0.14 0.10 0
12:00:01 6 165 0.30 0.14 0.10 0
12:10:01 3 154 0.22 0.09 0.08 0
12:20:01 4 156 0.31 0.14 0.10 0
12:30:02 6 163 0.30 0.12 0.09 0
12:40:01 3 152 0.15 0.08 0.08 0
12:50:01 4 154 0.15 0.08 0.08 0
13:00:01 4 157 0.08 0.07 0.07 0
13:10:01 3 153 0.18 0.12 0.09 1
13:20:01 4 156 0.08 0.07 0.08 0
13:30:01 3 154 0.00 0.05 0.07 0
13:40:01 2 149 0.00 0.05 0.07 0
13:50:01 3 152 0.04 0.08 0.08 0
14:00:01 4 158 0.00 0.06 0.07 0
14:10:01 2 149 0.01 0.06 0.07 0
14:20:01 3 152 0.00 0.07 0.08 0
14:30:01 4 157 0.02 0.08 0.08 0
14:40:01 2 150 0.00 0.06 0.07 0
14:50:01 3 152 0.00 0.06 0.07 0
15:00:01 3 154 0.01 0.07 0.08 0
15:10:01 2 149 0.00 0.06 0.07 0
15:20:01 3 152 0.00 0.06 0.07 0
15:30:01 3 155 0.02 0.07 0.08 0
15:40:01 2 149 0.00 0.05 0.07 0
15:50:01 3 152 0.02 0.08 0.08 0
16:00:01 4 159 0.01 0.09 0.08 0
16:10:01 2 150 0.02 0.08 0.08 0
16:20:01 3 154 0.02 0.06 0.08 0
16:30:01 5 161 0.00 0.06 0.07 0
16:40:01 2 150 0.01 0.07 0.08 0
16:50:01 3 152 0.03 0.09 0.08 0
17:00:01 3 154 0.03 0.16 0.13 0
17:10:01 2 151 0.01 0.12 0.11 0
17:20:01 3 154 0.03 0.10 0.09 0
17:30:01 3 156 0.01 0.07 0.08 0
17:40:01 2 151 0.02 0.09 0.08 0
17:50:01 3 156 0.01 0.08 0.08 0
18:00:01 4 160 0.01 0.07 0.08 0
18:10:01 2 153 0.01 0.08 0.08 0
18:20:01 3 155 0.03 0.09 0.08 0
18:30:01 4 160 0.02 0.09 0.08 0
18:40:01 2 152 0.01 0.08 0.08 0
18:50:01 3 155 0.01 0.06 0.07 0
19:00:01 3 157 0.03 0.07 0.08 0
19:10:01 2 151 0.02 0.08 0.08 0
19:20:01 3 155 0.02 0.09 0.08 0

19:20:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked
19:30:01 3 158 0.02 0.09 0.08 0
19:40:01 2 152 0.02 0.08 0.08 0
19:50:01 3 155 0.01 0.07 0.08 0
20:00:02 4 160 0.01 0.06 0.07 0
20:10:01 2 153 0.01 0.06 0.07 0
20:20:01 3 155 0.03 0.08 0.08 0
20:30:01 5 163 0.01 0.08 0.08 0
20:40:01 2 152 0.03 0.09 0.08 0
20:50:02 3 154 0.03 0.10 0.09 0
21:00:01 3 157 0.02 0.10 0.09 0
21:10:01 3 151 0.04 0.09 0.08 0
21:20:01 3 155 0.04 0.09 0.08 0
21:30:01 3 157 0.04 0.09 0.08 0
21:40:01 2 152 0.02 0.09 0.08 0
21:50:01 3 156 0.02 0.09 0.08 0
22:00:01 4 161 0.03 0.08 0.08 0
22:10:01 2 151 0.07 0.09 0.08 0
22:20:01 4 154 0.03 0.09 0.08 0
22:30:01 4 160 0.03 0.09 0.08 0
22:40:01 2 151 0.04 0.11 0.09 0
22:50:01 3 154 0.02 0.07 0.08 0
23:00:01 3 156 0.04 0.09 0.08 0
23:10:01 2 152 0.02 0.08 0.08 0
23:20:01 3 155 0.03 0.08 0.08 0
23:30:01 3 157 0.06 0.11 0.09 0
23:40:01 2 152 0.03 0.08 0.08 0
23:50:01 3 155 0.04 0.10 0.09 0
Average: 3 156 0.22 0.15 0.12 0
[[email protected] ~]#
[[email protected] ~]# sar -q
Linux 2.6.32-042stab128.2 (server) 08/31/18 _x86_64_ (8 CPU)

00:00:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked
00:10:01 2 140 0.00 0.00 0.00 1
00:20:01 3 143 0.00 0.00 0.00 1
00:30:01 6 151 0.02 0.04 0.00 1
00:40:02 2 142 0.06 0.05 0.01 0
00:50:01 4 143 0.00 0.00 0.00 0
01:00:01 3 147 0.00 0.00 0.00 2
01:10:01 2 141 0.00 0.00 0.00 1
01:20:01 3 144 0.01 0.02 0.00 1
01:30:01 3 147 0.13 0.06 0.01 1
01:40:02 3 141 0.00 0.01 0.00 0
01:50:01 3 142 0.02 0.03 0.00 1
02:00:01 5 152 0.00 0.00 0.00 1
02:10:01 3 142 0.08 0.05 0.00 1
02:20:01 3 143 0.00 0.00 0.00 1
02:30:01 7 139 0.00 0.01 0.00 0
02:40:01 2 140 0.13 0.04 0.01 0
02:50:01 4 143 0.00 0.00 0.00 0
03:00:01 3 146 0.00 0.01 0.00 0
03:10:01 2 143 0.00 0.00 0.00 1
03:20:01 3 146 0.00 0.00 0.00 1
03:30:01 4 145 0.02 0.02 0.00 0
03:40:01 2 142 0.01 0.03 0.00 1
03:50:01 4 142 0.00 0.00 0.00 1
04:00:01 4 151 0.01 0.01 0.00 0
04:10:01 2 141 0.11 0.04 0.01 0
04:20:01 3 145 0.00 0.00 0.00 1
04:30:01 6 155 0.01 0.01 0.00 0
04:40:01 2 141 0.00 0.01 0.00 0
04:50:01 3 144 0.00 0.00 0.00 0
05:00:01 5 140 0.00 0.00 0.00 0
05:10:01 2 141 0.00 0.00 0.00 0
05:20:01 5 142 0.03 0.02 0.00 1
05:30:01 4 149 0.02 0.01 0.00 2
05:40:01 2 142 0.51 0.49 0.20 1
05:50:01 4 144 0.02 0.09 0.10 0
06:00:01 7 147 0.09 0.04 0.07 0
06:10:01 2 142 0.01 0.02 0.04 0
06:20:01 3 144 0.00 0.00 0.00 1
06:30:01 5 149 0.05 0.01 0.00 0
06:40:01 3 141 0.02 0.01 0.00 0
06:50:01 3 145 0.00 0.00 0.00 0
07:00:01 5 140 0.04 0.01 0.00 1
07:10:01 2 142 0.12 0.17 0.09 1
07:20:01 3 146 0.06 0.07 0.06 0
07:30:01 3 148 0.00 0.02 0.02 0
07:40:01 4 141 0.00 0.00 0.00 0
07:50:01 4 140 0.00 0.00 0.00 0
08:00:01 8 156 0.06 0.03 0.00 1
08:10:01 2 146 0.00 0.00 0.00 0
08:20:01 3 149 0.00 0.00 0.00 0
08:30:01 6 159 0.03 0.01 0.00 0
08:40:01 2 145 0.00 0.01 0.00 0
08:50:01 5 148 0.00 0.00 0.00 0
09:00:01 5 152 0.00 0.00 0.00 0
09:10:01 2 146 0.00 0.00 0.00 0
09:20:01 3 149 0.04 0.01 0.00 0
09:30:01 3 151 0.05 0.02 0.00 0
09:40:01 2 145 0.00 0.00 0.00 0

09:40:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked
09:50:01 3 149 0.00 0.00 0.00 0
10:00:01 5 151 0.01 0.01 0.00 0
10:10:01 3 146 0.04 0.01 0.00 0
10:20:01 4 150 0.00 0.00 0.00 0
10:30:01 4 154 0.00 0.01 0.00 0
10:40:01 2 145 0.05 0.01 0.00 1
10:50:01 3 149 0.06 0.03 0.00 0
11:00:01 3 150 0.03 0.03 0.00 0
11:10:01 3 145 0.00 0.00 0.00 0
11:20:01 4 148 0.00 0.00 0.00 0
11:30:01 3 150 0.00 0.02 0.00 0
11:40:01 2 145 0.02 0.02 0.00 0
11:50:01 3 149 0.00 0.00 0.00 0
12:00:02 5 158 0.06 0.02 0.00 0
12:10:01 3 146 0.07 0.02 0.00 0
12:20:01 3 150 0.00 0.02 0.00 0
12:30:01 5 157 0.00 0.00 0.00 0
12:40:01 2 147 0.08 0.02 0.01 0
12:50:01 3 150 0.00 0.01 0.00 0
13:00:01 2 145 0.06 0.03 0.01 0
13:10:01 3 149 0.00 0.02 0.00 0
13:20:01 3 149 0.12 0.13 0.05 1
13:30:01 3 144 0.00 0.01 0.00 0
13:40:01 2 145 0.00 0.00 0.00 0
13:50:01 3 149 0.15 0.04 0.01 0
14:00:01 4 150 0.00 0.02 0.00 0
14:10:01 2 146 0.02 0.02 0.00 0
14:20:01 4 162 0.01 0.02 0.00 0
Average: 3 146 0.03 0.02 0.01 0

14:27:39 LINUX RESTART

14:30:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked
14:40:01 2 141 0.00 0.10 0.14 0
14:50:01 3 147 0.03 0.03 0.07 2
15:00:02 3 145 0.00 0.03 0.06 2
15:10:01 2 140 0.00 0.00 0.01 0
15:20:01 5 142 0.02 0.01 0.00 0
15:30:01 3 144 0.01 0.01 0.00 1
15:40:01 2 139 0.07 0.07 0.02 0
15:50:01 3 142 0.00 0.01 0.00 0
16:00:01 3 145 0.00 0.00 0.00 2
16:10:01 2 142 0.02 0.01 0.00 0
Average: 3 143 0.01 0.03 0.03 1
[[email protected] ~]#
[[email protected] ~]# top c
top - 16:20:05 up 1:52, 1 user, load average: 0.02, 0.01, 0.00
Tasks: 59 total, 1 running, 58 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.1 us, 0.1 sy, 0.0 ni, 99.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 4194304 total, 633068 free, 1139220 used, 2422016 buff/cache
KiB Swap: 4194304 total, 4194304 free, 0 used. 2936400 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 43688 3912 2396 S 0.3 0.1 0:04.14 init -z
624 cpanelc+ 20 0 11440 4836 4396 S 0.3 0.1 0:08.65 /usr/local/cpanel/3rdparty/sbin/p0f -i any -u cpanelconnecttrack -d -s /var/cpanel/user+
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [kthreadd/11299]
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [khelper/11299]
82 root 20 0 104564 21276 20936 S 0.0 0.5 0:02.19 /usr/lib/systemd/systemd-journald
90 root 20 0 42504 1712 1292 S 0.0 0.0 0:00.00 /usr/lib/systemd/systemd-udevd
137 root 20 0 24384 2188 1632 S 0.0 0.1 0:00.01 /usr/sbin/smartd -n -q never
138 root 20 0 42616 1880 1360 S 0.0 0.0 0:00.00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/local/cpanel/bin/pureauth
139 mysql 20 0 9644 1520 1220 S 0.0 0.0 0:00.00 /bin/sh /usr/bin/mysqld_safe
144 root 20 0 24416 1644 1352 S 0.0 0.0 0:00.10 /usr/lib/systemd/systemd-logind
146 dbus 20 0 56332 2284 1760 S 0.0 0.1 0:00.25 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activat+
166 nscd 20 0 691652 1972 1308 S 0.0 0.0 0:00.19 /usr/sbin/nscd
231 root 20 0 4540 740 632 S 0.0 0.0 0:00.00 /sbin/agetty --noclear --keep-baud console 115200 38400 9600 vt220
233 root 20 0 20780 1484 872 S 0.0 0.0 0:00.01 /usr/sbin/crond -n
235 root 20 0 4540 748 636 S 0.0 0.0 0:00.00 /sbin/agetty --noclear tty2 linux
238 root 20 0 24156 952 760 S 0.0 0.0 0:00.00 /usr/sbin/atd -f
474 mysql 20 0 1063820 43248 6648 S 0.0 1.0 0:01.93 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/+
493 mailnull 20 0 77728 1876 824 S 0.0 0.0 0:00.01 /usr/sbin/exim -bd -q1h -oP /var/spool/exim/exim-daemon.pid
611 root 20 0 146828 3216 2488 S 0.0 0.1 0:00.00 pure-ftpd (SERVER)
671 root 20 0 227448 101456 5164 S 0.0 2.4 0:05.09 /usr/local/cpanel/3rdparty/perl/526/bin/perl -T -w /usr/local/cpanel/3rdparty/bin/spamd+
699 root 20 0 109496 25012 6300 S 0.0 0.6 0:01.40 cpsrvd (SSL) - waiting for connections
728 root 20 0 26416 2352 1644 S 0.0 0.1 0:00.00 dnsadmin - dormant mode
735 root 20 0 44332 8612 2104 S 0.0 0.2 0:00.21 queueprocd - waiting up to 60s to process a task
738 root 20 0 44740 10392 2908 S 0.0 0.2 0:00.34 cPhulkd - processor
741 root 38 18 26992 2692 1504 S 0.0 0.1 0:00.00 cpanellogd - sleeping for logs
756 root 20 0 26628 1896 1068 S 0.0 0.0 0:00.00 cpdavd - accepting connections on 2077, 2078, 2079, and 2080 (dormant)
775 named 20 0 535576 113892 3024 S 0.0 2.7 0:00.14 /usr/sbin/named -u named -c /etc/named.conf
818 root 20 0 75580 28812 2172 S 0.0 0.7 0:02.17 lfd - sleeping
848 root 20 0 60288 15964 2044 S 0.0 0.4 0:00.76 tailwatchd
875 root 20 0 198988 7092 2908 S 0.0 0.2 0:00.10 /usr/sbin/httpd -k start
876 root 20 0 12672 1340 1152 S 0.0 0.0 0:00.00 /usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=server.workwithc+
877 root 20 0 12672 1344 1152 S 0.0 0.0 0:00.00 /usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=server.workwithc+
878 root 20 0 49620 11584 2124 S 0.0 0.3 0:00.06 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/bin/leechprotect
879 nobody 20 0 199252 7596 3140 S 0.0 0.2 0:00.03 /usr/sbin/httpd -k start
880 nobody 20 0 199260 7644 3164 S 0.0 0.2 0:00.02 /usr/sbin/httpd -k start
881 nobody 20 0 199260 6936 2476 S 0.0 0.2 0:00.01 /usr/sbin/httpd -k start
882 nobody 20 0 199252 7648 3164 S 0.0 0.2 0:00.02 /usr/sbin/httpd -k start
883 nobody 20 0 199260 7260 2792 S 0.0 0.2 0:00.01 /usr/sbin/httpd -k start
887 root 20 0 137880 5216 1268 S 0.0 0.1 0:00.12 php-fpm: master process (/usr/local/cpanel/etc/php-fpm.conf)
994 cpanels+ 20 0 4037372 241928 21008 S 0.0 5.8 0:12.01 /usr/lib/jvm/jre-1.8.0/bin/java -server -Xms512m -Xmx512m -XX:NewRatio=3 -XX:SurvivorRa+
1077 root 20 0 713844 532404 652 S 0.0 12.7 0:00.00 /usr/local/cpanel/3rdparty/bin/clamd
1188 root 20 0 14536 1632 1320 S 0.0 0.0 0:00.04 /usr/sbin/dovecot -F -c /etc/dovecot/dovecot.conf
1196 dovenull 20 0 44424 4224 3068 S 0.0 0.1 0:00.01 dovecot/pop3-login
1197 dovenull 20 0 44020 3720 2824 S 0.0 0.1 0:00.00 dovecot/imap-login
1198 dovecot 20 0 9696 1208 1016 S 0.0 0.0 0:00.00 dovecot/anvil
1199 root 20 0 9828 1396 1044 S 0.0 0.0 0:00.00 dovecot/log
1201 dovenull 20 0 44416 4256 3084 S 0.0 0.1 0:00.02 dovecot/pop3-login
1202 dovenull 20 0 44172 4000 3032 S 0.0 0.1 0:00.01 dovecot/imap-login
1203 root 20 0 11564 2572 1188 S 0.0 0.1 0:00.04 dovecot/config
1216 nobody 20 0 199260 7484 3028 S 0.0 0.2 0:00.01 /usr/sbin/httpd -k start
1228 root 20 0 228372 98964 1672 S 0.0 2.4 0:02.02 spamd child
5664 root 20 0 111276 1568 552 S 0.0 0.0 0:00.00 /usr/sbin/sshd -f /var/cpanel/safe_sshd
5688 root 20 0 116136 5344 4164 S 0.0 0.1 0:00.05 sshd: [email protected]/0

[[email protected] ~]# free -m
total used free shared buff/cache available
Mem: 4096 1114 621 2 2360 2866
Swap: 4096 0 4096
[[email protected] ~]#
 

chris0147

Well-Known Member
Aug 28, 2015
88
1
8
London
cPanel Access Level
Root Administrator
Hi @chris0147

Based on what you've shown nothing looks too out of the ordinary. Can you post the output of the following:

Code:
free -m
Sure, here it is the output:

Code:
[[email protected] ~]# free -m
              total        used        free      shared  buff/cache   available
Mem:           4096        1120         546           2        2429        2858
Swap:          4096           0        4096
[[email protected] ~]#

Do you know why I have used alot of memory?

If I dont use alot of memory, do you know what per cent that the memory is being used?
 

chris0147

Well-Known Member
Aug 28, 2015
88
1
8
London
cPanel Access Level
Root Administrator
Hi @chris0147

It doesn't looke like you are using a lot of memory based on this you have plenty of memory available. An amazingly good explanation of Linux's RAM usage can be found here: Help! Linux ate my RAM!

Thanks!
Thank you for letting me to know. I am glad that I dont use alot of memory. I want to know how many percent that the memory are being used right now?
 

chris0147

Well-Known Member
Aug 28, 2015
88
1
8
London
cPanel Access Level
Root Administrator
Hi @chris0147

Code:
sar -r
Will show you %memory used but keep in mind that it also counts cached/buffered memory as being used. I usually look at the %commit to get a good idea of how much memory is actually in use.
Oh right. I have put the "sar -r" in the comment and it show me the output for the memory as I can see at the %memused as most memory are used 73.88% but it say 0.0 at the %commit.

What I find it strange is when I look at the server status on whm, it say that 29.56% memory are being used.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,052
652
263
Houston
cPanel Access Level
DataCenter Provider
What I find it strange is when I look at the server status on whm, it say that 29.56% memory are being used.
Keep in mind this is including cached memory though - while that memory is available it's reserved in anticipation of a process using it.

So I don't have anything to worry about how much memory are being used?
No based on this information your memory usage is actually pretty low.