Page 1 of 1

High Memory Consumption by TM1 Web application server on AIX Server

Posted: Fri Mar 02, 2018 3:00 pm
by suman23479
Hi All,

We have 1 TM1 Admin Server and 2 TM1 Web Application Server.
On both the TM1 Web application server the memory is 64 GB.
Every day the utilization peaks to 100%.

Is there any advise to check the memory utilization of TM1 WEB App servers.
When i checked using some AIX commands i could not figure out which process is consuming high memory.
There is only java process which is consuming very less

-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
6684682 java 213913 10937 0 213892 Y Y N
11600082 java 38178 15845 0 38178 N Y N
17236108 svmon 33883 10816 0 33800 Y N N
14680274 bash 33667 10816 0 33384 Y N N
8782042 bash 33622 10816 0 33339 Y N N
7864558 sshd 28428 15812 0 28262 N N N
19726360 sshd 28411 15812 0 28245 N N N
4915434 ksh 28308 15812 0 28243 N N N
19988624 sftp-server 28262 15812 0 28225 N N N

Re: High Memory Consumption by TM1 Web application server on AIX Server

Posted: Fri Mar 02, 2018 4:34 pm
by Steve Rowe
RAM consumption of TM1 web is driven by the size of the reports being consumed.

You need to check the excel sheets published for large amounts of white space (ctrl+end in excel), TM1 Web will try and render the white space and this drives up RAM consumption.

The more users you have and the larger the reports the more RAM you'll need.

Re: High Memory Consumption by TM1 Web application server on AIX Server

Posted: Wed Mar 07, 2018 6:03 pm
by suman23479
Thanks Steve,
I found some java.lang.outofmemoryerror: java heap space in the log.
I am not clear how to get in details to understand whats going wrong with these web servers as the total memory on each of the servers are 64 GB.

Mar 07, 2018 10:44:33 AM org.apache.coyote.http11.Http11Processor process
SEVERE: Error processing request
java.lang.OutOfMemoryError: Java heap space
at java.io.UnixFileSystem.canonicalize0(Native Method)
at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:184)
at java.io.File.getCanonicalPath(File.java:630)
at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:793)
at org.apache.naming.resources.FileDirContext.getAttributes(FileDirContext.java:429)
at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:747)
at org.apache.naming.resources.ProxyDirContext.revalidate(ProxyDirContext.java:1501)
at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1457)
at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:288)
at org.apache.tomcat.util.http.mapper.Mapper.internalMapWrapper(Mapper.java:827)
at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:671)
at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:557)
at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:498)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:809)

Mar 07, 2018 10:45:07 AM org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
SEVERE: Error reading request, ignored
java.lang.OutOfMemoryError: Java heap space
at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:158)
at org.apache.juli.FileHandler.publish(FileHandler.java:198)
at java.util.logging.Logger.log(Logger.java:628)
at java.util.logging.Logger.doLog(Logger.java:653)
at java.util.logging.Logger.logp(Logger.java:853)
at org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:167)
at org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:135)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:809)

Mar 07, 2018 10:45:07 AM org.apache.coyote.http11.Http11Processor process
SEVERE: Error finishing response
java.lang.OutOfMemoryError: Java heap space
at java.net.Inet4Address.getAddress(Inet4Address.java:327)
at java.net.Inet4Address.getHostAddress(Inet4Address.java:343)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:126)
at java.net.SocketOutputStream.write(SocketOutputStream.java:172)
at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:761)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:448)
at org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:414)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:903)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:809)