Apache: No space left on device

Run:

for i in `ipcs -s | awk '/apache/ {print $2}'`; do (ipcrm -s $i); done