iis部署网站后,有时触发专用内存限制,进行 应用程序池回收。再次启动时,偶尔报错,导致重启失败,网站无法访问。重新启动网站就正常了。
System
- Provider
[ Name] IIS AspNetCore Module V2
- EventID 1018
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2021-08-24T00:31:00.270281300Z
EventRecordID 174182
Channel Application
Computer WIN-MTAF82JUSFC
Security
EventData
Application '/LM/W3SVC/2/ROOT' with physical root 'D:\website' hit unexpected managed exception, exception code = '0xe0434352'. First 30KB characters of captured stdout and stderr logs: [ 08:30:44.241]-[Information]--Starting IdentityServer4 version "4.1.1+cebd52f5bc61bdefc262fd20739d4d087c6f961f" [ 08:30:44.308]-[Information]--You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation. [ 08:30:44.310]-[Information]--Using the default authentication scheme "Authentication" for IdentityServer [ 08:31:00.247]-[Fatal]--Application startup exception Autofac.Core.DependencyResolutionException: An exception was thrown while activating λ:WebFramework.Core.Domain.Common.CommonSettings. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'caching_sha2_password' failed with message: Reading from the stream has failed. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.IOException: Unable to read data from the transport connection: 你的主机中的软件中止了一个已建立的连接。. ---> System.Net.Sockets.SocketException (10053): 你的主机中的软件中止了一个已建立的连接。 at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Se.......
Process Id: 3276.
File Version: 13.1.20325.11. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 9699b939f94b7524a178821d78addefa5af5d750
System
- Provider
[ Name] IIS AspNetCore Module V2
- EventID 1007
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2021-08-24T00:31:00.270281300Z
EventRecordID 174183
Channel Application
Computer WIN-MTAF82JUSFC
Security
EventData
Application '/LM/W3SVC/2/ROOT' with physical root 'D:\website' failed to load coreclr. Exception message: CLR worker thread exited prematurely
Process Id: 3276.
File Version: 13.1.20325.11. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 9699b939f94b7524a178821d78addefa5af5d750