Re: Re: Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
> * Edwin Barrios <advilprog@xxxxxxxxx>:
> > 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
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux