<p>Everything works fine on my local machine (OSX/MAMP PRO) but on my server (Digital Ocean LAMP stack on Ubuntu) saving an entry brings the whole thing down and I have to restart Apache before the site becomes responsive again. It doesn't seem to time out, it just never completes the save. Oddly, it does actually save the data so when I bring the server back up with <code>service apache2 restart</code> the changes are there.</p>

<p>Apache logs look like this: </p>

<p><code>
zend_mm_heap corrupted
zend_mm_heap corrupted
[Mon Nov 03 11:44:55.395173 2014] [mpm_prefork:notice] [pid 16677] AH00169: caught SIGTERM, shutting down
[Mon Nov 03 11:44:56.453282 2014] [mpm_prefork:notice] [pid 17116] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.4 configured -- resuming normal operations
[Mon Nov 03 11:44:56.453484 2014] [core:notice] [pid 17116] AH00094: Command line: '/usr/sbin/apache2'
zend_mm_heap corrupted
zend_mm_heap corrupted
[Mon Nov 03 11:51:53.601504 2014] [mpm_prefork:notice] [pid 17116] AH00169: caught SIGTERM, shutting down
[Mon Nov 03 11:51:54.577982 2014] [mpm_prefork:notice] [pid 17178] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.4 configured -- resuming normal operations
[Mon Nov 03 11:51:54.578223 2014] [core:notice] [pid 17178] AH00094: Command line: '/usr/sbin/apache2'</code></p>

<p>The <code>zend_mm_heap corrupted</code> bit looks like it could be something to do with it? I've tried increasing out_buffering as per <a href="https://stackoverflow.com/questions/2247977/what-does-zend-mm-heap-corrupted-mean">this SO thread</a> but it didn't help. I don't know where to even start with this, I've never experienced it before. </p>

<p>Apologies if this is a bit vague but this is the only place I can think of to ask — I've contacted P&amp;T too.</p>

<p>EDIT: I've re-installed a new version of Craft in the same place on my server and, although the installation went 'Oops' I can actually log in and save entries so I don't think there's anything fundamentally wrong there.</p>

CC BY-SA 3.0
2014-11-03T18:11:11.813Z
Check your craft/storage/runtime/logs files for the site you just did a fresh install on and search for `[error]` or `[warning]` to find out what caused the 'Oops'. That might be a clue to your first issue.
Brad Bell
CC BY-SA 3.0
2014-12-09T14:23:03.273Z
I gave up on this and as a last resort ditched the Ubuntu server I was running in favor of Debian. Problem went away.
hamishtaplin
CC BY-SA 3.0
2014-12-09T16:10:35.677Z
Weird... mind adding that as an official answer?
Brad Bell
<apache>
Craft hangs when saving any entry and brings Apache down
# Craft hangs when saving any entry and brings Apache down

(Asked by: username_0 on 2014-11-03)

Everything works fine on my local machine (OSX/MAMP PRO) but on my server (Digital Ocean LAMP stack on Ubuntu) saving an entry brings the whole thing down and I have to restart Apache before the site becomes responsive again. It doesn't seem to time out, it just never completes the save. Oddly, it does actually save the data so when I bring the server back up with `service apache2 restart` the changes are there.

Apache logs look like this:

`zend_mm_heap corrupted
zend_mm_heap corrupted
[Mon Nov 03 11:44:55.395173 2014] [mpm_prefork:notice] [pid 16677] AH00169: caught SIGTERM, shutting down
[Mon Nov 03 11:44:56.453282 2014] [mpm_prefork:notice] [pid 17116] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.4 configured -- resuming normal operations
[Mon Nov 03 11:44:56.453484 2014] [core:notice] [pid 17116] AH00094: Command line: '/usr/sbin/apache2'
zend_mm_heap corrupted
zend_mm_heap corrupted
[Mon Nov 03 11:51:53.601504 2014] [mpm_prefork:notice] [pid 17116] AH00169: caught SIGTERM, shutting down
[Mon Nov 03 11:51:54.577982 2014] [mpm_prefork:notice] [pid 17178] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.4 configured -- resuming normal operations
[Mon Nov 03 11:51:54.578223 2014] [core:notice] [pid 17178] AH00094: Command line: '/usr/sbin/apache2'`

The `zend_mm_heap corrupted` bit looks like it could be something to do with it? I've tried increasing out\_buffering as per [this SO thread](https://stackoverflow.com/questions/2247977/what-does-zend-mm-heap-corrupted-mean) but it didn't help. I don't know where to even start with this, I've never experienced it before.

Apologies if this is a bit vague but this is the only place I can think of to ask — I've contacted P&T too.

EDIT: I've re-installed a new version of Craft in the same place on my server and, although the installation went 'Oops' I can actually log in and save entries so I don't think there's anything fundamentally wrong there.

**Tags:** apache

> **Comments:**
> **username_1**: Check your craft/storage/runtime/logs files for the site you just did a fresh install on and search for `[error]` or `[warning]` to find out what caused the 'Oops'. That might be a clue to your first issue.  
> **username_0**: I gave up on this and as a last resort ditched the Ubuntu server I was running in favor of Debian. Problem went away.  
> **username_1**: Weird... mind adding that as an official answer?  

---

## 0 answers

