Sunday, November 24, 2013

Troubleshoot Large objects allocation in websphere

In gc logs you may find a line like below
<af type="nursery" id="2233" timestamp="Sep 24 09:20:52 2013" intervalms="24.176">
  <minimum requested_bytes="3660242" />

From the above line we understand that a large object allocation request was made and we are interested in finding what that object would be.

In google just put the line 3660242bytes to mb to find how much exact  mb is allocated.

There is a jvm argument options available to find the large objects.
-Xdump:stack:events=allocation,filter=#3m

 -Xdump option to add and remove dump agents for various JVM events, update default dump settings (such as the dump name), and limit the number of dumps that are produced.

Here we have given stack so stack trace will be dumped when allocation events is done above 3megabytes

Restart the server after the parameter is added and you will get stack trace in native_stderr logs whenever  a large allocation of more than 3 mb is done.



Wednesday, November 20, 2013

SRVE0255E: A WebGroup/Virtual Host to handle /favicon.ico has not been defined

We can ignore this error coming in SystemOut logs.There will be no impact with this error.


favicon means favorite icon which is related to browsers.
W3C has recommended .ico format from 2003

For more information please refer the below .
IBM TechNote