<:Apache FATAL erealloc message with gigabytes>

Dieser Artikel ist auf Englisch, um möglichst viele Suchende zu erreichen.

Lately I found my Apache2 (2.0.54) throwing lots of messages like FATAL: erealloc(): Unable to allocate 2020565795 bytes in its error_log. I found out that this happened while reading e-mails via Horde IMP from a Courier IMAP server, which authenticates the user against a MySQL (4.1) database. First, I suspected MySQL. Then Horde. Then Courier. And then, finally, I found out what it was: my USE flag setting of hardenedphp, which enables the Hardened PHP project. Disabling the flag led to a perfectly working Horde installation without any mail reading problems. I think I won't need Hardened PHP anyway.