logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcin Sitko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4NET-477) AdoNetAppender.ActivateOptions hangs when called from multiple threads
Date Thu, 24 Sep 2015 18:20:04 GMT
Marcin Sitko created LOG4NET-477:
------------------------------------

             Summary: AdoNetAppender.ActivateOptions hangs when called from multiple threads
                 Key: LOG4NET-477
                 URL: https://issues.apache.org/jira/browse/LOG4NET-477
             Project: Log4net
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 1.2.13
         Environment: Windows 7, Windows 10
            Reporter: Marcin Sitko


When AdoNetAppender.ActivateOptions is called from multiple threads (amount of threads depends
on machine) it could take 15, 30 and more seconds to complete. Normally it takes less than
100 milliseconds. I prepared sample project which demonstrates this issue (you may need to
increase amount of threads, it vary on machine on which test is ran ) https://github.com/marcin-sitko/Log4NetBug
. From process dumps it seems that it hangs on waiting for connection or on disposing a connection.
Please take a look at this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message