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

Excessive ram usage?

So this is what I have been looking at:
http://gubba.afraid.org/media/images/Astaro_001.png 

190MB average seemed like a little bit too much for me so I did some cleanup and restarted (Uptime was ~40 days).
This is what I saw just after a reboot:
Maximum: 259468 kB Average: 191341 kB Current: 46584 kB

Five minutes later:
Maximum: 259468 kB Average: 190202 kB Current: 108253 kB

And five minutes after that:
Maximum: 259468 kB Average: 190048 kB Current: 127775 kB


Now I expected some drop in usage after a restart but nothing like that. I figure the immediate post restart ballooning was services starting up and such.
Since I have 348MB of ram in the box this level of usage was not an immediate concern. At that rate it was using another ~10MB every week.
I have also been getting “[WAR 102] Too much memory for a single process” notifications frequently, sometimes I get 5 a day sometimes none for a week.
Packet log size was around 10-20KB per day. I have added some drop rules to drop size down a little.

I suppose I just wanted to bounce this off a few of you to get an idea of what "normal" usage should be.
Is there anything abnormal about this?

Specs:
ASL 4.020
Intel PIII 500 (Katami)
QDI Advance 5 133
348 MB PC100
20GB Maxtor 7200RPM     


This thread was automatically locked due to age.
  • reduce your log sizes....search the forums for boradcast for tips on packet filter rules to drop(not log drop) broadcast traffic...also are you using the http proxy?  you can really chop its usage of ram with a few mods..if you have many users you may not want to do this as this willl palce 90% of hte file load directly on the hard disk...

    to adjust max object size on disk and in mem:
    Login to your firewall using an ssh client (I use ZOC on windows but PuTTY I believe works just as well) using the "loginuser" ID.

    Once logged in "su" to root...
    ASL> su -
    Password: 

    Open the .conf file in "joe".
    ASL> joe /var/chroot-squid/etc/squid.conf-default

    As the above article suggests, look at the /var/chroot-squid/etc/reference-squid.conf file first since it has all the original annotations regarding the different options contained in the file.

    cache_mem
    Default cache_mem 8 MB  

    Default maximum_object_size 4096 KB 
    Objects larger than this size will NOT be saved on disk. The value is specified in kilobytes, and the default is 4 MB

    maximum_object_size_in_memory (bytes)
    Objects greater than this size will not be attempted to be kept in the memory cache. This should be set high enough to keep objects accessed frequently in memory to improve performance while, low enough to keep larger objects from hoarding cache_mem.
    Default maximum_object_size_in_memory 8 KB  
  • [ QUOTE ]
    reduce your log sizes....search the forums for boradcast for tips on packet filter rules to drop(not log drop) broadcast traffic...also are you using the http proxy?  you can really chop its usage of ram with a few mods..if you have many users you may not want to do this as this willl palce 90% of hte file load directly on the hard disk...

    to adjust max object size on disk and in mem:
    Login to your firewall using an ssh client (I use ZOC on windows but PuTTY I believe works just as well) using the "loginuser" ID.

    Once logged in "su" to root...
    ASL> su -
    Password: 

    Open the .conf file in "joe".
    ASL> joe /var/chroot-squid/etc/squid.conf-default

    As the above article suggests, look at the /var/chroot-squid/etc/reference-squid.conf file first since it has all the original annotations regarding the different options contained in the file.

    cache_mem
    Default cache_mem 8 MB  

    Default maximum_object_size 4096 KB 
    Objects larger than this size will NOT be saved on disk. The value is specified in kilobytes, and the default is 4 MB

    maximum_object_size_in_memory (bytes)
    Objects greater than this size will not be attempted to be kept in the memory cache. This should be set high enough to keep objects accessed frequently in memory to improve performance while, low enough to keep larger objects from hoarding cache_mem.
    Default maximum_object_size_in_memory 8 KB   

    [/ QUOTE ]
    Thanks for the reply. [:)]

    Already had most of the junk traffic dropped. No http proxy.
    I did some more cleanup, ram usage is back down around 110 MB. I'll have to wait and see how it goes.

    Thanks again.  
  • got  a reply on another thread about a tweak to the packetfilter rules to make sure xp machines to nod sneak around it:
    https://community.sophos.com/products/unified-threat-management/astaroorg/f/54/t/40067