[logback-dev] [JIRA] (LOGBACK-1406) Seems all threads blocked
Title: Message Title Duarte commented on LOGBACK-1406 Re: Seems all threads blocked @Joshua, your problem appears to be a deadlock, which would be unrelated to this ticket. You have a PrintStream (that holds a lock) writing to logback in one thread, and logback writing to the same PrintStream in another thread. The original problem are not the threads waiting for the lock. It's the thread that is holding the lock indefinitely. Using things like tryLock with a timeout would just cause all other threads to temporarily block and fail when trying to log - it's not a solution. I would try understand why the native method "writeBytes" is blocked. It could be a I/O issue, like full disk, writing to a pipe without a reader, etc. You can use lsof, for example, to investigate. Add Comment This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59) ___ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
[logback-dev] [JIRA] (LOGBACK-1382) AsyncAppender#putUninterruptibly may loop forever
Title: Message Title Ilya Serbis commented on LOGBACK-1382 Re: AsyncAppender#putUninterruptibly may loop forever If you think there is a bug please provide test code that proves your hypothesis. Add Comment This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59) ___ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
[logback-dev] [JIRA] (LOGBACK-1382) AsyncAppender#putUninterruptibly may loop forever
Title: Message Title Ilya Serbis commented on LOGBACK-1382 Re: AsyncAppender#putUninterruptibly may loop forever Note that blocking operations throw InterruptedException along with the resetting thread interruption flag. So even if blockingQueue.put() is throwing InterruptedException for the first time, second call will do the job. This loop can't last forever. Add Comment This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59) ___ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev