This will be my final response regarding the memory issue I encountered:
Research Old Gen Memory in the JVM and garbage collection. Something that
cas is using is not freeing memory as it should That's why Old Gen climbs
and never goes down. That's why you don't blindly throw more RAM at it.
Cron up a restart every few hours, until a patch comes through. I can poke
the JVM GC (garbage collection) and reclaim memory from old gen space. This
isn't my first rodeo with a misbehaving java app. This is a side
conversation anyway. tangent to the original issue but not central.

On Tue, Aug 6, 2024 at 7:27 AM Ray Bon <r...@uvic.ca> wrote:

> There is no indication of a memory leak, just a memory demand.
>
> On Mon, 2024-08-05 at 09:45 -0500, Erik Mallory wrote:
>
> You don't often get email from erik.mall...@gmail.com. Learn why this is
> important <https://aka.ms/LearnAboutSenderIdentification>
> Ray...
> The last thing you should do with an app with a memory leak is throw more
> resources at it. That's not a fix, that's a bandaid and not a very good one
> at that.
>
> On Fri, Aug 2, 2024 at 12:47 PM Ray Bon <r...@uvic.ca> wrote:
>
> Erik,
>
> Increase tomcat memory; to 16 or more Gb.
>
> Ray
>
> On Thu, 2024-08-01 at 13:34 -0500, Erik Mallory wrote:
>
> You don't often get email from erik.mall...@gmail.com. Learn why this is
> important <https://aka.ms/LearnAboutSenderIdentification>
> Same for 7.0.4 in production our test and dev environments work but not
> prod. We have some style changes (colors) we use to identify the different
> environments and I use the war overlay to rebuild the war and copy it to
> the environment.  dev works, I finished work on the 7.0 branch a few months
> back and  upgraded test two months ago, and upgraded both environments to
> 7.0.4. The move to prod earlier this week did not go as well. We
> experienced the same thing you are. with 7.0.6. Moments ago I upgraded our
> dev system to 7.0.6 to see if I could replicate your problem and I could
> not. Hazelcast is up and running and cas works properly.
>
> So what's different?
> our prod cas gets HAMMERED. test and dev not so much. Through Prometheus,
> we noticed that the Old_Gen Memory for our production system was growing
> under load and eventually would tank the cas service when the jvm ran out
> of memory.
>
> I'm not sure where the problem is, but I don't think it's your config.
>
>
>
>
> On Thu, Aug 1, 2024 at 11:23 AM Phil Hale <phalei...@gmail.com> wrote:
>
> Howdy folks,
>
> I'm having some trouble with Hazelcast after upgrading from CAS 6.6 to
> 7.0.  I have CAS servers set up in an HA configuration and have been using
> Hazelcast for the Ticket Registry for many versions of CAS.  After
> upgrading to 7.0, the basic configuration I've used has stopped working.
> Generally I just had to include the following two cas.properties settings:
>
> node1:
> cas.ticket.registry.hazelcast.cluster.core.instance-name=10.20.2.106
>
> cas.ticket.registry.hazelcast.cluster.network.members=10.20.2.106,10.20.2.105
>
> node2:
> cas.ticket.registry.hazelcast.cluster.core.instance-name=10.20.2.105
>
> cas.ticket.registry.hazelcast.cluster.network.members=10.20.2.106,10.20.2.105
>
> But the two hosts no longer seem to communicate properly.  I'm on CAS
> version 7.0.6.  I've reviewed the Required configuration settings from
> https://apereo.github.io/cas/7.0.x/ticketing/Hazelcast-Ticket-Registry.html
> but I still can't seem to get it working.  Anyone have a sample
> configuration for a 2 node setup that is working under 7.0 that they can
> send me?
>
> Thanks,
>
> Phil
>
> --
> - Website: https://apereo.github.io/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> 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 tocas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/ea7920bc-854d-47e3-9280-6bb9e4c13d39n%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ea7920bc-854d-47e3-9280-6bb9e4c13d39n%40apereo.org?utm_medium=email&utm_source=footer>
> .
>
>
>
> --
> Erik Mallory
>
> ------------------------
> "A happy man's paradise is his own good nature." - Edward Abbey
>
>
>
> --
> - Website: https://apereo.github.io/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> 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 tocas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/b45c159b8fa45cf08ce4f97b0f8af927ec77096d.camel%40uvic.ca
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/b45c159b8fa45cf08ce4f97b0f8af927ec77096d.camel%40uvic.ca?utm_medium=email&utm_source=footer>
> .
>
>
>
> --
> Erik Mallory
>
> ------------------------
> "A happy man's paradise is his own good nature." - Edward Abbey
>
>
>
> --
> - Website: https://apereo.github.io/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/0c672f2af01c8c1cf4f81284ed5bbeaa6104323e.camel%40uvic.ca
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0c672f2af01c8c1cf4f81284ed5bbeaa6104323e.camel%40uvic.ca?utm_medium=email&utm_source=footer>
> .
>


-- 
Erik Mallory

------------------------
"A happy man's paradise is his own good nature." - Edward Abbey

-- 
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANgg2%2Bzn44qb%3Dcxh%3DyeEXEPinsO64ftXavf%3DxkmZTcttYFvXyA%40mail.gmail.com.

Reply via email to