Hello,
I am sorry for not being specific. The worker log is freezing. There is
plenty of space on disk. I have made changes to logback config file, as
follows.
<configuration scan="true" scanPeriod="30 seconds">
<appender name="A1" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%-4r [%t] %-5p %c - %m%n</pattern>
</encoder>
</appender>
<appender name="A2"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/usr/local/storm/log/storm.log</file>
<rollingPolicy
class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<fileNamePattern>/usr/local/storm/log/storm.log.%i.zip</fileNamePattern>
<minIndex>1</minIndex>
<maxIndex>5</maxIndex>
</rollingPolicy>
<triggeringPolicy
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>10MB</maxFileSize>
</triggeringPolicy>
<append>true</append>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
%msg%n</pattern>
</encoder>
</appender>
<logger name="org.apache.zookeeper" level="WARN"/>
<root level="INFO">
<appender-ref ref="A2"/>
</root>
On Tue, May 5, 2015 at 8:34 AM, Bobby Evans <[email protected]> wrote:
> The only time I have seen logback "freeze" was when the disk it was
> writing to filled up. And in that case some log messages started to block,
> and it was very painful.
>
> - Bobby
>
>
>
> On Tuesday, May 5, 2015 8:18 AM, Jeff Maass <[email protected]> wrote:
>
>
> there are at least 3 different logs everyone should have:
> * nimbus
> * worker_{port}
> * supervisor
>
> Which of these is “freezing”?
>
> What version storm?
>
> When a worker starts, does writing to its log work?
>
> Have you made any changes to your logback configuration?
>
>
>
> From: clay teahouse <[email protected]>
> Reply-To: "[email protected]" <[email protected]>
> Date: 2015,Monday, May 4 at 20:21
> To: "[email protected]" <[email protected]>, "
> [email protected]" <[email protected]>
> Subject: storm logback freezing
>
> Hi all,
> Has anyone experienced a case where storm logback freezes? The topology
> seems to be functioning without an issue (I can see the results, in the
> destination consumers), but the storm log shows no progress. This usually
> happens a couple of hours after the topology starts, and not right away.
> I'd appreciate any feedback that what may be causing this issue.
>
> thank you
>
> Clay
>
>
>
>