...
No Format |
---|
export CATALINA_OPTS="-Xms256m -Xmx512m -Xloggc:/usr/local/tomcat4/logs/tomcat_gc.log"
|
Example snipplet (your output may look different depending on JVM and options):
...
On Linux you can look at the load average and the CPU percent used using the top command.
If these are high Don't Panic and test how long it takes to load up a page in uPortal.
network connections
Network connections can help in diagnosing problems with database connection pools.
No Format |
---|
netstat -e >> file.out
|
Output example:
No Format |
---|
Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode tcp 0 0 portalsvr.foo.edu:48787 oraclesvr1.foo.edu:1521 ESTABLISHED tomcat 3065471 tcp 0 0 portalsvr.foo.edu:45708 oraclesvr2.foo.edu:1521 ESTABLISHED tomcat 3040316 tcp 0 0 portalsvr.foo.edu:45715 oraclesvr2.foo.edu:1521 ESTABLISHED tomcat 3040360 ... snip... |
memory usage reported by the OS
...