{"id":595,"date":"2012-12-17T08:31:15","date_gmt":"2012-12-17T08:31:15","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=595"},"modified":"2023-09-22T07:39:58","modified_gmt":"2023-09-22T06:39:58","slug":"eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/","title":{"rendered":"eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes."},"content":{"rendered":"<p>eAccelerator is a open-source PHP accelerator &amp; optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is eliminated. It helps to speed the execution of scripts. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times. eAccelerator stores compiled PHP scripts in shared memory and executes code directly from it. It creates locks only for a short time, while searching for a compiled PHP script in the cache, so one script can be executed simultaneously by several engines. Files that can&#8217;t fit in shared memory are cached on disk only.<\/p>\n<p>When accessing any URL on your server, you might receive an error below.<\/p>\n<blockquote><p>eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes. Lower the amount of memory request or increase the limit in \/proc\/sys\/kernel\/shmmax<\/p><\/blockquote>\n<p>The above error is due to eAccelerator compiled on the server. The installed eAccelerator version is incompatible with php. There are 2 steps you can follow to fix the error.<\/p>\n<p><strong>1.<\/strong> Increase memory in shmmax. Execute the commands below to increase memory.<br \/>\n# echo &#8220;67108864&#8221; &gt; \/proc\/sys\/kernel\/shmmax<br \/>\n# sysctl -w kernel.shmmax=67108864<br \/>\n# sysctl -p<\/p>\n<p><strong>2.<\/strong> Uninstall the buggy\/incompatible version of eAccelerator and compile a new stable version with php.<\/p>\n<p>eAccelerator is installed on all our <a title=\"shared hosting\" href=\"https:\/\/www.milesweb.co.uk\/hosting\/shared-hosting\" target=\"_blank\" rel=\"noopener\">shared hosting<\/a> &amp; <a title=\"reseller hosting\" href=\"https:\/\/www.milesweb.co.uk\/hosting\/reseller-hosting\/\" target=\"_blank\" rel=\"noopener\">reseller hosting<\/a> servers.<\/p>\n<p><strong>Read:&nbsp; <a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-install-eaccelerator-on-linux-cpanel-server\/\">How to install eAccelerator on linux cPanel server?<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>eAccelerator is a open-source PHP accelerator &amp; optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is eliminated. It helps to speed the execution of scripts. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times. eAccelerator [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-595","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-vps-faq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes.<\/title>\n<meta name=\"description\" content=\"eAccelerator is a open-source PHP accelerator &amp; optimizer. It increases the performance of PHP scripts by caching them in their compiled state,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes.\" \/>\n<meta property=\"og:description\" content=\"eAccelerator is a open-source PHP accelerator &amp; optimizer. It increases the performance of PHP scripts by caching them in their compiled state,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2012-12-17T08:31:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-22T06:39:58+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/\",\"name\":\"eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes.\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2012-12-17T08:31:15+00:00\",\"dateModified\":\"2023-09-22T06:39:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"eAccelerator is a open-source PHP accelerator &amp; optimizer. It increases the performance of PHP scripts by caching them in their compiled state,\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"caption\":\"admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes.","description":"eAccelerator is a open-source PHP accelerator &amp; optimizer. It increases the performance of PHP scripts by caching them in their compiled state,","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/","og_locale":"en_GB","og_type":"article","og_title":"eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes.","og_description":"eAccelerator is a open-source PHP accelerator &amp; optimizer. It increases the performance of PHP scripts by caching them in their compiled state,","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2012-12-17T08:31:15+00:00","article_modified_time":"2023-09-22T06:39:58+00:00","author":"admin","twitter_misc":{"Written by":"admin","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/","name":"eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes.","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2012-12-17T08:31:15+00:00","dateModified":"2023-09-22T06:39:58+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"eAccelerator is a open-source PHP accelerator &amp; optimizer. It increases the performance of PHP scripts by caching them in their compiled state,","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/eaccelerator-could-not-allocate-xxx-bytes-the-maximum-size-the-kernel-allows-is-xxx-bytes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"eAccelerator: Could not allocate xxx bytes, the maximum size the kernel allows is xxx bytes."}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","caption":"admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/admin\/"}]}},"views":1450,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=595"}],"version-history":[{"count":13,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/595\/revisions"}],"predecessor-version":[{"id":15087,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/595\/revisions\/15087"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}