Squid SMP on MacOS

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 25 Feb 2013 18:02:18 +1300

I'm trying to get the MacOS builds of Squid going again but having some
problems with shm_open() in the Rock storage unit-tests.

1) MacOS defines the max name length we can pass to shm_open() at 30
bytes. "/squid-testRock__testRockSearch" being 35 or so bytes.
   Cutting the definition in testRock.cc down so it becomes
"/squid-testRock_Search" resolves that, but then we hit (2).

2) With the short string above and the current settings sent to
shm_open() in src/ipc/mem/Segment.cc line 73 MacOS shm_open() starts
responding with EINVAL.

   Any ideas?

Amos
Received on Mon Feb 25 2013 - 05:02:24 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 25 2013 - 12:00:07 MST