Re: Instance becomes unresponsive after 12 hours

2016-01-27 Thread Chuck Hill
ject: Re: Instance becomes unresponsive after 12 hours Hi Dennis, thanks for your suggestions. Currently, I don't dispose of editing contexts explicitly. I had EOF errors a few years ago when I used to have dispose() calls after the final saveChanges(), so I stopped doing dispose(). (I don'

Re: Instance becomes unresponsive after 12 hours

2016-01-27 Thread Musall Maik
Hi Dennis, thanks for your suggestions. Currently, I don't dispose of editing contexts explicitly. I had EOF errors a few years ago when I used to have dispose() calls after the final saveChanges(), so I stopped doing dispose(). (I don't recall the details.) I do however create editing context

Re: Instance becomes unresponsive after 12 hours

2016-01-27 Thread Musall Maik
..@lists.apple.com>> on > behalf of Musall Maik mailto:m...@selbstdenker.ag>> > Date: Tuesday, January 26, 2016 at 5:28 AM > To: Apple WebObjects Developer List <mailto:webobjects-dev@lists.apple.com>> > Subject: Re: Instance becomes unresponsive after 12 hours > &

Re: Instance becomes unresponsive after 12 hours

2016-01-27 Thread Dennis Bliefernicht
Hi, > On 26.01.2016, at 14:28, Musall Maik wrote: > > Anyway, heap sizes of up to 60 GByte are apparently not so common, at least > not with WebObjects. I found a helpful article [1] about very large JVM > heaps, including the hint to the Zing Azul JVM, which features a stopless > garbage col

Re: Instance becomes unresponsive after 12 hours

2016-01-26 Thread Chuck Hill
veloper List mailto:webobjects-dev@lists.apple.com>> Subject: Re: Instance becomes unresponsive after 12 hours Hi all, a few of you also replied by private mail, thanks. Supplying the -Xloggc option worked, although I don't understand where the info went before, and the log rotation option does

Re: Instance becomes unresponsive after 12 hours

2016-01-26 Thread Musall Maik
Hi all, a few of you also replied by private mail, thanks. Supplying the -Xloggc option worked, although I don't understand where the info went before, and the log rotation option doesn't rotate anything but just truncates the log file on every JVM restart, which sucks. But ok, I have some data

Re: Instance becomes unresponsive after 12 hours

2016-01-25 Thread Andrus Adamchik
Here is my favorite: jstat -gc 1 3000 Attaches to a local Java process and prints all minor and major GC's. Usually more detailed than VisualVM. Andrus --- Andrus Adamchik @andrus_a | @ApacheCayenne > On Jan 24, 2016, at 10:19 PM, Maik Musall wrote: > > Hi, > > yes, I tri

Re: Instance becomes unresponsive after 12 hours

2016-01-24 Thread Bogdan Zlatanov
Hi again, Try redirecting all the GC output in it's own file with /the -Xloggc: /path/to/gc/log /option. Cheers, Bogdan On 24/01/2016 20:19, Maik Musall wrote: Hi, yes, I tried, but the documented log output would never appear anywhere in my logs. These are the options I'm using: -verbose

Re: Instance becomes unresponsive after 12 hours

2016-01-24 Thread Maik Musall
Hi, yes, I tried, but the documented log output would never appear anywhere in my logs. These are the options I'm using: -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps Despite these settings, I can't see ANYTHING in the logs about GC. I don't know what I'm doing wrong there? Maik > A

Re: Instance becomes unresponsive after 12 hours

2016-01-24 Thread Bogdan Zlatanov
Hi, Have you tried tracing the garbage collection -> https://docs.oracle.com/cd/E19159-01/819-3681/abeig/index.html? Cheers, Bogdan On 24/01/2016 13:01, Musall Maik wrote: Hi, I have an application that often becomes laggy and shows slow responses almost every day around 5 pm. The instance

Instance becomes unresponsive after 12 hours

2016-01-24 Thread Musall Maik
Hi, I have an application that often becomes laggy and shows slow responses almost every day around 5 pm. The instance has daily scheduled restarts at 5 am, so it occurs after 12 hours of use. When I restart it preemptively at 3 pm, the problem does not occur. When I don't, users suffer bad res