shared memory

  1. T

    Solved Process-shared mutex issues in FreeBSD 12.3?

    I am having timing-specific problems with a process-shared mutex in FreeBSD 12.3; sometimes pthread_mutex_lock or pthread_mutex_unlock will throw an exception. I have seen comments that process-shared mutexes were not supported in some older versions of FreeBSD, but it appears it should be...
  2. T

    Solved How to view and clean shared memory created with shm_open?

    I have a process that (by design) fails to start if its shared memory created with shm_open already exists. If the process crashes or is kipped with pkill, the process will not start until FreeBSD is rebooted. I'm looking to create a "clean" sh script to detect if the shared memory exists and...
  3. J

    Running a jail with sysvipc_allow="YES"

    Hi, I have to run many instances of PostgreSQL in different jails. And it seems it's not currently possible to run PostgreSQL in a jail without setting sysvipc_allow="YES" in the jail config. (Or is it? I stumbled onto this: where someone...