Process terminated because system is low on memory
Hi all again,
A process was terminated because the system is low on memory but have free 4.75 GB :\ What am I missing here?
Does CloudLinux LVE limits have an effect on this situation? (1024MB pMEM & 2048MB vMEM)
Memory Information:
Used 2.89 GB
Available 4.75 GB
Installed 7.63 GB
thanks
-
Hello, Have you enabled "PT_USERKILL" in csf.conf ? Might be the process killed by csf firewall. Please check the setting "PT_USERKILL" and "memory limit" in csf.conf file. 0 -
A process was terminated because the system is low on memory
Hello, Could you provide some more information from the message body of the email notification you received? Thank you.0 -
Event Time: Wednesday, December 21, 2016 at 7:19:20 AM UTC PID: 820513 Process Total Virtual Memory: 318908kB Process Anonymous Resident Set Size: 106148kB Process File Resident Set Size: 8448kB Status: Out of Memory Memory Information: Used 2.89 GB Available 4.75 GB Installed 7.63 GB Load Information: 0.56 0.43 0.38 Uptime: 95 days, 10 hours, 43 minutes, and 21 seconds oom_dmesg.txt: [8247634.469428] lsphp invoked oom-killer: gfp_mask=0xd0, order=0, oom_score_adj=0 [8247634.469434] lsphp cpuset=1024 mems_allowed=0 [8247634.469436] Task in /1024 killed as a result of limit of /1024 [8247634.469439] memory: usage 1048120kB, limit 1048576kB, failcnt 0 [8247634.469440] memory+swap: usage 1048576kB, limit 1048576kB, failcnt 7726 [8247634.469441] kmem: usage 0kB, limit 9007199254740991kB, failcnt 0 [8247634.469442] Memory cgroup stats for /1024: cache:172KB rss:1047948KB rss_huge:0KB mapped_file:0KB swap:456KB inactive_anon:524012KB active_anon:523808KB inactive_file:0KB active_file:0KB unevictable:0KB [8247634.469451] Memory cgroup out of memory: Kill process 820513 (lsphp) score 109 or sacrifice child [8247634.470314] Killed process 820513 (lsphp) in VE "0" total-vm:318908kB, anon-rss:106148kB, file-rss:8448kB [8247642.439960] audit_printk_skb: 117 callbacks suppressed [8247642.439964] type=1101 audit(1482303661.860:1281909): pid=820539 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_localuser acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success' [8247642.440073] type=1103 audit(1482303661.860:1281910): pid=820539 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_hulk,pam_unix acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success' [8247642.440112] type=1006 audit(1482303661.860:1281911): pid=820539 uid=0 old-auid=4294967295 auid=0 old-ses=4294967295 ses=180579 res=1 [8247642.447389] type=1105 audit(1482303661.867:1281912): pid=820539 uid=0 auid=0 ses=180579 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success' [8247642.447582] type=1110 audit(1482303661.868:1281913): pid=820539 uid=0 auid=0 ses=180579 msg='op=PAM:setcred grantors=pam_env,pam_hulk,pam_unix acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success' [8247642.460877] type=1104 audit(1482303661.881:1281914): pid=820539 uid=0 auid=0 ses=180579 msg='op=PAM:setcred grantors=pam_env,pam_hulk,pam_unix acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success' [8247642.462028] type=1106 audit(1482303661.882:1281915): pid=820539 uid=0 auid=0 ses=180579 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Event Time: Wednesday, December 21, 2016 at 7:19:20 AM UTC PID: 820513 Process Total Virtual Memory: 318908kB Process Anonymous Resident Set Size: 106148kB Process File Resident Set Size: 8448kB Status: Out of Memory Memory Information: Used 2.89 GB Available 4.75 GB Installed 7.63 GB Load Information: 0.56 0.43 0.38 Uptime: 95 days, 10 hours, 43 minutes, and 21 seconds oom_dmesg.txt: [8247665.577412] lsphp invoked oom-killer: gfp_mask=0xd0, order=0, oom_score_adj=0 [8247665.577418] lsphp cpuset=1024 mems_allowed=0 [8247665.577420] Task in /1024 killed as a result of limit of /1024 [8247665.577423] memory: usage 1048576kB, limit 1048576kB, failcnt 3533 [8247665.577424] memory+swap: usage 1048576kB, limit 1048576kB, failcnt 11560 [8247665.577425] kmem: usage 0kB, limit 9007199254740991kB, failcnt 0 [8247665.577426] Memory cgroup stats for /1024: cache:24KB rss:1048456KB rss_huge:0KB mapped_file:0KB swap:0KB inactive_anon:524160KB active_anon:523912KB inactive_file:0KB active_file:0KB unevictable:0KB [8247665.577436] Memory cgroup out of memory: Kill process 820558 (lsphp) score 110 or sacrifice child [8247665.578334] Killed process 820558 (lsphp) in VE "0" total-vm:393716kB, anon-rss:105528kB, file-rss:9368kB0 -
Killed process 820558 (lsphp) in VE "0" total-vm:393716k
Hello, It's seems the issue with Litespeed memory limits. Can you please try to increase memory limit in Litespeed admin panel. log into the LiteSpeed admin panel. Once logged into the panel >> Webserver Configuration >> External App0
Please sign in to leave a comment.
Comments
4 comments