[pLog-svn] Process size

Ayalon ayalon at blog.nl
Wed Dec 13 18:48:54 GMT 2006


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




More information about the pLog-svn mailing list