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

Re: Debugging



> Reading this email, has me uh, concerned.  My reading, of this is that
> this failed because there were slightly over 200 entries in the DB of type
> "user".  And anytime we reach this magic number, we're going to have this
> timeout problem.  One thing, why can't we increase the timeout?  There's
> gotta be a setting.  

No.  Not 200 of type user.  What caused the timeout was the fact that
there were 200 objects with the same parent.  When that parent is loaded,
all of it's children get initialized with it.  Yes, we can increase the
timeout... but it's pretty high currently, and I don't know if we want
people waiting over a minute for a page anyway.

> Why do you think this is a PHP timeout issue?  What is the limit in terms
> of time?  Would getting a faster DB system help?  A faster web server? I

Perhaps.  Who knows.  I know it's a PHP timeout issue... whether it's
timing out due to lack of processing power, or lack of DB power... I'm
not quite sure...

> don't think re-writing this in C/C++ is something that will ever happen.
> C/C++ is just too low level for this sort of thing.  And from the sounds

Yes it will be.  In case you've never listened to my rants about it on
IRC, this is one of the ideas that interests me most.  To rewrite the
object code in C/C++ as a stand-alone server with a modurlized back-end.
Dan and I have discussed as well.  That way other projects can more
easily utilize the system we've been designing... it's the whole ODS
thing I talked with you about some time ago... it will happen, it's just
a matter of when...

> of it, I have this bad feeling that Zend won't be ready in time for us
> either.  Which means examining other options; sooner rather than later.

I'm not sure Zend won't make it in time.  The problem surfaces when you
get lots of objects under one category... and right now, content isn't
even being added... so we have a little bit of time.  I'll also be
looking at how I can optimize things in the current code... it's quite
possible I haven't written the most optimized block of code possible
*shrug*.

-- 
Jason Pincin
Linux Knowledge Base Project Leader (http://www.linuxkb.org/)
http://vodka.linuxkb.org/~chardros/