2014-08-18 21:21:50 +02:00
|
|
|
o Minor features (security, OOM):
|
|
|
|
- When closing an edge connection because we've run out of memory,
|
|
|
|
also count the amount of memory that any tunnelled directory
|
|
|
|
connection attached to that connection had consumed. Part of
|
2014-08-19 16:59:15 +02:00
|
|
|
ticket 11792.
|
|
|
|
|
|
|
|
- When considering whether we're running low on memory, consider
|
|
|
|
memory that was allocated as part of zlib buffers as well.
|
|
|
|
Count that memory as reclaimed by our OOM handler. Part of
|
|
|
|
ticket 11792.
|
|
|
|
|
2014-08-19 17:25:48 +02:00
|
|
|
- When handling out-of-memory conditions, also look at
|
|
|
|
non-tunnneled directory connections, and kill the ones that have
|
|
|
|
had data sitting on them for the longest. Part of ticket 11792.
|
|
|
|
|