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

Probable I/O race condition detected while copying memory.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 1.2.10
    • 1.2.10
    • Appenders
    • None
    • Windows XP Professional

    Description

      Currently we are facing some issues with the log4net configuration in our project. I am looking for help on this.

      We are getting the following error in the log4net log file:

      Error: Probable I/O race condition detected while copying memory. The I/O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader's or TextWriter's Synchronized methods. This also applies to classes like StreamWriter and StreamReader.]

      We are using the rollinglogfileAppender with the rolling style as "Date" and the locking model as "log4net.Appender.FileAppender+MinimalLock".

      When nearly 250 users in our application tries to write to the log file it is coming with the above error message.

      Any help is greatly appreciated.

      Attachments

        Activity

          People

            ron liu ron
            majetisiva siva
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: