Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-16 Thread Winson Chen
Hello, Are you hazelcast registry? if so, we encountered a similar problem in our prod environment. Especially after we converted one of our popular app from cas to Oauth. Here is what our config that made out cas stable, without restarting on a schedule

Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-16 Thread Doug C
I am wondering if this is related to https://github.com/apereo/cas/pull/5652. We have been discussing this issue because myself and some others have experienced a slowdown due to the merged pull request but the fix provided by the pull request is related to fixing out-of-memory issues with

Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-16 Thread Mohamed Amdouni
These exceptions will not help you. They are consequences. Check instead the server startup log files. Your memory settings as sayed before. Le jeu. 16 nov. 2023 à 13:12, Sathish Sekar a écrit : > Hi Team, > > Additionally I can find exceptions for java heap memory error in prod. > Kindly do

Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-16 Thread Sathish Sekar
Hi Team, Additionally I can find exceptions for java heap memory error in prod. Kindly do needful please AsyncLogger error handling event seq=11325854, value=' Logger=com.hazelcast.spi.impl.operationexecutor.impl.OperationExecutorImpl Level=ERROR Message=[101.34.192.43]:5701 [dev] [5.1.7] Java

Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-16 Thread Sathish Sekar
Hi Team, I don't have any specific error printed in logs. In catalina.out.log in middle java heap space error occurred. Kindly check the below error. [185818.716s][info][gc] GC(48064) Pause Full (G1 Evacuation Pause) 511M->496M(512M) 448.791ms [185818.716s][info][gc] GC(48065) Concurrent Cycle

Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-16 Thread Sathish Sekar
Hi Team, Kindly help on the below exception for memory issue. java.lang.OutOfMemoryError: Java heap space at java.lang.Integer.valueOf( Integer.java:1059) ~[?:?] at sun.nio.ch.EPollSelectorImpl.processEvents( EPollSelectorImpl.java:194) ~[?:?] at sun.nio.ch.EPollSelectorImpl.doSelect(

Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-15 Thread Mohamed Amdouni
Hi, Please post the stack trace Did you configurer the Jvm to generate a heap dump when out of memory exception is encouraged ? Is it about meta space ? Best regards Le jeu. 16 nov. 2023 à 05:35, Sathish Sekar a écrit : > Hi Team, > > I have upgraded to CAS 6.3.7.4 to 6.6.9 recently and I'm

[cas-user] CAS 6.6.9 Heap memory issue

2023-11-15 Thread Sathish Sekar
Hi Team, I have upgraded to CAS 6.3.7.4 to 6.6.9 recently and I'm facing java heap memory error. In CAS 6.3.7.4 I didn't face such issues in prod environment. When I upgraded to CAS 6.6.9 I had faced this issue thrice and I have posted this in community and as per their feedback and as per the

Re: [cas-user] CAS 6.6.9 Hazelcast and Ticket Registry errors

2023-11-14 Thread Ray Bon
Sathish, Your async-backup-count and backup-count have non default values. Is it possible these values are causing hazelcast to consume memory? Try using default values to see if memory use improves. You can monitor the JVM with JDK Misson Control or jConsole. Ray P.S. To keep your config

Re: [cas-user] CAS 6.6.9 Hazelcast and Ticket Registry errors

2023-11-14 Thread Meysam Shirazi
Hi Sathish Did you check the port(5701) access and connectivity of hazelcast members? you can set the hazelcast.log.level to debug for more details in log. On Tuesday, November 14, 2023 at 10:36:28 PM UTC+3:30 Sathish Sekar wrote: > Hi Team, > > Hazelcast is causing problem. Since we have 3

Re: [cas-user] CAS 6.6.9 Hazelcast and Ticket Registry errors

2023-11-14 Thread Sathish Sekar
Hi Team, Hazelcast is causing problem. Since we have 3 servers clustered. Earlier we have tomcat memory of 512mb min and max. I posted in CAS community and they suggested to increase memory by max 2gb. It is running fine for 12 days and stopped showing heap memory issue. The following are

Re: [cas-user] CAS 6.6.9 Hazelcast and Ticket Registry errors

2023-11-14 Thread Sathish Sekar
Hi Team, Prod server stopped due to following issues. Kindly help. I'm facing heap memory issue for long time :( Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "hz.10.34.196.43.MetricsRegistry.thread-2" Exception: java.lang.OutOfMemoryError thrown

Re: [cas-user] CAS 6.6.9 Hazelcast and Ticket Registry errors

2023-11-01 Thread 'Jonathon Taylor' via CAS Community
Not sure why it's complaining about an IP address that's not in your configuration. I wonder if it's picking up a second IP that's configured? You could try setting this: cas.ticket.registry.hazelcast.cluster.core.instance-name=localhost

Re: [cas-user] CAS 6.6.9

2023-10-31 Thread Ray Bon
Sathish, I was not able to find recommended memory requirements in cas docs. This guide has a suggestion https://paulchauvet.github.io/deploying-cas/setting-up-the-environment/tomcat/systemd-service/ Memory is cheap, I would start at 2G. See tomcat docs to configure this. Cas also has some

Re: [cas-user] CAS 6.6.9

2023-10-31 Thread Sathish Sekar
Earlier I was using CAS 6.3.7.4 at that time we had tomcat server minimum 512 and maximum 512 memory. But when I upgraded to 6.6.9 it is showing heap *java.lang.OutOfMemoryError: Java heap space *when i deployed in clustered servers. Can you provide more suggestions On Tuesday, October 31,

Re: [cas-user] CAS 6.6.9

2023-10-30 Thread Sathish Sekar
Thanks Mohamed Amdouni. I'll give a try On Monday, October 30, 2023 at 10:23:38 PM UTC+5:30 Mohamed Amdouni wrote: > Hello try to give more memory (set the Xmx jvm property ) 512 is very low > in my opinion. > Best regards. > > Le lun. 30 oct. 2023 à 17:45, Sathish Sekar a > écrit : > >> Hi

[cas-user] CAS 6.6.9 Hazelcast and Ticket Registry errors

2023-10-30 Thread Sathish Sekar
Hi Team, I'm upgrading CAS 6.3.7.4 to 6.6.9. The below properties I have added for Hazelcast and Ticket Registry in upgraded version. I'm seeing this error which is printed in logs often. Kindly check below properties and guide me if any modification/addition/deletion of properties. ERROR

Re: [cas-user] CAS 6.6.9

2023-10-30 Thread Mohamed Amdouni
Hello try to give more memory (set the Xmx jvm property ) 512 is very low in my opinion. Best regards. Le lun. 30 oct. 2023 à 17:45, Sathish Sekar a écrit : > Hi Team, > > I have upgraded CAS 6.3.7.4 to 6.6.9. After deployment I'm getting > *java.lang.OutOfMemoryError: > Java heap space *and

[cas-user] CAS 6.6.9

2023-10-30 Thread Sathish Sekar
Hi Team, I have upgraded CAS 6.3.7.4 to 6.6.9. After deployment I'm getting *java.lang.OutOfMemoryError: Java heap space *and server is getting stopped. It is stand alone application running in 3 clustered servers. Tomcat Catalina opts memory min 512 and max 512. I don't find any exceptions