-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 2/10/14, 2:02 PM, Mark Thomas wrote: > On 10/02/2014 18:51, Christopher Schultz wrote: >> Perhaps the background thread should catch and ignore >> OutOfMemory errors? > > Once you have an OOME, all bets are off. You'd be better off > catching the OOME and calling System.exit(). That's really only the case when its a persistent OOME, not a transient one. In my case, the server has been running for 3 days without anyone otherwise noticing that we suffered an OOME. Having quit the JVM would have been a mistake in this case. I did get a heap dump, so I'll be looking at that of course, but we run with a fairly small heap and a few operations replace a lot of in-memory data, so it's not entirely unexpected. I've confirmed that, by calling Manager.backgroundProcess via JMX, all those extra sessions were removed (I'm down to 6, now). For anyone who finds themselves in this situation and they aren't ready to take-down their server, using JMX to force session-cleanup appears to be an option. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJS+S2FAAoJEBzwKT+lPKRYF2QP/1rHXLbRQqv+ErrA5teeCHR0 Vz3MzAFeSV+PkfoZrpL8IS1gJh9oXy8a53+3nrHXfNtpXLWhgdyqy64c7iEX+w3x kj+I8DrkilvvHRLds222PjGnFihF9+TP6uYxzghb0v1Oh6xGbweSQYL6K752LoFq IpcR1EANC6R0CHpnZ8ctVdAdQ3hp8iY9YfdwTSx5HU1cKjvW2kpTK4Kba1PJbTje G5r3GcUT+uDgjnArW+wUcLWOiIMxw1mhxlvf1M6Y4BJv9GkM8f3E/7WlFzh14ST+ 7qp39hRSHTopQFdgReTbhSoB7v0Wztpl0oemk5bTfPA1HJR9pGDEuUNemFPXu1xw 463GXScHrCUufvMXQZ7j4NFwVT/cY5sRke5JyEhDtZzSGnG+j91/EFU3qeiy3wR8 QdOpQ3Oe3aFRng5GWG7i46Sq53enGr9dM1oWKw01fDH5V8KPZM52Bd0ptinuZ0oG tYUVOC08FE0D1iNFkiFP25cPovVqv0Qkcwkp8w83B4MDEFtEa7JDWzugc7oifrbl JOeEWN0wRF7LYCAYfffrhPbMwestlPVdvUkTnBW+jTvwgFFlBTOfDPWdShHuqYEd tZHe0QbMrSr/c+ZeW42OJkUxQBBY++Mvqy8ig9XM6BFnAzNUNFcu0kZsjEZDTf20 EAdIer066Me1T6GJGEbq =BCQy -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org