{"id":38,"date":"2012-03-08T21:48:50","date_gmt":"2012-03-08T20:48:50","guid":{"rendered":"http:\/\/morc.solutions\/en\/?p=38"},"modified":"2012-03-08T21:53:11","modified_gmt":"2012-03-08T20:53:11","slug":"fun-with-zend","status":"publish","type":"post","link":"https:\/\/morc.solutions\/en\/fun-with-zend\/","title":{"rendered":"Fun with Zend"},"content":{"rendered":"<p style=\"text-align: justify;\">There is a web server, Apache, which all of a sudden started to die in a funny way. It did not die completely, just did not serve pages&#8230;\u00a0<!--more-->Error log was littered with\u00a0\u201czend_mm_heap corrupted\u201d and \u201cchild pid nnnnn exit signal Segmentation fault (11)\u201d entries and after a while it stopped serving pages (I guess all threads went zombies or something). The problem seems to lay with the Zend framework, many people reported the same (?) problem. But either developers can&#8217;t reproduce it, or they did not have a chance to fix it yet, the problem is still there. Some people cite the blessing effects of\u00a0USE_ZEND_ALLOC environment variable. I added it to\u00a0\/etc\/apache2\/envvars (Ubuntu server) and the problem went away after a restart. Some advise to adjust the\u00a0PHP output_buffer variable as well. I had that set to 4096 when I saw the problem, setting it to 8192 did not improve the situation. I think this is not the solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is a web server, Apache, which all of a sudden started to die in a funny way. It did not die completely, just did not serve pages&#8230;\u00a0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,15],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-config","category-php"],"_links":{"self":[{"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":5,"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/posts\/38\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/morc.solutions\/en\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}