Thanks Tom.

We are using cache based registry, hazelcast. the problem is that we dont
know the statistics about no# of tickets in the registry...etc. Any clues ?

On Fri, Aug 18, 2017 at 9:12 AM, Tom O'Neill <[email protected]> wrote:

> Are tickets ever expiring or are the tables just consistently growing?
>
> If you have a problem with your ticket registry cleaner your data set will
> grow and your heap will never fully recover without recycling services.
>
> You shouldn’t have to restart nightly if the ticket registry cleaner is
> removing tickets.
>
>
>
> Thanks,
>
>
>
> *Tom*
>
>
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On Behalf Of *RJ
> *Sent:* Thursday, August 17, 2017 10:27 PM
> *To:* [email protected]
> *Subject:* Re: [cas-user] JVM Heap Kept Growing every day
>
>
>
> Yes, we use hazelcast .. which is a kind of in memory ticket registry
> across two nodes. Is there an option to run ticket registry in another JVM?
>
>
>
> On Wed, Aug 16, 2017 at 2:18 PM, David Malia <[email protected]> wrote:
>
> Is your ticket registry running on the same container as the application?
>
> Thanks,
>
> David Malia
>
>
>
> On Wed, Aug 16, 2017 at 1:01 PM, Uxío Prego <[email protected]> wrote:
>
> I would reboot CAS servers nightly, if you can afford that.
>
>
>
> Try a TGT lifetime of several hours and an ST lifetime of some minutes.
> But I can't tell the rationale.
>
>
>
> On 16 Aug 2017, at 19:54, Uxío Prego <[email protected]> wrote:
>
>
>
> Never used hazelcast ticket registry nor 5.0.x, still those figures seem
> normal to me.
>
>
>
> If you just can't kill the curiosity, I recommend you saving a snapshot of
> your Debian GNU/Linux CAS server, then installing xorg, xserver, lightdm,
> and a lightweight desktop environment of your choice, and visualvm; then
> fetching your CAS process from visualvm and profit from great stats and
> insights. When you are satisfied you restore the saved snapshot so finally
> everything keeps as clean and performant as before the intervention.
>
>
>
> Cheers and regards,
>
>
>
> On 16 Aug 2017, at 18:54, RJ <[email protected]> wrote:
>
>
>
> We have seen that system is heavily swapping after a few days of CAS
> uptime.
>
> JVM Heap args are Xms 4096m & Xmx4096m, but it kept every day.
>
> Is there a way to find out whats taking all this space? We are talking
> about 3000 logins a day. This is pretty much common every day. I was hoping
> that old tickets get expired and new tickets get created and stay active
> for 8 hours. If thats working, memory requirement should not keep
> increasing every day.
>
> jvm.memory.heap.usage in stats file kept growing from 3% to 50% within 3
> days of uptime.
>
> I don't understand why the tickets are not cleaned up/expired. Is there a
> way to know the no# of tickets..etc ? We disabled /status URI though.
>
> What parameters do you guys use for TGT lifetime and ST lifetime?
>
> We just use LDAP and hazelcast ticket registry with 5.0.5.
>
> Thanks
>
> RJ
>
>
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CACNfiMJErDCzexjenLo-2tA2JNmbYHLx3JJUNaw_
> pE6KJvPsSA%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CACNfiMJErDCzexjenLo-2tA2JNmbYHLx3JJUNaw_pE6KJvPsSA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
>
>
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
>
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/6DDC6273-136B-41E0-99EF-
> AA663DAEE428%40madiva.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/6DDC6273-136B-41E0-99EF-AA663DAEE428%40madiva.com?utm_medium=email&utm_source=footer>
> .
>
>
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
>
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CAL3JkEJfY6xXwkNgwx8PxQykZubWS
> Y_FpxhJZxuXi4QAPNCdcA%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAL3JkEJfY6xXwkNgwx8PxQykZubWSY_FpxhJZxuXi4QAPNCdcA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CACNfiMLnfV4z02korYvpA95rJ%3D8e%3DJm%2B%
> 2B1SDQtBjNqTU0z2omA%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CACNfiMLnfV4z02korYvpA95rJ%3D8e%3DJm%2B%2B1SDQtBjNqTU0z2omA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CY4PR02MB2773841CEDAC3FB24DE3B
> C9FCB800%40CY4PR02MB2773.namprd02.prod.outlook.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CY4PR02MB2773841CEDAC3FB24DE3BC9FCB800%40CY4PR02MB2773.namprd02.prod.outlook.com?utm_medium=email&utm_source=footer>
> .
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CACNfiM%2BVejuuHJijBHkRVuFVLzrYrphBFzNrJFMSC6oXnju%2BTw%40mail.gmail.com.

Reply via email to