[pLog-svn] memory usage

Jon Daley plogworld at jon.limedaley.com
Mon Nov 20 12:21:46 GMT 2006


1.1.1

On Mon, 20 Nov 2006, Alexander Kaiser wrote:
> that happened with the latest version of lt?
>
> On 11/20/06, Jon Daley <plogworld at jon.limedaley.com> wrote:
>>
>>         I had an outage today...  It was caused by a small lifetype site
>> (but one that spammers have found, and so there are thousands of comments
>> on a bunch of posts).
>> 
>> I had the memory limit for php set too high (64 meg) and the number of
>> client processes per server for apache set kind of high, and so all of the
>> ram and swap space were used up, and crashed the entire server.
>> 
>> I have lowered the settings, so now the post pages with lots of comments
>> simply die and show a blank page, rather than crash my server, but we
>> probably need to figure out a better way to manage memory in that
>> situation.  It seems like we either do paging of the comments, and then
>> every template has to be updated, or else somehow not get all of the
>> comment data at one time, but only get one at a time or something.
>> 
>> --
>> Jon Daley
>> http://jon.limedaley.com/
>> 
>> He who hesitates is not only lost, but
>> several miles from the next freeway exit.
>> -- Nowlan's Theory
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>> 
>

-- 
Jon Daley
http://jon.limedaley.com/

Sympathy is never wasted except when you give it to yourself.
-- John W. Draper


More information about the pLog-svn mailing list