Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-477

AdoNetAppender.ActivateOptions hangs when called from multiple threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.2.13
    • None
    • Appenders
    • Windows 7, Windows 10

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcin.sitko Marcin Sitko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 504h
                504h
                Remaining:
                Remaining Estimate - 504h
                504h
                Logged:
                Time Spent - Not Specified
                Not Specified