effordable
Verified User
Hello everyone.
I'm plagued with semaphore arrays
While I've not yet found a real "fix" for the issue, I have setup SIM to use a script to restart apache and clear them out.
Here's what I did.
Create a file with the following:
chmod 711
Next I adjusted sim.conf to use my file when restarting apache
Pretty simple huh
If anyone has a real fix for this, please let me know.
Hope this helps.
I'm plagued with semaphore arrays

While I've not yet found a real "fix" for the issue, I have setup SIM to use a script to restart apache and clear them out.
Here's what I did.
Create a file with the following:
Code:
#!/bin/sh
/sbin/service httpd stop
ipcs -s | grep apache | gawk '{ print $2 }' | xargs -n 1 ipcrm sem
/sbin/service httpd start
Next I adjusted sim.conf to use my file when restarting apache
Pretty simple huh

If anyone has a real fix for this, please let me know.
Hope this helps.