I'm monitoring some CentOS 5 servers running Sun Java. We have set things up so 2048 MB of RAM are available for the base operating system, taking into account the xMx and permgen settings. What we're seeing is the swap space getting used up, and not released. Is this normal behavior? Performance doesn't seem to be affected, however I'm a bit concerned that the swap file is completely full:<div>
<br></div><div><div>free -m</div><div> total used free shared buffers cached</div><div>Mem: 9993 9945 48 0 174 1695</div><div>-/+ buffers/cache: 8074 1919</div>
<div>Swap: 2047 2033 14</div><div><br></div><div>Here are the xMx and permgen settings:</div><div>-Xms7177m -Xmx7177m -XX:MaxPermSize=768m</div><div><br></div><div>Apart from Java/Tomcat/Apache and some HP hardware monitoring tools we are not running anything else on this server.</div>
</div>