]> 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>
Sun, 8 Jul 2018 14:04:24 +0000 (02:04 +1200)
commit3fd88877c044d0f70df3f36298dcd3ddc67b65d5
tree59a25cf7d6e683d06aa58f5dc46efbc01c5b26b5
parenta070ab450896702b14af48e83ce6c8f90c4ac9b1
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