Skip to content

Instantly share code, notes, and snippets.

@kotsaris
Created February 22, 2016 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kotsaris/be6f27de4231593cd519 to your computer and use it in GitHub Desktop.
Save kotsaris/be6f27de4231593cd519 to your computer and use it in GitHub Desktop.
octopus stacktrace
System.Net.HttpListenerException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request
at System.Net.HttpRequestStream.EndRead(IAsyncResult asyncResult)
at Nancy.Extensions.StreamExtensions.<>c__DisplayClass3.<CopyTo>b__1(IAsyncResult readResult)
Error 2016-02-22 12:21:54
Error when running scheduled task: ExpireOldTasks
System.InvalidOperationException: The maximum number of requests (10000) allowed for this session has been reached.
Raven limits the number of remote calls that a session is allowed to make as an early warning system. Sessions are expected to be short lived, and
Raven provides facilities like Load(string[] keys) to load multiple documents at once and batch saves (call SaveChanges() only once).
You can increase the limit by setting DocumentConvention.MaxNumberOfRequestsPerSession or MaxNumberOfRequestsPerSession, but it is
advisable that you'll look into reducing the number of remote calls first, since that will speed up your application significantly and result in a
more responsive application.
at Raven.Client.Document.InMemoryDocumentSessionOperations.IncrementRequestCount() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\InMemoryDocumentSessionOperations.cs:line 324
at Raven.Client.Document.AbstractDocumentQuery`2.InitSync() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\AbstractDocumentQuery.cs:line 642
at Raven.Client.Document.AbstractDocumentQuery`2.get_QueryResult() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\AbstractDocumentQuery.cs:line 633
at Raven.Client.Linq.RavenQueryProviderProcessor`1.ExecuteQuery[TProjection]() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Linq\RavenQueryProviderProcessor.cs:line 1511
at Raven.Client.Linq.RavenQueryInspector`1.GetEnumerator() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Linq\RavenQueryInspector.cs:line 105
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at Octopus.Platform.Documents.Persistence.SessionExtensions.FetchAllUnsynchronized[TDocument](IRavenQueryable`1 query) in y:\work\refs\heads\master\source\Octopus.Platform.Documents\Persistence\SessionExtensions.cs:line 117
at Octopus.Server.Schedules.ExpireOldTasks.Trigger() in y:\work\refs\heads\master\source\Octopus.Server\Schedules\ExpireOldTasks.cs:line 45
at Octopus.Server.Schedules.Scheduler.RunTask(IRunOnASchedule task) in y:\work\refs\heads\master\source\Octopus.Server\Schedules\Scheduler.cs:line 83
@kotsaris
Copy link
Author

Octopus Deploy 2.6.5.1010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment