From: Alex Rousskov Date: Thu, 27 Oct 2011 01:00:39 +0000 (-0600) Subject: Bug 3383: unhandled exception: theGroupBSize > 0 X-Git-Tag: BumpSslServerFirst.take01~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9f684134803ed861473000c80b680cf79082564;p=thirdparty%2Fsquid.git Bug 3383: unhandled exception: theGroupBSize > 0 Do not create shared queue for IpcIoFile if there are no diskers. The queue code requires at least one queue reader and writer, and SMP does not imply the existence of diskers. --- diff --git a/src/DiskIO/IpcIo/IpcIoFile.cc b/src/DiskIO/IpcIo/IpcIoFile.cc index cb8869d138..94271e5986 100644 --- a/src/DiskIO/IpcIo/IpcIoFile.cc +++ b/src/DiskIO/IpcIo/IpcIoFile.cc @@ -863,7 +863,7 @@ RunnerRegistrationEntry(rrAfterConfig, IpcIoRr); void IpcIoRr::create(const RunnerRegistry &) { - if (!UsingSmp()) + if (Config.cacheSwap.n_strands <= 0) return; Must(!owner);