{"id":578,"date":"2014-01-23T11:31:25","date_gmt":"2014-01-23T10:31:25","guid":{"rendered":"http:\/\/ndk.sytes.net\/wordpress\/?p=578"},"modified":"2014-01-23T11:31:25","modified_gmt":"2014-01-23T10:31:25","slug":"no-space-left-on-device-error-apache","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=578","title":{"rendered":"No space left on device error (Apache)"},"content":{"rendered":"<p>\n\tIf you find in your apache error logs some lines with:\n<\/p>\n<p>\n\t<em>No space left on device.&nbsp;Couldn&#39;t create accept lock<\/em>\n<\/p>\n<p>\n\tand a normal service restart does not help it has likely something to do with <a href=\"http:\/\/en.wikipedia.org\/wiki\/Semaphore_(programming)\" target=\"_blank\">Semaphores<\/a> running out.\n<\/p>\n<p>\n\tTry a service shutdown and check your apache semaphores afterwards with:<br \/>\n\t<em># ipcs | grep apache<\/em>\n<\/p>\n<p>\n\tShould there still be a lot of them you can delete them with following command:<br \/>\n\t<em># ipcs -s | grep apache | perl -e &#39;while (&lt;STDIN&gt;) { @a=split(\/\\s+\/); print `ipcrm sem $a[1]`}&#39;<\/em>\n<\/p>\n<p>\n\tNow start your apache normally and verify the logs if the problem has gone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you find in your apache error logs some lines with: No space left on device.&nbsp;Couldn&#39;t create accept lock and a normal service restart does not help it has likely something to do with Semaphores running out. Try a service shutdown and check your apache semaphores afterwards with: # ipcs | grep apache Should there [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"class_list":["post-578","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-servers"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=578"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/578\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}