The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Process terminated because system is low on memory

Discussion in 'CloudLinux' started by diWhile1, Dec 23, 2016.

Tags:
  1. diWhile1

    diWhile1 Member

    Joined:
    Oct 11, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Israel
    cPanel Access Level:
    Root Administrator
    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
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    517
    Likes Received:
    38
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    34,894
    Likes Received:
    1,063
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you provide some more information from the message body of the email notification you received?

    Thank you.
     
  4. diWhile1

    diWhile1 Member

    Joined:
    Oct 11, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Israel
    cPanel Access Level:
    Root Administrator
    Code:
    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'
    

    Code:
    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:9368kB
     
  5. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    517
    Likes Received:
    38
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    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 App
     
Loading...

Share This Page