[pLog-svn] memory usage / metrics
balearweb at balearweb.com
Wed Jul 26 12:00:26 GMT 2006
Articles with 2000+ comments is something sometimes
We have it working here with a 0.3.2 install.
And you can also see how it works over here,
with my test 1.1 install
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
>>> > discovered that the metrics are not correctly reporting the memory
>>> > What is written to the file is the amount of memory currently
>>> > used by the php script, not the peak amount that was ever used during
>>> > 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
>>> 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
More information about the pLog-svn