Kevin,
On 4/3/23 10:07, Kevin Huntly wrote:
I'm launching with startup.sh and I have a setenv:
https://pastebin.com/PKRgz2y1
>
> typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
-Djava.awt.headless=true";
You don't want this. You want:
typeset CATALINA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
-Djava.awt.headless=true";
(I'm not sure why you are bothering with "typeset". IMHO it adds nothing
but extra characters to the file and or someone so say "what the hell is
typset?")
CATALINA_OPTS are used when launching Tomcat. JAVA_OPTS are used when
launching any kind of JVM. An example is when shutting-down Tomcat. Your
JAVA_OPTS sets the heap size to 4 GiB, but you only need like 5MiB to
launch the "please shutdown" process, so a 4GiB heap for that is overkill.
-chris
________________________________________________
Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311
________________________________________________
-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------
On Mon, Apr 3, 2023 at 10:03 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:
Kevin,
On 4/2/23 09:08, Kevin Huntly wrote:
Couple questions:
1. Is there a way to change the default "stdout" to a different name?
e.g.
SystemOut.log (and by extension, can syserr be printed to something
SystemErr.log?)
How are you launching Tomcat?
2. When verbose:gc is turned on it logs a ton of stuff to stdout, can
that
output be redirected to a different file?
Have you tried google or "java -X"?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org