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

SOPHOS XG Fw - How to Clear SWAP Cache?.

Hello!

I need your help with some doubts about how to clear the swap cache or swap usage?, i tried to do a linux proceding with the the swapoff -a && swapon -a command but no works on XG, this because fstab directory not exists.

 

Waiting for your early reply

 

Best regards!



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

    Why would you like to remove the swap cache? If your concern is regarding Web Cache, then we have a toggle to disable the cache under web> general settings.

  • Hello Adytia, 

    The situation of cleaning the swap cache is due to the fact that our firewall is currently using  95 to 98% RAM and SWAP and it has generated  faults in the operation of the virtual appliance.

    Here is an image of the swap resources used:

    a few days ago, we disabled IPS, Antivirus, Hotspot and Web Server protection Services, but there were no changes, and this shows me too much postgres processes that i known it used by snort.

     

    Waiting for your early reply.

  • Adytia

    First of all, thank you for the reply and the documentation, it really helps me to understand how Sophos XG manage the system resources. But i have some doubts that Why WebGUI alerting this as a negative output.

     

     

     
    It would be advisable to make an extension of RAM?.

    This really worries me because the device have experienced some fails about the correct networking operation because the utilization resouces affecting operative continuity of our clients.
     
    Best Regards.
  • Adytia, 

    Adding this, the IPS service and other too, here's the output of the System service status:

     

    That's my doubts are generated related to the utilization resources, because they were disabled.

     

    Waiting for your early reply.

     

    Thanks for all help!

     

    Best Regards

  • Hello Enzo,

    It does seem that some process is causing high utilization on your SWAP memory, could you please check go to atop and press S and check which process is taking the most of the cpu and also check by pressing p and check at that time which process is taking high swap memory. 

    We suspect the issue could be with one of these process, also could you please let us know if you are on the latest version?

  • Aditya,

    Here's the ouput from atop 

     

    The current firmware versión is 17.1.4-MR4, applied about 3 weeks ago.

  • Hello,

     

    Any helps with this?, it really worries me, because this can cause abnormal operations...

     

    Waiting for replys.

     

    Best Regards.

  • Hello Enzo, 

    We have received your case and would monitor this issue further. 

  • Additya,

    Today, our client was affected by the same issue related to the networking service loss, corresponding to the port forwarding where the during the midnight Tuesday 05-02 23:30 PM approximely.Where the firewall lost the publication of the ports and this made it impossible to publish the services. In order to get out of the serious problem, the device had to be restarted, allowing to recover the services again.. In order to get out of this serious problem, we had to increase the ram from 4GB to 6GB and restart the firewall, this action allow us to recover the service published.
     
    This happens by the high usage recources, and this is very annoying and very worry because the device functioning is not reliable, this issue it has happened every 2 months very recurrent.
     
    Waiting for your early reply
     
    Best regards
     
     
  • Hello Enzo,

    Thank you for the update, as your case is still ongoing I would advise to wait until we reach the conclusion to this issue.

  • Ok Aditya, iĺl be waiting for your reply about this case.

     

    Thanks.

     

    Regards!

  • Hello Enzo, 

    Thank you for dedicating your time and effort to diagnose this issue with our support team, we suspect to be a bug but would like you to continue troubleshooting with our engineer.. 

    Ref:NC-34479

Reply Children
  • Aditya, 

    Yes, maybe a but, can you continue investigating this case?, it would be very helpfull to know this device behavior. In parallel we will perform the rebuild of the device with the last version.

     

    Best Regards!

  • Hello Enzo,

    Thank you for the update, rebuild should be the only solution for now. Do not restore the backup, simply configure the device again from scratch.

  • Hello Aditya,

    At the moment, we're doing a new device deployment with new configuration, but is necessary that your team perform the analisys about this anomaly and the usage resources in the virtual enviroment this, because we have another customer with many more systems and the resources of the other firewall (different manufacturer) does not use as many resources in its virtual implementation.

     

    Waiting for your early reply.

     

    Best regards.