Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13597

MongoDB 2.6 crashes unexpectedly on Windows (2.4 or earlier was stable)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: Stability
    • Labels:
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Not sure, see crash dumps?

      Show
      Not sure, see crash dumps?

      Description

      We have been running MongoDB for http://learninglineapp.com and http://develop.com for over a year (maybe almost two). They are hosted in EC2 on Windows server 2008 R2. Until we switched to 2.6 they have been rock solid.

      But since we upgraded to 2.6, MongoDB has begun crashing unexpectedly. I don't have much information to put in the description. However, I do have the log file and minidumps. They are attached.

      Here is what is in the Windows event log:

      The MongoDB (master) service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.

      Finally, here is what we get back in .NET as a stack trace (nothing interesting, just the server is missing basically):

      MongoDB.Driver.MongoConnectionException: Unable to connect to server localhost:27017: No connection could be made because the target machine actively refused it 127.0.0.1:27017. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:27017
      at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
      at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
      at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
      at MongoDB.Driver.Internal.MongoConnection.Open()
      at MongoDB.Driver.Internal.MongoConnection.SendMessage(BsonBuffer buffer, Int32 requestId)
      at MongoDB.Driver.Internal.MongoConnection.SendMessage(MongoRequestMessage message)
      at MongoDB.Driver.Operations.CommandOperation`1.Execute(MongoConnection connection)
      at MongoDB.Driver.MongoServerInstance.Ping(MongoConnection connection)
      at MongoDB.Driver.MongoServerInstance.Connect()
      at MongoDB.Driver.Internal.DirectMongoServerProxy.Connect(TimeSpan timeout, ReadPreference readPreference)
      — End of inner exception stack trace —
      at MongoDB.Driver.Internal.DirectMongoServerProxy.Connect(TimeSpan timeout, ReadPreference readPreference)
      at MongoDB.Driver.Internal.DirectMongoServerProxy.ChooseServerInstance(ReadPreference readPreference)
      at MongoDB.Driver.MongoServer.AcquireConnection(ReadPreference readPreference)
      at MongoDB.Driver.MongoCursor`1.MongoCursorConnectionProvider.AcquireConnection()
      at MongoDB.Driver.Operations.QueryOperation`1.GetFirstBatch(IConnectionProvider connectionProvider)
      at MongoDB.Driver.Operations.QueryOperation`1.Execute(IConnectionProvider connectionProvider)
      at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
      at MongoDB.Driver.Linq.SelectQuery.Execute()
      at MongoDB.Driver.Linq.MongoQueryProvider.Execute[TResult](Expression expression)
      at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)

      I'm happy to work with you (screensharing, whatever) to help track this down.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.benvenuto Mark Benvenuto
              Reporter:
              mkennedy66996693 Michael Kennedy
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: