[pLog-svn] Process size
Oscar Renalias
oscar at renalias.net
Wed Dec 13 22:09:37 GMT 2006
I guess it's the same issue we had in devel.lifetype.net.
One thing you should check is whether you've got any user who has
configured his/her blog to display something like 80 or 100 posts in
the front page, as that can cause performance problems. There's
already a fix for that in LT 1.2, but in the meantime you will have
to keep an eye on it on your own. Otherwise a crawler performs the
exact same operations as a user via a browser would do.
On 13 Dec 2006, at 20:48, Ayalon wrote:
> Ok, I found the problem, and I tell you it's really strange but true:
>
> The yahoo bot (inktomi bot) is hitting my site and then the
> Cache_lite.php
> is for some reason using to much memory:
>
> [Tue Dec 12 00:01:44 2006] [error] [client 74.6.85.156] PHP Fatal
> error:
> Allowed memory size of 33554432 bytes exhausted (tried to allocate
> 84 bytes)
> in /data/www/www.blog.nl/class/cache/Cache_Lite/Lite.php on line 352
>
> [Tue Dec 12 00:05:27 2006] [error] [client 74.6.86.205] PHP Fatal
> error:
> Allowed memory size of 33554432 bytes exhausted (tried to allocate
> 93 bytes)
> in /data/www/www.blog.nl/class/cache/Cache_Lite/Lite.php on line 352
>
>
> When a normal user is hitting the site, there's nothing at all.
> When the bot
> is hitting my site this is happening with a lot of the requests.
> Also the
> apache process is growing so big that at the end the process is
> using so
> much memory that it's starting to use the swap.
>
> What can cause this problem? Now I blocked yahoo bot via htaccess
> and the
> problem is not there anymore. It started to happen after the
> upgrade to the
> new lifetype platform. Are there some checks for who is coming in?
> Do you
> need more data?
>
> Anyway it's strange and interesting, anybody an idea....??
>
>
>
>
> -----Oorspronkelijk bericht-----
> Van: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] Namens Jon Daley
> Verzonden: woensdag 13 december 2006 17:06
> Aan: plog-svn at devel.lifetype.net
> Onderwerp: RE: [pLog-svn] Process size
>
> On Wed, 13 Dec 2006, Ayalon wrote:
>> Where can I find the post of the rewrite?
> http://forums.lifetype.net/viewtopic.php?p=23240&highlight=htaccess
> +rewrite+
> error
>
>> Anyway my provider is telling me that it looks like lifetype has
>> memoryleaks in various aspects of the script, starting with
>> caching. Is
> that possible?
> It is certainly possible. I would expect to see more memory usage
> in my setup if that were the case.
>
>> Is it possible to disable everything related to cache lift? Just to
>> test some things...
> Line 39 of class/cache/cachemanager.class.php. Change $cacheEnable
> to false. I think that should do the trick.
> _______________________________________________
> 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