{"id":510,"date":"2012-11-23T13:34:13","date_gmt":"2012-11-23T12:34:13","guid":{"rendered":"http:\/\/elkano.org\/blog\/?p=510"},"modified":"2012-11-23T13:35:49","modified_gmt":"2012-11-23T12:35:49","slug":"apc-error-apc_mmap-ftruncate-failed-file-too-large","status":"publish","type":"post","link":"https:\/\/elkano.org\/blog\/apc-error-apc_mmap-ftruncate-failed-file-too-large\/","title":{"rendered":"[apc-error] apc_mmap: ftruncate failed: File too large"},"content":{"rendered":"<p>I got this error when starting php5-fpm service. I am using Debian Squeeze with dotdeb.org repositories to get php5-fpm package for php 5.3. <\/p>\n<p>In this case the error was related to APC package mismatch between debian and dotdeb.org repositories. To solve the problem I uninstalled php-apc from debian repositories and installed php5-apc from dotdeb.<\/p>\n<pre class=\"prettyprint lang-xml\">\r\n# apt-get remove php-apc\r\n# apt-get install php5-apc\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I got this error when starting php5-fpm service. I am using Debian Squeeze with dotdeb.org repositories to get php5-fpm package for php 5.3. In this case the error was related to APC package mismatch between debian and dotdeb.org repositories. To solve the problem I uninstalled php-apc from debian repositories and installed php5-apc from dotdeb. # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[66,67,68],"_links":{"self":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/510"}],"collection":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/comments?post=510"}],"version-history":[{"count":4,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/510\/revisions"}],"predecessor-version":[{"id":513,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/510\/revisions\/513"}],"wp:attachment":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/media?parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/categories?post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/tags?post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}