You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Marcin Sitko (JIRA)" <ji...@apache.org> on 2015/09/24 20:20:04 UTC

[jira] [Created] (LOG4NET-477) AdoNetAppender.ActivateOptions hangs when called from multiple threads

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)