[pLog-svn] memory usage / metrics

Mark Wu markplace at gmail.com
Wed Jul 26 12:26:17 GMT 2006


I test both links you left here.

Both links are work!! And I think 1.1 version get better performance when I
loading this page.

So, you siad " it does not work"?? I don't get it.

Mark

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of BalearWeb
> Sent: Wednesday, July 26, 2006 8:00 PM
> To: plog-svn at devel.lifetype.net
> Subject: Re: [pLog-svn] memory usage / metrics
> 
> Articles with 2000+ comments is something sometimes happens.
> 
> We have it working here with a 0.3.2 install.
> http://bloc.balearweb.net/post/57/4070
> 
> And you can also see how it works over here, with my test 1.1 
> install http://lifetype.mallorcaweb.info/post/57/4070
> 
> The page seems to "work" in the 0.3.2 install, but it does 
> not in the 1.1. I must say that our Apache has a 15 second 
> timeout so that is why the page is shown blank in the 1.1 
> install. But it is still funny that it works in the 0.3.2 
> install. Both are in the same server with the same 15 second timeout.
> 
> Jon Daley wrote:
> 
> >     I don't think our big database test had that many 
> comments on one 
> > post.  The problem is probably that the comments aren't paged (they 
> > aren't in 1.1 either, are they?)
> >     It is going to be a big html document no matter how you look at 
> > it, without paging.  I am sure there are optimizations to 
> be made, but 
> > even if we weren't going to have paging, we probably can't grab all 
> > the data from the database in one chunk, we would have to 
> grab it in 
> > bits or something, and then write it out?  Sounds kind of 
> complicated.
> >
> > On Wed, 26 Jul 2006, Alexander Kaiser wrote:
> >
> >> btw, has anyone ever saw a lifetype installation blog with 2000+ 
> >> comments, i mena one article?
> >> with 32mb memory cache you get a blank site and on the summary a 
> >> "memory exhausted bla..." error appears
> >>
> >> On 7/26/06, Jon Daley <plogworld at jon.limedaley.com> wrote:
> >>
> >>>
> >>>         Ah, it (memory_get_peak_usage()) is in 5.2.
> >>>
> >>> On Tue, 25 Jul 2006, Jon Daley wrote:
> >>>
> >>> >       I was just playing around with that large database
> >>> installation,
> >>> and
> >>> > discovered that the metrics are not correctly reporting 
> the memory
> >>> usage...
> >>> >
> >>> >       What is written to the file is the amount of memory 
> >>> > currently
> >>> being
> >>> > used by the php script, not the peak amount that was ever used 
> >>> > during
> >>> this
> >>> > script's execution.
> >>> >
> >>> >       get_peak_memory_usage() would be better, but apparently it
> >>> is not
> >>> > available yet.
> >>> >
> >>> > --
> >>> > Jon Daley
> >>> > http://jon.limedaley.com/
> >>> >
> >>> > If you have any trouble sounding condescending, find a 
> Unix user 
> >>> > to show you how it's done
> >>> > -- Scott Adams
> >>> > _______________________________________________
> >>> > pLog-svn mailing list
> >>> > pLog-svn at devel.lifetype.net
> >>> > http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>> >
> >>>
> >>> --
> >>> Jon Daley
> >>> http://jon.limedaley.com/
> >>>
> >>> When I was a student I remember seeing such things as "pi = 1".
> >>> -- Professor Tygar
> >>> _______________________________________________
> >>> pLog-svn mailing list
> >>> pLog-svn at devel.lifetype.net
> >>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>
> >>
> >
> 
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list