You are here: Re: [PHP] Re: Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x « PHP « IT news, forums, messages
Re: [PHP] Re: Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

Posted by Edwin Barrios on 10/04/89 11:23

Yes i'm using a lot of nested loops with __call(), because of dom
did'nt support parse not well formated html, i decided to develop my
html templates class iTemp, and i used a combinatios of foreach (
iterator implementention ) and __call +__get to create a inherity
tree like dom.

But i don't undestand, why only changing the kernel from 2.6.x =>
2.4.x all my problems were solved magically ?

On 8/4/05, Matthew Weier O'Phinney <mweierophinney@gmail.com> wrote:
> * Edwin Barrios <advilprog@gmail.com>:
> > i'am developing a web framework SifEngine (Secure Web Inteface
> > framework) that implement MVC applaying the security ideas from
> > http://phpsec.org. I'am using DomXML, Sqlite, Mcrypt and PostgreSql.
> >
> > After of post my development on the internet ( i have been thinking
> > to post on PEAR ), i made simple tests of aplications with my
> > framework. During the implementation, i used Slackware 10.1 with
> > kernel 2.4.29 + php5.0.4 + Apache 1.3.2, with no problems. I didn't
> > detect performace problems or segfaults by apache. Then i decided to
> > do the same test but with kernel 2.6.10, wating that no problems
> > occur. However my expectation, on this new configuration all the
> > aplications develped with my framework, had performance issues or in
> > the worst situation produce apache forks to be restarted, or a lot of
> > apache forks.
> >
> > i don't undestand why this occur, i try to use valigrand to verify
> > memorie lacks without results.
>
> Are you using __call() or any of the other overloading methods? I had a
> situation several months ago where __call() was going into an infinite
> loop and causing segfaults. Once I tracked that down and fixed it,
> everything worked fine.
>
> --
> Matthew Weier O'Phinney
> Zend Certified Engineer
> http://weierophinney.net/matthew/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация