No space left on device: AH00023: Couldn’t create the rewrite-map mutex

To clear all semaphores owned by the apache user:

ipcs -s | awk -v user=apache '$3==user {system("ipcrm -s "$2)}'