1

Topic: Falling of worker process IIS

Good afternoon, colleagues! Recently on  to the machine, worker process IIS fell with such error: Application: w3wp.exe the platform Version: v4.0.30319 the Description. Process has been completed because of a raw exception. Convergence on an exception: System. AccessViolationException the Stack: in System.Web.Hosting.UnsafeIISMethods.MgdExplicitFlush (IntPtr, Boolean, Boolean ByRef) in System.Web.Hosting.UnsafeIISMethods.MgdExplicitFlush (IntPtr, Boolean, Boolean ByRef) in System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush () in System. Web. HttpResponse. Flush (Boolean, Boolean) in System. Web. HttpResponseWrapper. Flush () in SkyBaseWebFront.Controllers.NotifController._sendNotif (System. Web. HttpResponseBase, System. Object, System. String) in SkyBaseWebFront.Controllers.NotifController.sendNotifToUser (SkyBaseCore. AppId, SkyBaseCore. SBSystem. SBUserInfo, System. String, System. Object, Int32) in SkyBaseCore.UserApp.Notifications+<>c__DisplayClass14.<NotifyAboutNewslineCreatedAsync>b__13 () in System. Threading. Tasks. Task. Execute () in System.Threading.ExecutionContext.RunInternal (System. Threading. ExecutionContext, System. Threading. ContextCallback, System. Object, Boolean) in System. Threading. ExecutionContext. Run (System. Threading. ExecutionContext, System. Threading. ContextCallback, System. Object, Boolean) in System.Threading.Tasks.Task.ExecuteWithThreadLocal (System. Threading. Tasks. Task ByRef) in System. Threading. Tasks. Task. ExecuteEntry (Boolean) in System.Threading.ThreadPoolWorkQueue.Dispatch () incidentally (time in I do not divide) the such happens. Not  the code (which could spoil storage) in process is not present, falls at Flush caused of an asynchronous method of the controler.  results any did not give... Who  faced the such?

2

Re: Falling of worker process IIS

Hello, MadHuman, you wrote: MH> in System.Web.Hosting.UnsafeIISMethods.MgdExplicitFlush (IntPtr, Boolean, Boolean ByRef) it is similar to it

3

Re: Falling of worker process IIS

Hello, #John, you wrote: J> Hello, MadHuman, you wrote: MH>> in System.Web.Hosting.UnsafeIISMethods.MgdExplicitFlush (IntPtr, Boolean, Boolean ByRef) J> it is similar to it Not, not. There  it is conscious   with exception ThreadAbortedException, business comes to an end only  one flow. In our case arises System. AccessViolationException - all process also falls.

4

Re: Falling of worker process IIS

Hello, MadHuman, you wrote:>> System. AccessViolationException - all process also falls. Process and  an exception>> falls at Flush caused of an asynchronous method of the controler. Similar that during the moment when Flush this storage obtains the data from storage for sending on the client is already released. Probably Flush it is caused asynchronously some times (it can be checked up ), or method any another asp.net which is caused can release the necessary storage (it it is necessary to look as is written the method).

5

Re: Falling of worker process IIS

Hello, MadHuman, you wrote: IIS has the right  application when to it takes in head. What thus  jump out depends on the version. Storage usage looked? Well also recheck that there is no unmanaged-code. To create managed assembly c unmanaged the code forbade nobody

6

Re: Falling of worker process IIS

Hello, VladCore, you wrote: VC> IIS has the right  application when to it takes in head. What thus  jump out depends on the version.  is not present, it not restart. It is process crash on AccessViolation, and from  the code IIS, similar bug in IIS VC> storage usage looked? Storages enough, it is used less than 50 % from physical (in peaks), business is exact not in that that is used close to a limit. Such was, and there were problems thus but absolutely others, such error as in this topic was not. Began to fall almost once a day. Correlates with loading growth. I think it of a bug IIS, other variants are not present, can write to a microsoftware a bug-report? Where it can be made?. Or somehow to invent a method how to bypass... But  to what it is connected... Can  does not love competitive Flush in one Response?.