[xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of 
type [org.apache.log4j.helpers.ThreadLocalMap] (value 
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of type 
[java.util.Hashtable] (value 
[{url=http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass}]) 
but failed to remove it when the web application was stopped. This is 
very likely to create a memory leak.



it's probably the reason my Java instance is so unstable and hogging my 
systems swap. Can anything be done to sort it?

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Guillaume Lerouge
Hi Kaya,

are you experiencing this on XWiki Enterprise 3.2?

If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
which should be out pretty soon.

Guillaume

On Mon, Jan 9, 2012 at 5:01 PM, Kaya Saman kayasa...@gmail.com wrote:

 Hi,

 just checked through my logs and found this:

 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.**ThreadLocalMap] (value
 [org.apache.log4j.helpers.**ThreadLocalMap@2ff7ac92]) and a value of type
 [java.util.Hashtable] (value [{url=http://wiki.optiplex-**
 networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
 format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
 ResetPasswordRequestClass}http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D])
 but failed to remove it when the web application was stopped. This is very
 likely to create a memory leak.


 it's probably the reason my Java instance is so unstable and hogging my
 systems swap. Can anything be done to sort it?
 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Sergiu Dumitriu

On 01/09/2012 11:01 AM, Kaya Saman wrote:

Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of type
[java.util.Hashtable] (value
[{url=http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass}])
but failed to remove it when the web application was stopped. This is
very likely to create a memory leak.


it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?


That's not severe, it's only triggered when undeploying XWiki. When 
shutting down Tomcat, it doesn't mean anything since the JVM is going to 
exit anyway. The only real concern is when you redeploy the war at 
runtime, through the container's management interface, and Tomcat does 
handle that, it just reports it as a warning.

--
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

On 01/09/2012 06:08 PM, Sergiu Dumitriu wrote:

On 01/09/2012 11:01 AM, Kaya Saman wrote:

Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of type
[java.util.Hashtable] (value
[{url=http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass}]) 


but failed to remove it when the web application was stopped. This is
very likely to create a memory leak.


it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?


That's not severe, it's only triggered when undeploying XWiki. When 
shutting down Tomcat, it doesn't mean anything since the JVM is going 
to exit anyway. The only real concern is when you redeploy the war at 
runtime, through the container's management interface, and Tomcat does 
handle that, it just reports it as a warning.


Well for a while I've been trying to debug 'extreme' memory usage by 
Tomcat/Java and it seems it's a viable culprit.


Not so much for my wiki site but my www which actually should have 
smaller footprint then my wiki since it has much less information in it 
or attachments. The only thing that may use more memory could be the 
flash video on the main page.


Out of 4GB memory this is what's happened to my system:

Mem: 1738M Active, 266M Inact, 1673M Wired, 25M Cache, 408M Buf, 125M Free
Swap: 2327M Total, 2276M Used, 51M Free, 97% Inuse

  PID USERNAME  THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
51547 www46  440  3557M   993M ucond   1   9:46  0.00% java


which is 64bit too.

The RES part of top has gone down but used to be round 1.6GB??


If it's not a memory leak as such then are there any performance tips 
that I can use that will directly lower the memory usage?



I have checked out the 'performance tuning' page on the site, hence I 
was directly working in it for the robots.txt stuff :-)



Regards,


Kaya
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

On 01/09/2012 06:06 PM, Guillaume Lerouge wrote:

Hi Kaya,

are you experiencing this on XWiki Enterprise 3.2?

If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
which should be out pretty soon.

Guillaume


How can I check the version??

I can't remember when I built my wiki but it was probably back in 2010 
or so...




On Mon, Jan 9, 2012 at 5:01 PM, Kaya Samankayasa...@gmail.com  wrote:


Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.**ThreadLocalMap] (value
[org.apache.log4j.helpers.**ThreadLocalMap@2ff7ac92]) and a value of type
[java.util.Hashtable] (value [{url=http://wiki.optiplex-**
networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
ResetPasswordRequestClass}http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.


it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?
__**_
users mailing list
users@xwiki.org
http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Vincent Massol

On Jan 9, 2012, at 5:06 PM, Guillaume Lerouge wrote:

 Hi Kaya,
 
 are you experiencing this on XWiki Enterprise 3.2?
 
 If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
 which should be out pretty soon.

No this has nothing to do with what you are thinking about Guillaume :)
(see Sergiu's answer).

Thanks
-Vincent

 Guillaume
 
 On Mon, Jan 9, 2012 at 5:01 PM, Kaya Saman kayasa...@gmail.com wrote:
 
 Hi,
 
 just checked through my logs and found this:
 
 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.**ThreadLocalMap] (value
 [org.apache.log4j.helpers.**ThreadLocalMap@2ff7ac92]) and a value of type
 [java.util.Hashtable] (value [{url=http://wiki.optiplex-**
 networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
 format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
 ResetPasswordRequestClass}http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D])
 but failed to remove it when the web application was stopped. This is very
 likely to create a memory leak.
 
 
 it's probably the reason my Java instance is so unstable and hogging my
 systems swap. Can anything be done to sort it?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Guillaume Fenollar
Your wiki is running 2.4, it's written as the extreme bottom of the page.

I don't know if it will help for this problem, but since you have some free
time, you should think about upgrading your wiki ;-)

Guillaume Fenollar

2012/1/9 Kaya Saman kayasa...@gmail.com

 On 01/09/2012 06:06 PM, Guillaume Lerouge wrote:

 Hi Kaya,

 are you experiencing this on XWiki Enterprise 3.2?

 If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
 which should be out pretty soon.

 Guillaume


 How can I check the version??

 I can't remember when I built my wiki but it was probably back in 2010 or
 so...



 On Mon, Jan 9, 2012 at 5:01 PM, Kaya Samankayasa...@gmail.com  wrote:

  Hi,

 just checked through my logs and found this:

 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.ThreadLocalMap] (value
 [org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of
 type
 [java.util.Hashtable] (value [{url=http://wiki.optiplex-**
 networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?**http://networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
 format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.**
 ResetPasswordRequestClass}htt**p://wiki.optiplex-networks.**
 com/xwiki/bin/export/XWiki/**ResetPasswordRequestClass?**
 format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
 ResetPasswordRequestClass%7Dhttp://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D
 ]**)
 but failed to remove it when the web application was stopped. This is
 very
 likely to create a memory leak.


 it's probably the reason my Java instance is so unstable and hogging my
 systems swap. Can anything be done to sort it?
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/usershttp://lists.xwiki.org/**mailman/listinfo/users
 http://**lists.xwiki.org/mailman/**listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users
 

  __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Fenollar
XWiki SysAdmin
Tel : +33 (0)1.83.62.65.97
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

On 01/09/2012 07:20 PM, Guillaume Fenollar wrote:

Your wiki is running 2.4, it's written as the extreme bottom of the page.

I don't know if it will help for this problem, but since you have some free
time, you should think about upgrading your wiki ;-)

Guillaume Fenollar


Was already on it :-)

http://enterprise.xwiki.org/xwiki/bin/view/Main/Download

http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIUpdateXWIKIFromAnOlderVersion


My only concern is that I have the PhotoAlbum and Calendar .XAR and .JAR 
applications will upgrading cause any problems to these???



Regards,


Kaya




2012/1/9 Kaya Samankayasa...@gmail.com


On 01/09/2012 06:06 PM, Guillaume Lerouge wrote:


Hi Kaya,

are you experiencing this on XWiki Enterprise 3.2?

If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
which should be out pretty soon.

Guillaume


How can I check the version??

I can't remember when I built my wiki but it was probably back in 2010 or
so...




On Mon, Jan 9, 2012 at 5:01 PM, Kaya Samankayasa...@gmail.com   wrote:

  Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of
type
[java.util.Hashtable] (value [{url=http://wiki.optiplex-**
networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?**http://networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.**
ResetPasswordRequestClass}htt**p://wiki.optiplex-networks.**
com/xwiki/bin/export/XWiki/**ResetPasswordRequestClass?**
format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
ResetPasswordRequestClass%7Dhttp://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D

]**)

but failed to remove it when the web application was stopped. This is
very
likely to create a memory leak.


it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/usershttp://lists.xwiki.org/**mailman/listinfo/users
http://**lists.xwiki.org/mailman/**listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users
  __**_

users mailing list
users@xwiki.org
http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


__**_
users mailing list
users@xwiki.org
http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users






___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Sergiu Dumitriu

On 01/09/2012 12:24 PM, Kaya Saman wrote:

On 01/09/2012 07:20 PM, Guillaume Fenollar wrote:

Your wiki is running 2.4, it's written as the extreme bottom of the page.

I don't know if it will help for this problem, but since you have some
free
time, you should think about upgrading your wiki ;-)

Guillaume Fenollar


Was already on it :-)

http://enterprise.xwiki.org/xwiki/bin/view/Main/Download

http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIUpdateXWIKIFromAnOlderVersion



My only concern is that I have the PhotoAlbum and Calendar .XAR and .JAR
applications will upgrading cause any problems to these???


As far as I know, these shouldn't stop working, just that they're not 
considered good enough to be in the platform anymore, we need to rewrite 
them sometime soon.


--
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

On 01/09/2012 07:36 PM, Sergiu Dumitriu wrote:

On 01/09/2012 12:24 PM, Kaya Saman wrote:

On 01/09/2012 07:20 PM, Guillaume Fenollar wrote:
Your wiki is running 2.4, it's written as the extreme bottom of the 
page.


I don't know if it will help for this problem, but since you have some
free
time, you should think about upgrading your wiki ;-)

Guillaume Fenollar


Was already on it :-)

http://enterprise.xwiki.org/xwiki/bin/view/Main/Download

http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIUpdateXWIKIFromAnOlderVersion 





My only concern is that I have the PhotoAlbum and Calendar .XAR and .JAR
applications will upgrading cause any problems to these???


As far as I know, these shouldn't stop working, just that they're not 
considered good enough to be in the platform anymore, we need to 
rewrite them sometime soon.




On that note I don't get Diaporama..!!! And the documentation is 
really poor for it :-(


If someone could explain to me what it is I can amp up the documentation 
no probs ;-)

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users