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

Swap file usage

A few of my customers have constantly 30% of swap file usage while RAM usage is still at 50%. Is this normal or there is something wrong? Other customers have only little or zero swap usage. This happen to both hardware and software appliances. Any idea? They are using ASG8.202

Thanks


This thread was automatically locked due to age.
Parents
  • As Peter says (and has been discussed at length before here) "allocated" swap is not the same as "active swap". If you are not "out" of memory, then the swap you see allocated will grow over time as programs and applications reserve their piece of the swap partition, which is perfectly normal so they have something to call on when they need disk or if the unit is totally out of memory.

    This means you can have 5% memory usage and still see 40% swap, since the swap isnt active, just "allocated" for when things need it. They feel, why give it back? its not being used, and next time i dont have to go looking for disk space if i just keep this piece for me just in case. 

    Hope that makes sense, it certainly doesnt mean you need 4GB of memory, we have thousands of units in the field running 1GB without issue, and they have no complaints.
Reply
  • As Peter says (and has been discussed at length before here) "allocated" swap is not the same as "active swap". If you are not "out" of memory, then the swap you see allocated will grow over time as programs and applications reserve their piece of the swap partition, which is perfectly normal so they have something to call on when they need disk or if the unit is totally out of memory.

    This means you can have 5% memory usage and still see 40% swap, since the swap isnt active, just "allocated" for when things need it. They feel, why give it back? its not being used, and next time i dont have to go looking for disk space if i just keep this piece for me just in case. 

    Hope that makes sense, it certainly doesnt mean you need 4GB of memory, we have thousands of units in the field running 1GB without issue, and they have no complaints.
Children
No Data