Re: OOM with Netty

2010-04-24 Thread Norman Maurer
Thx Eric Im lookin forward to your response Bye Norman 2010/4/25, Eric Charles : > Hi Norman, > > Done. > Wait and see. > > The good think this time is that we knew where to look at. > Tks good logging. > > Tks for your very quick fixes. > > Eric > > PS : No file in /tmp but when I killed the pr

Re: OOM with Netty

2010-04-24 Thread Eric Charles
Hi Norman, Done. Wait and see. The good think this time is that we knew where to look at. Tks good logging. Tks for your very quick fixes. Eric PS : No file in /tmp but when I killed the process, 2 were left. So the /tmp files I reported came probably from the kill. On 04/24/2010 09:35 PM

Re: OOM with Netty

2010-04-24 Thread Norman Maurer
Hi Eric, please svn up your source and try again.. I found at least one possible problem which could cause a OOM. Thx, Norman 2010/4/24 Norman Maurer : > Hi Eric, > > just downloading it.. > > About the tread safety. I don't think so. I'm still wonder if the > exception was only thrown because

Re: OOM with Netty

2010-04-24 Thread Norman Maurer
Hi Eric, you should use "screen" (http://www.gnu.org/software/screen/) for launching james ;) RemotManager would be the same as kill Bye, Norman 2010/4/24 Eric Charles : > Hi Norman, > I launch with & (background process) so I can leave the terminal. > Would shutdown via remotemanager better

Re: OOM with Netty

2010-04-24 Thread Eric Charles
Hi Norman, I launch with & (background process) so I can leave the terminal. Would shutdown via remotemanager better ? Tks, Eric On 04/24/2010 06:19 PM, Norman Maurer wrote: Hi Eric, doesn't CTRL-C work in the terminal you started james in ? And you should not use kill-9 because it will not l

Re: OOM with Netty

2010-04-24 Thread Norman Maurer
Hi Eric, doesn't CTRL-C work in the terminal you started james in ? And you should not use kill-9 because it will not let JAMES cleanup stuff, if you want to use kill .. Bye, Norman 2010/4/24 Eric Charles : > Hi Norman, > > lsof -p | grep deleted  | wc -l gives a stable number (around 20, >

Re: OOM with Netty

2010-04-24 Thread Eric Charles
Hi Norman, lsof -p | grep deleted | wc -l gives a stable number (around 20, growing and after decreasing : cleanup of gc or os... whatever...). No file in /tmp. I wonder if the files I found were files left further to the few "hard-stop" I made during last week. Currently, to stop James,

Re: OOM with Netty

2010-04-24 Thread Norman Maurer
Hi Eric, just downloading it.. About the tread safety. I don't think so. I'm still wonder if the exception was only thrown because of the OOM or if its the cause of the OOM. Hopefully I will have a better view of the whole story once I looked at the heap dump... Bye, Norman 2010/4/24 Eric Charl

Re: OOM with Netty

2010-04-24 Thread Eric Charles
Hi Norman, You can download it from http://apache.u-mangate.com/james/oom/java_pid23898.hprof.zip "This error seems to get thrown when you write to a closed stream.." Could it be a thread-safety problem ? (on thread using the session/state of another one ?) I will also monitor with lsof -p

Re: OOM with Netty

2010-04-24 Thread Norman Maurer
Could you upload the heap dump too ? 2010/4/24, Norman Maurer : > Hi Eric, > > thx for the report. Comments are inline... > > > 2010/4/24 Eric Charles : >> Hi All, >> >> I just got oom with netty impl. >> See http://apache.u-mangate.com/james/oom/20090424.png >> (http://apache.u-mangate.com/james

Re: OOM with Netty

2010-04-24 Thread Norman Maurer
Hi Eric, thx for the report. Comments are inline... 2010/4/24 Eric Charles : > Hi All, > > I just got oom with netty impl. > See http://apache.u-mangate.com/james/oom/20090424.png > (http://apache.u-mangate.com/james/oom/index.html for history). > > Everything was fine with the trunk of last wee