]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4829: IPC shared memory leaks when disker queue overflows (#175)
authorCraig Gowing <craiggowing@gmail.com>
Tue, 20 Mar 2018 10:54:56 +0000 (10:54 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Tue, 20 Mar 2018 10:54:56 +0000 (23:54 +1300)
commitd0c5cf9e998fd662875604da01b0ae410734860e
treec4c920e44b96470c15212d0d19c0b73ec491c4ea
parent4eaf432db8c9a6e170332ae9a29e8d305f85171d
Bug 4829: IPC shared memory leaks when disker queue overflows (#175)

The fixed leak was accompanied by these cache.log errors:

ERROR: worker I/O push queue for ... overflow: ...

I/O queue overflows during disk read requests log the same error but do
not leak memory. Repeated overflows during disk write requests could
eventually exhaust IPC shared memory:

ERROR: ... exception: run out of shared memory pages for IPC I/O

With IPC memory exhausted due to leaks, rock disk I/O stops forever.
src/DiskIO/IpcIo/IpcIoFile.cc