[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging
OK. I fixed the problem. I moved dev over to yukon after commenting out
the doc count code as well...
Kinda a serious problem actually, which I'm sure we'll come across again.
When you load an object, the processing takes longer and longer as you
get more and more children of that object. Well, there were enough users
signed up that php started timing out building all the child objects.
What I did to stave off the problem for now was add a parameter for
render.php3 called &getchildren. 0 for false, 1 for true. And I pointed
the signup link to pass 0 into it so it doesn't load the children...
since it doesn't need to anyway.
But, we'll eventually have this problem elsewhere in the tree as more and
more content gets added. We only have so much time before I need to
start thinking of ways to optimize that section of code... or convert to
PHP4. But I think PHP4 will buy us more time only... eventually I'm
going to simply impliment a more robust way of object retreival...
it'd be nice if PHP4 bought us enough time for the C++ Daemon re-write.
Not sure on that.
Anyway... it's functional again...
On Sat, Mar 04, 2000 at 06:23:18PM -0500, Jason Pincin wrote:
> Do NOT migrate vodka's site to Yukon's. There will be much debug code in
> vodka til further notice.
>
> --
> Jason Pincin
> Linux Knowledge Base Project Leader (http://www.linuxkb.org/)
> http://vodka.linuxkb.org/~chardros/
--
Jason Pincin
Linux Knowledge Base Project Leader (http://www.linuxkb.org/)
http://vodka.linuxkb.org/~chardros/
- References:
- Debugging
- From: Jason Pincin <chardros@linuxkb.org>