Thanks Mac! That's very helpful!

On Mon, Jan 28, 2019 at 1:39 PM Mac Reid <[email protected]> wrote:

> We use systemd to run our CAS service. Here's our configs for running CAS
> with a larger heap:
>
> /etc/systemd/system/cas.service:
> [Unit]
> Description=CAS Webserver
> After=syslog.target
>
> [Service]
> EnvironmentFile=/etc/sysconfig/cas
> User=cas
> ExecStart=/bin/java $JAVA_OPTS -jar /opt/cas/cas.war
> SuccessExitStatus=143
>
> [Install]
> WantedBy=multi-user.target
>
>
> /etc/sysonfig/cas:
> JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1g
> -Xmx6g -XX:-UseGCOverheadLimit -XX:+UseConcMarkSweepGC
> -XX:-UseCompressedOops"
>
>
> I don't recall if the embedded tomcat uses the JAVA_OPTS environment
> variable or the command line flags.
>
> -Mac
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALX_e4%3DTxBun5wsVrDanqSViiqNMGrZbcAEf_BKyZwYdhOmvEw%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALX_e4%3DTxBun5wsVrDanqSViiqNMGrZbcAEf_BKyZwYdhOmvEw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Kelly

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANDcCJnGBXN3p3t_q-K%2BgXii%2B2J5DihXma_op7sRKCz9vLGHuw%40mail.gmail.com.

Reply via email to