Re: [Rabbit-proxy-users] RabbIT - frequent freezes
Brought to you by:
ernimril
From: Robert O. <ro...@kh...> - 2005-01-11 21:21:37
|
Costa Tsaousis wrote: >Hm! I don't know. I'll try 2.0.36-pre3 (where can I get it from?) > > Get the 2.0.36 final release from the normal web pages http://www.khelekore.org/rabbit/ >>Could be the cache cleaner? >>What value do you have for cleanloop? >> >> >I have tried setting size to 0 and loop to 0, to 3600, 86400, etc. >Nothing helped. Currently, I have size and time set to 0 and loop set to >3600. > > Ok, could still be the cache. Since you do not want any cache in rabbit you could try is to make sure that the cache index is not flushed to disk. You can do this by commenting out the entire writeCacheIndex in the file NCache.java. >>Can you check the cache statistics and see if rabbit builds a cache? >>(even if you set it to 0 it will use a small cache for image >>recompression). >> >> >Actually, I have disabled the front ends. Is it possible to get this info >by other means? > > Check the cache dir for files. You can also try to run the CacheStatus program: "java rabbit.cache.CacheStatus /place/to/cache/dir/ " but that program will list all entries in the cache (=> lots of http headers). I think I will make a summar mode in there and let that be the default. >Well, check the log bellow. At the point the memory usage went above >100MB, RabbIT became completely unusable. 100% CPU utilization and just >very few requests served. I also noticed that when RabbIT freezes, the >garbage collector does not run (normally it logs one row every 1-2 >seconds), but when it is frozen, the GC stops logging for several >seconds. > > Ok, that looks like a memory leak is going on. I will have to check more. One thing that you can also do if you still have the console where you started java open is to press Control-Backslask (C-\). That will give you a full thread dump of the java vm. That could help, but it will probably be a long listing, mail it to me instead of the list. This can occacinally be highly useful... /robo |