RE: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-21 Thread Jaroslav Kacer
odp. To: cas-user@lists.jasig.org Subject: Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue Hi Jaroslav, Well, given the error I knew it had to be something like that - I just couldn't find where logoutManager was supposed to be defined. Thanks for pointing me in the correct

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-20 Thread David A. Kovacic
Hi Jaroslav, Could you post your entire ticket registry cleaner definition? I tried setting up a cleaner job patterned after the default ticket registry cleaner but I am getting Error creating bean with name 'ticketRegistryCleaner' defined in ServletContext resource

RE: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-20 Thread Jaroslav Kacer
, Jarda From: David A. Kovacic [mailto:d...@case.edu] Sent: 20. November 2014 2:42 odp. To: cas-user@lists.jasig.org Subject: Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue Hi Jaroslav, Could you post your entire ticket registry cleaner definition? I tried setting up a cleaner job

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-20 Thread David A. Kovacic
. It should be there by default. Best Regards, Jarda *From:*David A. Kovacic [mailto:d...@case.edu] *Sent:* 20. November 2014 2:42 odp. *To:* cas-user@lists.jasig.org *Subject:* Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue Hi Jaroslav, Could you post

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-19 Thread David A. Kovacic
Part of the problem that we were having was that what we thought was an increase in the max heap size applied in the CATALINA_OPTS settings in setenv.sh was never really taking. We were always skirting the 1GB default limit with the number of tickets that we typically have in the registry, and

RE: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-18 Thread Jaroslav Kacer
Hi David! We have CAS 4.0.0, also with Eh-Cache-based ticket registry, on a 4-node cluster. Our configuration of EhCache is almost identical to yours. Two weeks after our initial deployment, we started getting OOME too, on all nodes. Our system admin measured heap consumption and the resulting

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-18 Thread Dmitriy Kopylenko
Another viable alternative would be to explore and consider Hazelcast Ticket Registry: https://github.com/Unicon/cas-addons/wiki/Configuring-HazelcastTicketRegistry Best, Dmitriy. On Nov 18, 2014, at 06:40, Jaroslav Kacer jka...@idc.com wrote: Hi David! We have CAS 4.0.0, also with

RE: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-14 Thread Zac Harvey
We've been using 2 load balanced 4.0.0 nodes (LDAP auth handler) for almost 3 months now and never needed a restart. That tells me this is either specific to your configuration or custom code (3rd party of inhouse) you've added on top of what CAS provides. Either way it doesn't seem to be a

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-14 Thread Marvin Addison
For the the second time both of our SSO servers running under Tomcat ran out of heap memory last night. Did CAS emit any errors to the application log file, cas.log, prior to OOM? Please post anything you have. You can configure the JVM to perform a heap dump prior to exiting, which you

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-14 Thread David A. Kovacic
The issue seems to be in the EHCache. CAS itself does not issue any errors but just prior to the OoM error we see a couple of: 2014-11-13 21:54:02,820 ERROR [net.sf.ehcache.distribution.RMISynchronousCacheReplicator] - Exception on replication of putNotification. GC overhead limit exceeded.

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-14 Thread David A. Kovacic
Do those setting go in CATALINA_OPTS or JAVA_OPTS in the setenv.sh file? On 11/14/14 9:39 AM, Zac Harvey wrote: We've been using 2 load balanced 4.0.0 nodes (LDAP auth handler) for almost 3 months now and never needed a restart. That tells me this is either specific to your configuration

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-14 Thread Marvin Addison
Do those setting go in CATALINA_OPTS or JAVA_OPTS in the setenv.sh file? The Tomcat documentation recommends CATALINA_OPTS, which is what I do. M http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-14 Thread Scott Battaglia
What is your eviction policy for things in the cache? On Fri Nov 14 2014 at 3:06:16 PM David A. Kovacic d...@case.edu wrote: Do those setting go in CATALINA_OPTS or JAVA_OPTS in the setenv.sh file? On 11/14/14 9:39 AM, Zac Harvey wrote: We've been using 2 load balanced 4.0.0 nodes (LDAP

Re: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-14 Thread David A. Kovacic
Here's my EHCACHE configuration (ticketRegistry.xml): ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:util=http://www.springframework.org/schema/util;

RE: [cas-user] CAS 4.0.0 Production Issue: Heap Memory Issue

2014-11-14 Thread Misagh Moayyed
I remembered a similar issue that was filed back a while ago. See if the discussion here helps: https://github.com/Jasig/cas/pull/297 From: David A. Kovacic [mailto:d...@case.edu] Sent: Friday, November 14, 2014 1:56 PM To: cas-user@lists.jasig.org Subject: Re: [cas-user] CAS 4.0.0