This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Memory Leak? Excessive memory usage. 80% usage on 8 gigs.

I have a weird problem where memory usage begins to climb after rebooting.  I've tried downgrading to older versions, tried reinstalling and doing a clean setup/reconfigure and same issue.

The only service running is the firewall.

The box has 8 gigs of ram and will climb to 80% usage and idle around there.

I went into the box through SSH to see which process was using the ram but I dont see anything.   

Resource Usage  
CPU
0%
RAM
52% of 7.9 GB
Log Disk
1% of 45.7 GB
Data Disk
2% of 34.8 GB

I rebooted recently so thats why its sitting at 52% for now.   

Sophos is running inside ESXi.

Ive run out of ideas to track down the problem.

i am using sophos home edition.


This thread was automatically locked due to age.
  • You need to migrate the UTM to another host if possible, then back again.  Otherwise, reboot the host itself.  I have seen it happen when memory is oversubscribed and the Sophos guest does not seem to like it much.  Migrating to another host seemed to address the issue in my case.  I am running on a newly upgraded 6.0u1 environment and had not seen this behavior under 5.5 but I typically run underutilized on memory in my home lab.
  • I have a weird problem where memory usage begins to climb after rebooting.  I've tried downgrading to older versions, tried reinstalling and doing a clean setup/reconfigure and same issue.

    The only service running is the firewall.

    The box has 8 gigs of ram and will climb to 80% usage and idle around there.

    I went into the box through SSH to see which process was using the ram but I dont see anything.   

    Resource Usage  
    CPU
    0%
    RAM
    52% of 7.9 GB
    Log Disk
    1% of 45.7 GB
    Data Disk
    2% of 34.8 GB

    I rebooted recently so thats why its sitting at 52% for now.   

    Sophos is running inside ESXi.

    Ive run out of ideas to track down the problem.

    i am using sophos home edition.


    ok how much ram is in the host?  how much ram are you giving to the UTM?  what other vm's are running?  What kind of ram allocations are being given to them?
  • You need to migrate the UTM to another host if possible, then back again.  Otherwise, reboot the host itself.  I have seen it happen when memory is oversubscribed and the Sophos guest does not seem to like it much.  Migrating to another host seemed to address the issue in my case.  I am running on a newly upgraded 6.0u1 environment and had not seen this behavior under 5.5 but I typically run underutilized on memory in my home lab.


    Hello.

    Ive rebooted the host several times and same problem happens.  The system is not oversubscribed at all.   Maybe I will try upgrading my ESX to 6.0 and see if that solves the problem.    But being my box is not oversubscribed is this an ESX bug or something?
  • ok how much ram is in the host?  how much ram are you giving to the UTM?  what other vm's are running?  What kind of ram allocations are being given to them?


    The host has 24 gigs ram.

    UTM has 8 gigs ram.

    The box uses around 14-16 gigs if UTM is not going crazy then of course more than that.
  • How manyvms are on thisbox?  How much ram in thehost?  How ram is being given to each vm?

  • The box has 8 gigs of ram and will climb to 80% usage and idle around there.

    I went into the box through SSH to see which process was using the ram but I dont see anything. 


    What version(s) of UTM?

    What was used to review RAM usage per process?

    One of many possibilities:
    # ps aux | sort -n -k 4


    Originally suggested, but it doesn't work.
    # ps aux --sort=%mem


    tmpfs usage?

    # df -h
  • How manyvms are on thisbox?  How much ram in thehost?  How ram is being given to each vm?


    3 total VM's including Sophos

    VM #1: 6 Gigs
    VM #2: 8 Gigs
    Sophos: 8Gigs

    I only gave Sophos 8 gigs because it was climbing so i would be able to access the interface if it became saturated and reboot it.

    VM 1 uses 4 gigs
    VM 2 uses 3 gigs
  • What version(s) of UTM?

    What was used to review RAM usage per process?

    One of many possibilities:
    # ps aux --sort=%mem


    tmpfs usage?

    # df -h


    I tried ps aux --sort=%mem and it didnt sort the memory.

    but the largest process was 0.4% memory used by confd

    Right now Sophos is running without excessive ram usage, I rebooted it this morning.  This problem is random.  I bet come this Monday it will begin to use heavy ram again.

    Resource Usage would tell me ram consumption and it would hover around 79% of 8Gigs.
  • 3 total VM's including Sophos

    VM #1: 6 Gigs
    VM #2: 8 Gigs
    Sophos: 8Gigs

    I only gave Sophos 8 gigs because it was climbing so i would be able to access the interface if it became saturated and reboot it.

    VM 1 uses 4 gigs
    VM 2 uses 3 gigs


    how much ram in total is installed in the host?
  • make all of the ram reservations hard reservations so that they cannot go outside of their ram allocations.

    Secondly yhou are only leaving two gigs of ram open for the host.  While that's doable it's cutting things a bit thin.  On the sophos box do you have web caching turned on?  if so turn it off.  Also how many users/devices are on the sophos machine(vm that are using the sophos count as devices).  Which modules are you running?