[ 
https://issues.apache.org/jira/browse/DIRSERVER-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832922#comment-17832922
 ] 

Oleksandr Andreiev commented on DIRSERVER-2394:
-----------------------------------------------

Thank you, I understand. However, I believe it would be better to handle it 
more effectively. When you encounter an exception in the log, it raises doubts 
about the system's stability and potential impacts on the server.

> org.apache.mina.core.write.WriteToClosedSessionException every 40-60 seconds
> ----------------------------------------------------------------------------
>
>                 Key: DIRSERVER-2394
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2394
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0.AM27
>            Reporter: Oleksandr Andreiev
>            Priority: Major
>
> I see such an exception after moving from 2.0.0.AM26 to 2.0.0.AM27.
> {{WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Unexpected 
> exception forcing session to close: sending disconnect notice to client.
> org.apache.mina.core.write.WriteToClosedSessionException
> at  
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.clearWriteRequestQueue(AbstractPollingIoProcessor.java:1192)
> at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.removeNow(AbstractPollingIoProcessor.java:1153)
> at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.removeSessions(AbstractPollingIoProcessor.java:864)
> at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:694)
> at 
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> }}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to