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.

Every night, analog is killed for memory - but I think I have plenty?

Discussion in 'General Discussion' started by Ishware, May 17, 2016.

  1. Ishware

    Ishware Well-Known Member

    Joined:
    Nov 7, 2003
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Panama City, FL
    cPanel Access Level:
    Root Administrator
    Every night I get notified that analog has been killed. Here's a screenshot of part of the message:

    - Removed Please Attach Images to Your Posts -

    Where should I start? This is a Ramnode VPS running CloudLinux + CageFS + cPanel.

    VPS has 4G RAM and has four cores on CPU…
     
    #1 Ishware, May 17, 2016
    Last edited by a moderator: May 18, 2016
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    analog is a pig on large log files

    I don't think you have any swap

    what does free -m say
     
  3. Ishware

    Ishware Well-Known Member

    Joined:
    Nov 7, 2003
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Panama City, FL
    cPanel Access Level:
    Root Administrator
    - Please Attach Images to Your Posts -


    So sounds like maybe I need to figure out how to increase my swap size. :)
     
    #3 Ishware, May 18, 2016
    Last edited by a moderator: May 18, 2016
  4. Znuff

    Znuff Member

    Joined:
    May 17, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    DataCenter Provider
    You can increase your swap size by:

    1. either increase the swap partition
    2. create a new swap file and turn swap on it, like:

    Code:
    dd if=/dev/zero of=/swapfile bs=1M count=1024
    mkswap /swapfile
    swapon /swapfile
    That will create 1GB of swap space. Replace 1024 with how big you want (1024 * 1M)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Please ensure you upload images directly to your posts. Could you let us know if the issue persists after creating SWAP space?

    Thank you.
     
Loading...

Share This Page