Frequently Asked Questions for FreeBSD 2.X : System Administration : Does FreeBSD support System V IPC primitives?
Previous: Why can't I edit the disklabel on my ccd?
Next: How do I use sendmail for mail delivery with UUCP?

8.17. Does FreeBSD support System V IPC primitives?

Yes, FreeBSD supports System V-style IPC. This includes shared memory, messages and semaphores. You need to add the following lines to your kernel config to enable them.

        options    SYSVSHM
        options    "SHMMAXPGS=64"   # 256Kb of sharable memory
        options    SYSVSEM          # enable for semaphores
        options    SYSVMSG          # enable for messaging
      

Recompile and install.

NOTE: You may need to increase SHMMAXPGS to some ridiculous number like 4096 (16M!) if you want to run GIMP. 256Kb is plenty for X11R6 shared memory.


Frequently Asked Questions for FreeBSD 2.X : System Administration : Does FreeBSD support System V IPC primitives?
Previous: Why can't I edit the disklabel on my ccd?
Next: How do I use sendmail for mail delivery with UUCP?