Shared Memory issue with mod_fcgid
Today I had an issue about the shared memory for my apache server. It want reserve memory for a fcgid process and stop with message:
No space left on device: mod_fcgid: Can’t create shared memory for size
After a liittle bit research i´ve found out that one of my customers locked over 4000 processes with such 1024bytes of shared memory. These commands delete these locks:
ipcs | awk '/username/ { print $2 }' > ~/ipcid.log for i in `cat ~/ipcid.log`; do ipcrm -m $i; done |
Categories: General