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

High memory usage on ASG 8.1

Yesterday evening, around 6pm, the memory use on my new ASG 8.1 box started to increase steadily, eventually consuming all of the swap space and most of the RAM. This happened at a time when there were no live users on the LAN, the only activity being my bit torrent traffic, which involves seeding torrents at a steady outbound rate limited to 25 KBytes/sec, and participating in two DHT clouds on the net. I have IDS exceptions defined for that traffic.

I rebooted the ASG router, which brought the memory utilization back down, but I am very puzzled as to what could have caused this.



This thread was automatically locked due to age.
Parents
  • I have gone through the IPS rules and done some of that.
    Specifically, I created exceptions for bit torrent and IRC traffic.

    I also added more RAM to the machine in stages.
    With 1.5 GB installed, it still used a fair bit of swap.
    With 1.75 GB installed, swap usage of the 1 GB swap partition dropped to around 4%.
    With 2 GB RAM installed, swap is no longer being used, and RAM usage sits just below 50%.

    I'm happy with it now.
Reply
  • I have gone through the IPS rules and done some of that.
    Specifically, I created exceptions for bit torrent and IRC traffic.

    I also added more RAM to the machine in stages.
    With 1.5 GB installed, it still used a fair bit of swap.
    With 1.75 GB installed, swap usage of the 1 GB swap partition dropped to around 4%.
    With 2 GB RAM installed, swap is no longer being used, and RAM usage sits just below 50%.

    I'm happy with it now.
Children
  • After some upgrade with now being at 8.301 and changing the settings for local networks to only include the DMZ network, the memory usage decreased, but I have to wait some weeks to see if there is no linear increase.

    top - 13:57:41 up 6 days, 18:55,  1 user,  load average: 0.02, 0.01, 0.00
    Tasks: 122 total,   1 running, 120 sleeping,   0 stopped,   1 zombie
    Cpu0  :  0.7%us,  1.0%sy,  0.0%ni, 98.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu1  :  1.6%us,  0.3%sy,  0.0%ni, 98.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   2058816k total,  1889988k used,   168828k free,   108616k buffers
    Swap:  1052248k total,    60024k used,   992224k free,  1114256k cached

      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                    
     5934 snort     19  -1  279m 229m 1032 S    1 11.4  73:11.73 snort_inline                                                
     6064 postgres  20   0 82996  57m  56m S    1  2.9  19:49.92 postgres                                                    
     5002 postgres  20   0 82600 5264 4132 S    0  0.3   0:38.59 postgres                                                    
     6484 postgres  20   0 82576 3716 2828 S    0  0.2   0:00.00 postgres                                                    
     5257 postgres  20   0 80528 1092  644 S    0  0.1   0:25.40 postgres                                                    
     5255 postgres  20   0 80192  64m  64m S    0  3.2   0:58.63 postgres                                                    
     5253 postgres  20   0 80112 5188 5040 S    0  0.3   0:15.12 postgres                                                    
     5256 postgres  20   0 80112  740  616 S    0  0.0   1:43.66 postgres                                                    
     5311 root      20   0 63872  44m 2300 S    0  2.2   0:16.08 mdw.plx                                                     
    27496 wwwrun    20   0 63792  60m 8512 S    0  3.0   0:03.28 index.plx