I cant find the gc.log file in container logs folder. Do i have to replace
the LOG_DIR with a path?

On Tue, Feb 21, 2017 at 12:21 PM, Tushar Gosavi <[email protected]>
wrote:

> Hi Ambarish,
>
> you could add following property in your applications properties.xml file.
>
> <property>
> <name>dt.application.*.attr.containerJvmOpts</name>
> <value>-Xloggc:&lt;LOG_DIR&gt;/gc.log -verbose:gc
> -XX:+PrintGCDateStamps</value>
>   </property>
>
> when this property is used, you will see gc.log file in container
> directory.
>
> - Tushar.
>
>
> On Tue, Feb 21, 2017 at 12:06 PM, Ambarish Pande
> <[email protected]> wrote:
> > Hello,
> >
> > I tried enabling gclogs in hadoop configurations. Do I need to enable it
> in
> > Datatorrent RTS somewhere or in my app?. If so, how should I do it?
> >
> > Thank You
> >
> > On Fri, Feb 17, 2017 at 1:20 PM, Ashwin Chandra Putta
> > <[email protected]> wrote:
> >>
> >> It is probably not able to keep up with the throughput and might need
> more
> >> partitions. Check the CPU and memory utilization of its container. If
> memory
> >> allocated to container is too low, it might be hitting GC too often.
> You can
> >> enable GC logging and check GC logs.
> >>
> >> Regards,
> >> Ashwin.
> >>
> >>
> >> On Feb 16, 2017 11:12 PM, "Ambarish Pande" <
> [email protected]>
> >> wrote:
> >>
> >> Hello,
> >>
> >> I wanted to know why my operator latency is increasing. Which logs
> should
> >> I check to get any idea about that. I have checked the container dt.log
> ,
> >> stderr and stdout, but I cannot find anything there.
> >>
> >> Thank You
> >>
> >>
> >
>

Reply via email to