Guest User!

You are not Sophos Staff.

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

SelfMonitoring: swap usage to high(616 times)

Hello everybody!

I am recieving the following notify@"astaro-firewall server" messages. Any ideas? 
Thank you in advance for any info! Happy Holidays!

SUBJECT: SelfMonitoring: swap usage to high(616 times)

BODY:
swap usage to high: 128512 > 100000 kB


This thread was automatically locked due to age.
Parents
  • askar,

    check which process needs too much RAM
    "ps axwfu", could be squid and if your firewall
    has to handle heavy traffic nacctd (accounting)could be possible, too.

    regards
    ollion
  • ollion,

    Thank you very much for reply. I am a little late, but it is better then never... 

    It is definately squid (http proxy). It consumes 
    54.2% of my swap space (MEM). Is there anything I can do without restarting the Astaro server? For example, restart squid, or maybe there is a perminent patch for that (like get more ram  [:)]  )

    squid      584  0.0 54.2 327344 209052 ?     S    Feb19   1:15  \_ (squid) -sYD


    Thanks again to whoever responds. I will try to keep my eyes open this time...  [;)] 

    -Askar

      [:)]
Reply
  • ollion,

    Thank you very much for reply. I am a little late, but it is better then never... 

    It is definately squid (http proxy). It consumes 
    54.2% of my swap space (MEM). Is there anything I can do without restarting the Astaro server? For example, restart squid, or maybe there is a perminent patch for that (like get more ram  [:)]  )

    squid      584  0.0 54.2 327344 209052 ?     S    Feb19   1:15  \_ (squid) -sYD


    Thanks again to whoever responds. I will try to keep my eyes open this time...  [;)] 

    -Askar

      [:)]
Children
  • I have the same problem...

    I´ve made a system update and have restarted the astaro...

    tomorrow i will see if the error message is gone
  • Hello again,

    restarting the firewall makes no sense at all because
    squid fetches the memory again because of its
    cache size. Squid needs per stored object round
    about 100 byte of RAM - 
    There are two solutions:

    1. Clear the cache to start from the scratch
     -Stop Squid within WebAdmin
     -go to /var/chroot-squid/var/squid/cache
      and delete the whole directory structure
      before you enter "rm -rf *" make sure that
      you are in the right directory    [;)]  
     -Start Squid within WebAdmin again

    2. Get more RAM      


    Regards
    ollion
  • Hello,

    another solution is to disable the caching-functionality of squid (if it`s possible).
    A side-effect is, that by diabling caching you always get actual objects from the internet ...  [;)] 

    Arne