Technology Blog

No space left on device: Couldn’t create accept lock

by admin on Feb.26, 2010, under Uncategorized

Ahhhhh! Apache won’t restart. What’s going on? Well the below was the issue….dang semaphores!

(28)No space left on device: Couldn't create accept lock or [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed

There were myriads of semaphore-arrays left, owned by my apache-user. ipcs -s | grep apache Removing this semaphores immediately solved the problem. ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'

Special Thanks to: Carlos Rivero

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • TwitThis

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...