Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Untangler
    Join Date
    Oct 2017
    Posts
    37

    Default Help - Swap Usage High Event

    Every hour for the last 13 hours I have received an UnTangle Server Event message

    The following event occurred on the Untangle Server @ 2018-01-14 11:11:29.347

    Swap usage is high:
    The current system state is: [ Load (1-minute): 0.0, Load (5-minute): 0.01, Load (15-minute): 0.05, Memory Free: 966MB, Disk Free: 96612MB, Swap Used: 2956MB ]

    Causal Event: SystemStatEvent
    {
    "diskFreePercent": 0.951913,
    "cpuSystem": 0.0012521914,
    "diskUsedPercent": 0.04808703,
    "diskTotal": 106423361536,
    "diskFree": 101305778176,
    "cpuUser": 0.0022539443,
    "memUsedPercent": 0.75061536,
    "diskUsed": 5117583360,
    "load15": 0.05,
    "swapUsedPercent": 0.26332358,
    "swapFree": 8673964032,
    "memFree": 1013841920,
    "memTotal": 4065374208,
    "swapTotal": 11774455808,
    "memBuffers": 0,
    "load5": 0.01,
    "activeHosts": 7,
    "load1": 0,
    "timeStamp": "2018-01-14 11:11:29.347",
    "swapUsed": 3100491776,
    "swapFreePercent": 0.73667645,
    "memUsed": 3051532288,
    "memFreePercent": 0.24938464,
    "memCache": 30629888
    }

    If I look at the dashboard it shows me:

    dashboard.JPG

    Swap Usage report shows that swap usage prior to Jan 7 was 0. It then took a sharp rise and has been climbing on a daily basis.

    swap usage.JPG

    Any ideas on what is causing this? Is a reboot the only answer?

    Thanks
    Mike

  2. #2
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    If you have a support contract I would contact support.

    Otherwise look and see whats using the memory using top, ps, proc, etc.

    No, a reboot won't solve anything. https://wiki.untangle.com/index.php/A_Reboot_Fixed_It
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  3. #3
    Untangler
    Join Date
    Oct 2017
    Posts
    37

    Default

    I'm a Home user so do not have a support account.

    I'm also not familiar with Linux - can you give me a pointer to how to use top, ps, proc etc?

  4. #4
    Untangle Ninja
    Join Date
    Feb 2016
    Posts
    1,057

    Default

    You'll need access to the Untangle box's command line. That's either through a physical connection to the box or through SSH. Use whichever you understand best.

    I'd start with top, but you'll have to interpret what you're seeing. Maybe this will get you started:
    https://www.lifewire.com/linux-top-command-2201163

  5. #5
    Untangler
    Join Date
    Oct 2017
    Posts
    37

    Default

    This is weird. I logged into the terminal and ran top. Swap space was only at 74780 KiB and has hardly changed in past 30 minutes. In fact it dropped a little.

    I went back to the dashboard and it was now showing 0.6% swap used.
    I then took another look at the swap usage report and it showed that about 2 1/2 hours ago (approx 11 am EST) the swap usage dropped from around the 26% mark to near zero - this after growing for the last 7 days. I didn't do anything unusual around 11am and I can find no other events that were unusual around that time.

    I did notice that when looking at the swap usage report over a 10 day period (see original screen shot) then when looking at it over the past 24 hours that the numbers were wildly different. The 10 day view showed usage approaching 80% whereas the 24 hour view only showed approx 26%.

    The event alert emails have stopped too - which is what I would expect.

  6. #6
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    The system probably killed whatever process was hogging all the memory.
    If you left chrome running on the local console, that was likely the issue, but could be anything really.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  7. #7
    Untangler
    Join Date
    Oct 2017
    Posts
    37

    Default

    That could be it. I have a monitor that is attached to the Untangle server which I normally leave turned off. When I turned it back on today it was showing status from days ago. I hadn't shut down the console before turning the monitor off.

    Any thoughts on why the swap space number were so different with the different time span views in Reports?

  8. #8
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    25,094

    Default

    The local browser leaks memory, if you leave it running eventually it runs out and you start paging, this starts as a snowball, and becomes an avalanche.

    Don't use the physical console or anything past initial setup, unless you're troubleshooting.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  9. #9
    Untangler
    Join Date
    Oct 2017
    Posts
    37

    Default

    Thanks.

    Good to know.

    Mike

  10. #10
    Untanglit Akubra's Avatar
    Join Date
    Nov 2016
    Posts
    20

    Default

    Are you sure this is the cause. I'm experiencing memory hogs as well caused by Java. I have no idea what causes or what ends it.

    mem.png

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2