Re: crash
| From: | (Michiel van der Blonk) | Date: | Tue, 16 Aug 2005 15:16:24 +0000 |
| Subject: | Re: crash | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12968@lists.php.net to get a copy of this message | ||
Note to self (and everyone else):
This bug is now fixed. It was not even PEAR related. After solving the PEAR bug, the symptoms were gone on our local version, yet online the bug kept re-appearing for a long time, until...
we finally upgraded the server, and PRESTO: the bug was gone.
Using PEAR+Smarty+Zend on a small scale server with a huge load is a really bad idea.
anyone who has an inexplicable emalloc or malloc or other core dump on apache should simply upgrade!
Michiel
Michiel van der Blonk wrote:
Hi
This problem does not seem to be Smarty related, although it did occur when Smarty tried to read from memory. I found out it is PEAR and/or sendmail related, and since PEAR handles the previous step, Smarty is not to blaim. It's just the messenger.
Michiel ***************************** Michiel van der Blonk CaribMedia Marketing & Consultancy N.V. Oranjestad, Aruba Tel: (297) 583-4144 Fax: (297) 582-6102 http://www.caribmedia.com ---------------------------------------------------- Website Design, Web Application Development, Web Hosting, Internet Marketing ---------------------------------------------------- Operators of: Visit Aruba - http://www.VisitAruba.com Aruba Links - http://www.ArubaLinks.com Aruba Business Directory - http://www.visitaruba.com/business/ Aruba Real Estate Locator - http://www.arubarealestate.com Aruba Bulletin Board - http://bb.visitaruba.com/ Aruba Trip Reports - http://tripreports.visitaruba.com Aruba Chat - http://chat.visitaruba.com The VisitAruba Plus SAVINGS CARD - http://www.visitaruba.com/plus/ Contents of this communication are confidential and legally privileged. This document is intended solely for use of the individual(s) or entity/entities to whom it is addr "Michiel van der Blonk" <michiel@caribmedia.com> wrote in message news:20050114161312.64080.qmail@pb1.pair.com...Hi Apache crashes right after I send mail and then try to show a page having Smarty variables. When I delete the sendmail line everything is fine. WhenIdelete the Smarty variables from the template, also everything is fine. As soon as I put one variable in the 'confirmation'-template that is shown after sending mail, the problem occurs. Result: Apache error messages: emalloc: cannot allocate ... bytes and also erealloc: cannot allocate ... bytes I just upgraded to php 4.3.10 on FreeBSD. any ideas? Michiel -- Kind regards, Michiel ***************************** Michiel van der Blonk CaribMedia Marketing & Consultancy N.V. Oranjestad, Aruba Tel: (297) 583-4144 Fax: (297) 582-6102 http://www.caribmedia.com ---------------------------------------------------- Website Design, Web Application Development, Web Hosting, Internet Marketing ---------------------------------------------------- Operators of: Visit Aruba - http://www.VisitAruba.com Aruba Links - http://www.ArubaLinks.com Aruba Business Directory - http://www.visitaruba.com/business/ Aruba Real Estate Locator - http://www.arubarealestate.com Aruba Bulletin Board - http://bb.visitaruba.com/ Aruba Trip Reports - http://tripreports.visitaruba.com Aruba Chat - http://chat.visitaruba.com The VisitAruba Plus SAVINGS CARD - http://www.visitaruba.com/plus/ Contents of this communication are confidential and legally privileged.Thisdocument is intended solely for use of the individual(s) orentity/entitiesto whom it is addr -- Kind regards, Michiel ***************************** Michiel van der Blonk CaribMedia Marketing & Consultancy N.V. Oranjestad, Aruba Tel: (297) 583-4144 Fax: (297) 582-6102 http://www.caribmedia.com ---------------------------------------------------- Website Design, Web Application Development, Web Hosting, Internet Marketing ---------------------------------------------------- Operators of: Visit Aruba - http://www.VisitAruba.com Aruba Links - http://www.ArubaLinks.com Aruba Business Directory - http://www.visitaruba.com/business/ Aruba Real Estate Locator - http://www.arubarealestate.com Aruba Bulletin Board - http://bb.visitaruba.com/ Aruba Trip Reports - http://tripreports.visitaruba.com Aruba Chat - http://chat.visitaruba.com The VisitAruba Plus SAVINGS CARD - http://www.visitaruba.com/plus/ Contents of this communication are confidential and legally privileged.Thisdocument is intended solely for use of the individual(s) orentity/entitiesto whom it is addr