Physical Memory Usage in cPanel

jsl
LiteCart Fan
Van Malaysia
Lid sedert Mrt. 2018
jsl

Hi everyone,

Just wondering, how much Physical Memory Usage in cPanel is normal for using litecart. Is this normal ? 

[img]https://bit.ly/2JfcDry[/img]

tim
Founder
Van Sweden
Lid sedert Mei 2013
tim

About 3-5 Mb. When you have images to resample into thumbnails maybe a rise to 20-30 Mb depending on the resolution.

jsl
LiteCart Fan
Van Malaysia
Lid sedert Mrt. 2018
jsl

This is so frustrating, after upgrading my hosting plan, Physical Memory Usage keep reaching at peak .. Before upgrading, it is fine.. I wonder what is causing it to be peak :-(

LiteCart Fan
Van Thailand
Lid sedert Aug. 2017

Maybe your new hosting has an auto backup that backup also the backup... think that also email accounts contents are part of disk usage

jsl
LiteCart Fan
Van Malaysia
Lid sedert Mrt. 2018
jsl

@vilaiporn I had disable all vqmod, put site to maintenance mode, deleted all email inbox, clear cache, clear system cache, delete  backup, disable auto backup, submit a ticket and get a reply stating that website have too many visitors and spam, checked on it and that is not the case, nothing works.. it is just so annoying seeing the Physical Memory Usage at peak everytime i go into cpanel..

tim
Founder
Van Sweden
Lid sedert Mei 2013
tim

You probably have a memory leak in a server component. Try setting another PHP version. Sometimes new PHP versions have memory flaws. There are only two processes running. See which they are by going to Terminal and typing ps x.

LiteCart Fan
Van Thailand
Lid sedert Aug. 2017

@jsl Sorry I confused disk usage with Physical memory usage. I can confirm my physical memory usage it is very low, we are talking about 20MB top.

jsl
LiteCart Fan
Van Malaysia
Lid sedert Mrt. 2018
jsl

@tim I had changed php ver to 7.3 , 7.2 and lower and my website wont work, Clear Thumbnails Cache and Physical Memory usage drop to 1.94gb, then clear cache from file manager and PMU drop to 1.05gb. let it run for a few hours and PMU is back to peak

Terminal ps x : 

PID TTY      STAT  TIME COMMAND
107741 ?        S      0:00 lsphp
113785 ?        Rs    0:05 lsphp:/home/ittoysco/public_html/index.php
114013 pts/5    S      0:00 /bin/bash -l
114261 pts/5    R+    0:00 ps x

Terminal cat /proc/meminfo : 

MemTotal:      263860700 kB
MemFree:        7140848 kB
MemAvailable:  198491360 kB
Buffers:        16324464 kB
Cached:        179406440 kB
SwapCached:            0 kB
Active:        140450120 kB
Inactive:      74881968 kB
Active(anon):  37058148 kB
Inactive(anon):  5604716 kB
Active(file):  103391972 kB
Inactive(file): 69277252 kB
Unevictable:      17428 kB
Mlocked:          17428 kB
SwapTotal:            0 kB
SwapFree:              0 kB
Dirty:            19276 kB
Writeback:            4 kB
AnonPages:      25630236 kB
Mapped:          1449668 kB
Shmem:          17049464 kB
Slab:          32769528 kB
SReclaimable:  29970068 kB
SUnreclaim:      2799460 kB
KernelStack:      31248 kB
PageTables:      344640 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    131930348 kB
Committed_AS:  71591384 kB
VmallocTotal:  34359738367 kB
VmallocUsed:      959076 kB
VmallocChunk:  34224493904 kB
HardwareCorrupted:    0 kB
AnonHugePages:  1755136 kB
CmaTotal:              0 kB
CmaFree:              0 kB
Tcache:          6008548 kB
Tswap:                0 kB
HugePages_Total:      0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:      2048 kB
DirectMap4k:      613984 kB
DirectMap2M:    31756288 kB
DirectMap1G:    235929600 kB

I have 0 knowledge on Linux, what should i do from here? Your help is most appreciated

tim
Founder
Van Sweden
Lid sedert Mei 2013
tim

Thumbnails cache don't use ram, they use disk.
Litecart should roll even down to PHP 5.4.

Is this a VPS or shared webhost? If you disable your website completely does it still use that much RAM?

Ask your webhost for help.

https://linuxhint.com/check_memory_usage_process_linux/

jsl
LiteCart Fan
Van Malaysia
Lid sedert Mrt. 2018
jsl

I am using a shared webhost.. and i disable everything in my website and RAM is still at peak, yesterday it dropped to 2.53gb.. I think so that server RAM is shared in cluster.. however even RAM is at peak, i face no lagging and litecart is still fast..

tim
Founder
Van Sweden
Lid sedert Mei 2013
tim

If you don't get any help from your webhost it is time to move to someone that does.

Hierdie draad is gesluit weens lang onaktiwiteit. Om dit te plaas is nie moontlik nie.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.