[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#256109: libapr0: apr shared memory segments stick around forever if there's a crash

Package: libapr0
Version: 2.0.49
Severity: normal

If I set up an apr_shmem segment on my Debian GNU/Linux system, and the
master process that set up the segment crashes without closing it, the
segment sticks around until I reboot.

I'm using a file named "libbtt.shm" to back the segment on the filesystem,
but even if i delete that file, and no other processes are running that
access the segment, when I re-start the server I get the following error:

"apr_shm_create(&rv, 880, ".../libbtt.shm", pool) failed: File exists"


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-2-k7

Reply to: