const size_t mySharedSize = Shared::MemSize(limit);
shm.create(mySharedSize + sharedSizeExtra);
shared = new (shm.reserve(mySharedSize)) Shared(limit);
- debugs(54, 5, HERE << "new map [" << path << "] created");
+ debugs(54, 5, HERE << "new map [" << path << "] created: " << limit);
}
Ipc::StoreMap::StoreMap(const char *const aPath):
shared = reinterpret_cast<Shared *>(shm.mem());
// check that nobody used our segment chunk and that shared->limit is sane
assert(shared == reinterpret_cast<Shared *>(shm.reserve(Shared::MemSize(shared->limit))));
- debugs(54, 5, HERE << "attached map [" << path << "] created");
+ debugs(54, 5, HERE << "attached map [" << path << "] created: " << shared->limit);
}
Ipc::StoreMap::Slot *