This is the scenario,- it is a Java Application mainly, Heap Dump & Thread Dump is not helping me. Maybe I am not wise analyzing it.
Observation 1) Lots of memory seems to be utilized.
[maddipp1@pacoa13l ~] $ cat /proc/meminfo
MemTotal: 65807504 kB
MemFree: 4890688 kB
Observation 2) CPU usage is intensive.
Excerpt from top command,-
id - Time spent in idle operations is also high in all the hosts.
94.8 id - pacoa12l.unix.anz
81.4 id - pacoa13l.unix.anz
98.2 id - pacoa06l.unix.anz
At overall, our java-based web application sucks by consuming more time for a web page to open. I would like to know with any linux based command(s) or settings with it I can handle the situation. I cannot command on about the design patterns or the way application is designed, I am with L3 support, so I look towards the resolution, we have given certain suggestions although, but with it no improvements at all. Please guide me something considering a linux based application which runs on and consumes cpu / memory
So, how can I work with CPU and memory intensive applications in Linux ?
Other than it is a java based application, it uses database, and it is Oracle DB. Our AWR Report shows one of the order by clause - query uses execution time, that is more than 32 seconds and that Query has multiple inner join(s) and outer join(s) AND regarding AWR Report I get this PDF document from IBM- https://www.ibm.com/downloads/cas/WNK5D2QZ
Kindly suggest on what I would do to sort out the issue.
comment :-
Do you have swap?
freewill tell you. If not, you need between 1xRAM and 2xRAM. Swap space must be contiguous, not fragmented. Readman mkswap fallocate filefrag swapon fstab.
1xRAM and 2xRAM means, - should I have to go for increasing my physical RAM size in the linux machine?
This is the SWAP details,
SwapTotal: 5242876 kB
SwapFree: 5016828 kB
Please advise for this
freewill tell you. If not, you need between 1xRAM and 2xRAM. Swap space must be contiguous, not fragmented. Readman mkswap fallocate filefrag swapon fstab.