Photon Server:Service shutting down: with Exception. Errorcode: 5







3348: 18:26:41.999 - Config File: C:\Users\User\OneDrive\桌面\背包\Photon-OnPremise-Server-SDK_v4-0-29-11263\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config

3348: 18:26:42.000 - Will produce at most: 10 crash dumps

3348: 18:26:42.000 - Action: run as service

17884: 18:26:42.001 - Server Starting...

17884: 18:26:42.001 -  Tick count: 281870031 (wraps in: 46.4479 days)

17884: 18:26:42.001 - Tick count 64: 281870031

17884: 18:26:42.001 - Photon Version: 4.0.28.2962

17884: 18:26:42.001 - PID: 18236

17884: 18:26:42.001 - Current directory is: C:\WINDOWS\system32

17884: 18:26:42.001 - Changing current directory to: C:\Users\User\OneDrive\桌面\背包\Photon-OnPremise-Server-SDK_v4-0-29-11263\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64

17884: 18:26:42.001 - Config File: C:\Users\User\OneDrive\桌面\背包\Photon-OnPremise-Server-SDK_v4-0-29-11263\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config

17884: 18:26:42.002 - Will NOT log unimportant exceptions

17884: 18:26:42.003 - Not using performance counters as they are not currently installed. Run the service with /InstallCounters to install them.

17884: 18:26:42.003 - Shutdown timeout enabled: 30000ms

17884: 18:26:42.003 - Starting I/O thread pool with 2 threads

17884: 18:26:42.003 - Using Standard allocator

17884: 18:26:42.003 - Max message size: 512000

17884: 18:26:42.003 - Starting business logic thread pool with the following settings

17884: 18:26:42.003 - InitialThreads: 4 threads

17884: 18:26:42.003 - MinThreads: 4 threads

17884: 18:26:42.003 - Thread pool is fixed size

17884: 18:26:42.003 - Starting ENet thread pool with the following settings

17884: 18:26:42.003 - InitialThreads: 2 threads

17884: 18:26:42.003 - MinThreads: 2 threads

17884: 18:26:42.003 - Thread pool is fixed size

17884: 18:26:42.003 - OnlyDispatchTimers: False

17884: 18:26:42.003 - S2S: flow control: Max pending writes: 50

17884: 18:26:42.003 - S2S: flow control: Max queued buffers: 200

17884: 18:26:42.003 - S2S: flow control: Max pending writes MUX: 500

17884: 18:26:42.003 - S2S: flow control: Max queued buffers MUX: 2000

17884: 18:26:42.003 - S2S: MaxInboundMessageSize: 512000

17884: 18:26:42.003 - S2S: MaxOutboundMessageSize: 512000

17884: 18:26:42.003 - S2S: No inactivity timeout

17884: 18:26:42.005 - WebSocket S2S: MaxInboundMessageSize: 512000

17884: 18:26:42.005 - WebSocket S2S: MaxOutboundMessageSize: 512000

17884: 18:26:42.005 - WebSocket S2S: No inactivity timeout

17884: 18:26:42.005 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes

17884: 18:26:42.005 - Per peer bandwidth limit

17884: 18:26:42.005 - Transmit Rate Limit: 256 KB/Sec

17884: 18:26:42.005 - Limit period: 200ms

17884: 18:26:42.005 - Limit per period: 52428 bytes

17884: 18:26:42.005 - Max queued data for transmission per peer: 512000 bytes

17884: 18:26:42.005 - Minimum retransmit timeout: 200

17884: 18:26:42.005 - No Maximum retransmit timeout

17884: 18:26:42.005 - Minimum ENet timeout: 5000ms

17884: 18:26:42.005 - Maximum ENet timeout: 30000ms

17884: 18:26:42.005 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes

17884: 18:26:42.005 - No RTT ACK adjustment timeout

17884: 18:26:42.005 - Outbound ENet: MaxInboundMessageSize: 512000

17884: 18:26:42.005 - Outbound ENet: MaxOutboundMessageSize: 512000

17884: 18:26:42.006 - GetRuntime - About to load CLR - versions available:

17884: 18:26:42.006 - v2.0.50727

17884: 18:26:42.006 - v4.0.30319

17884: 18:26:42.006 - Configuration requests: "v2.0.50727"

17884: 18:26:42.006 - About to load version: "v2.0.50727"

17884: 18:26:42.008 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D

17884: 18:26:42.008 - CLRBaseDirectory set to "C:\Users\User\OneDrive\桌面\背包\Photon-OnPremise-Server-SDK_v4-0-29-11263\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy"

17884: 18:26:42.008 - Optimising event broadcast for 20 or more peers

17884: 18:26:42.009 - Start: About to load CLR - versions available:

17884: 18:26:42.009 - v2.0.50727

17884: 18:26:42.009 - v4.0.30319

17884: 18:26:42.009 - No preference in configuration file, will load latest.

17884: 18:26:42.009 - About to load version: "v4.0.30319"

17884: 18:26:42.009 - Loaded version: "v4.0.30319"

17884: 18:26:42.105 - Photon host runtime loaded

17884: 18:26:45.380 - License is valid.

17884: 18:26:45.380 - Licensed for 100 concurrent connections.

17884: 18:26:45.380 - ENet: Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes

17884: 18:26:45.380 - ENet: Per peer bandwidth limit

17884: 18:26:45.380 - ENet: Transmit Rate Limit: 256 KB/Sec

17884: 18:26:45.380 - ENet: Limit period: 200ms

17884: 18:26:45.380 - ENet: Limit per period: 52428 bytes

17884: 18:26:45.380 - ENet: Max queued data for transmission per peer: 512000 bytes

17884: 18:26:45.380 - ENet: Minimum retransmit timeout: 200

17884: 18:26:45.380 - No Maximum retransmit timeout

17884: 18:26:45.380 - ENet: Minimum timeout: 5000ms

17884: 18:26:45.380 - ENet: Maximum timeout: 30000ms

17884: 18:26:45.380 - ENet: Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes

17884: 18:26:45.380 - No RTT ACK adjustment timeout

17884: 18:26:45.381 - About to load application: Master from Photon.LoadBalancing

17884: 18:26:45.381 - Auto restart is enabled for application, existing connections will be terminated during restart

17884: 18:26:45.381 - Application will restart 1000ms after the last change detected

17884: 18:26:45.381 - Application will restart if files matching the following are changed: "dll;config"

17884: 18:26:45.381 - Application will NOT restart if files matching the following are changed: "log4net.config"

17884: 18:26:45.424 - Taking reference on default app domain

17884: 18:26:45.454 - Application: "Master" started in app domain: 2

17884: 18:26:45.454 - About to load application: Game from Photon.LoadBalancing

17884: 18:26:45.454 - Auto restart is enabled for application, existing connections will be terminated during restart

17884: 18:26:45.454 - Application will restart 1000ms after the last change detected

17884: 18:26:45.454 - Application will restart if files matching the following are changed: "dll;config"

17884: 18:26:45.454 - Application will NOT restart if files matching the following are changed: "log4net.config"

17884: 18:26:45.491 - Taking reference on default app domain

17884: 18:26:45.536 - Application: "Game" started in app domain: 3

17884: 18:26:45.536 - About to load application: CounterPublisher from CounterPublisher

17884: 18:26:45.536 - Auto restart is enabled for application, existing connections will be terminated during restart

17884: 18:26:45.536 - Application will restart 1000ms after the last change detected

17884: 18:26:45.536 - Application will restart if files matching the following are changed: "dll;config"

17884: 18:26:45.536 - Application will NOT restart if files matching the following are changed: "log4net.config"

17884: 18:26:45.568 - Taking reference on default app domain

17884: 18:26:45.586 - Application: "CounterPublisher" started in app domain: 4

17884: 18:26:45.587 - Adding TCP listener on: 0.0.0.0: 4530 with a listen backlog of: 150

17884: 18:26:45.587 - TCP inactivity timeout: 10000ms

17884: 18:26:45.587 - TCP disconnect timeout: 120000ms

17884: 18:26:45.587 - MaxInboundMessageSize: 512000

17884: 18:26:45.587 - MaxOutboundMessageSize: 512000

17884: 18:26:45.587 - Forcing all applications ids to: "Master"

17884: 18:26:45.587 - Serving policy file requests from: "C:\Users\User\OneDrive\桌面\背包\Photon-OnPremise-Server-SDK_v4-0-29-11263\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\Policy\assets\socket-policy.xml"

17884: 18:26:45.587 - Adding TCP listener on: 0.0.0.0: 4531 with a listen backlog of: 150

17884: 18:26:45.587 - TCP inactivity timeout: 10000ms

17884: 18:26:45.587 - TCP disconnect timeout: 120000ms

17884: 18:26:45.587 - MaxInboundMessageSize: 512000

17884: 18:26:45.587 - MaxOutboundMessageSize: 512000

17884: 18:26:45.587 - Forcing all applications ids to: "Game"

17884: 18:26:45.587 - Serving policy file requests from: "C:\Users\User\OneDrive\桌面\背包\Photon-OnPremise-Server-SDK_v4-0-29-11263\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\Policy\assets\socket-policy.xml"

17884: 18:26:45.587 - Adding TCP listener on: 0.0.0.0: 4520 with a listen backlog of: 150

17884: 18:26:45.587 - TCP inactivity timeout: 5000ms

17884: 18:26:45.587 - TCP disconnect timeout: 120000ms

17884: 18:26:45.587 - MaxInboundMessageSize: 512000

17884: 18:26:45.587 - MaxOutboundMessageSize: 512000

17884: 18:26:45.587 - Forcing all applications ids to: "Master"

17884: 18:26:45.587 - MaxInboundMessageSize: 512000

17884: 18:26:45.587 - MaxOutboundMessageSize: 512000

17884: 18:26:45.587 - UDP address specified as: "0.0.0.0" adding listener to each available IPv4 address

17884: 18:26:45.587 - Adding UDP listener on: 192.168.50.164: 5055 with a listen backlog of: 500

17884: 18:26:45.587 - Adding UDP listener on: 127.0.0.1: 5055 with a listen backlog of: 500

17884: 18:26:45.587 - Forcing all applications ids to: "Game"

17884: 18:26:45.587 - MaxInboundMessageSize: 512000

17884: 18:26:45.587 - MaxOutboundMessageSize: 512000

17884: 18:26:45.587 - UDP address specified as: "0.0.0.0" adding listener to each available IPv4 address

17884: 18:26:45.588 - Adding UDP listener on: 192.168.50.164: 5056 with a listen backlog of: 500

17884: 18:26:45.588 - Adding UDP listener on: 127.0.0.1: 5056 with a listen backlog of: 500

17884: 18:26:45.588 - Adding WebSocket TCP listener on: 0.0.0.0: 9090 with a listen backlog of: 150

17884: 18:26:45.588 - Nagle disabled

17884: 18:26:45.588 - TCP inactivity timeout: 10000ms

17884: 18:26:45.588 - MaxInboundMessageSize: 512000

17884: 18:26:45.588 - MaxOutboundMessageSize: 512000

17884: 18:26:45.588 - Forcing all applications ids to: "Master"

17884: 18:26:45.588 - Will accept ANY sub-protocols from the client

17884: 18:26:45.588 - No automatic WebSocket ping

17884: 18:26:45.588 - Adding WebSocket TCP listener on: 0.0.0.0: 9091 with a listen backlog of: 150

17884: 18:26:45.588 - Nagle disabled

17884: 18:26:45.588 - TCP inactivity timeout: 10000ms

17884: 18:26:45.588 - MaxInboundMessageSize: 512000

17884: 18:26:45.588 - MaxOutboundMessageSize: 512000

17884: 18:26:45.588 - Forcing all applications ids to: "Game"

17884: 18:26:45.588 - Will accept ANY sub-protocols from the client

17884: 18:26:45.588 - No automatic WebSocket ping

17884: 18:26:45.588 - Adding Policy File listener on: 0.0.0.0: 843 with a listen backlog of: 150 and serving Policy File: "C:\Users\User\OneDrive\桌面\背包\Photon-OnPremise-Server-SDK_v4-0-29-11263\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\Policy\assets\socket-policy.xml"

17884: 18:26:45.588 - TCP inactivity timeout: 1000ms

17884: 18:26:45.588 - Adding Policy File listener on: 0.0.0.0: 943 with a listen backlog of: 150 and serving Policy File: "C:\Users\User\OneDrive\桌面\背包\Photon-OnPremise-Server-SDK_v4-0-29-11263\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\Policy\assets\socket-policy-silverlight.xml"

17884: 18:26:45.588 - TCP inactivity timeout: 1000ms

17884: 18:26:45.588 - CService::OnException() - Exception: CSocket::Bind() 0.0.0.0:843 - 一次只能用一個通訊端位址 (通訊協定/網路位址/連接埠)。

17884: 18:26:45.588 - Server shutting down...

17884: 18:26:45.588 - Shutdown monitoring enabled, 30000ms before process abort

17884: 18:26:45.588 - Notifying CLR applications of shutdown...

17884: 18:26:45.588 - RequestApplicationStop: 4

17884: 18:26:45.590 - RequestApplicationStop: 3

17884: 18:26:45.591 - RequestApplicationStop: 2

17884: 18:26:45.597 - RequestStop: defalt app domain

17884: 18:26:45.598 - Shutting down WebSocket Outbound Connection Manager...

17884: 18:26:45.598 - Shutting down TCP Outbound Connection Manager...

17884: 18:26:45.598 - Shutting down ENet Outbound Connection Manager...

17884: 18:26:45.598 - Disconnecting all outbound peers...

17884: 18:26:45.598 - Shutting down ENet host...

17884: 18:26:45.598 - Disconnecting all peers...

17884: 18:26:45.598 - Shutting down socket servers...

17884: 18:26:45.598 - Shutting down ENet thread pool...

17884: 18:26:45.598 - Shutting down TCP inactivity timers...

17884: 18:26:45.598 - WaitingForShutdownToComplete: NativePolicy:0.0.0.0:843

17884: 18:26:45.598 - OnShutdownCompleted: NativePolicy:0.0.0.0:843

17884: 18:26:45.598 - WaitingForShutdownToComplete: NativePolicy:0.0.0.0:943

17884: 18:26:45.598 - OnShutdownCompleted: NativePolicy:0.0.0.0:943

17884: 18:26:45.598 - WaitingForShutdownToComplete: TCP:0.0.0.0:4520

17884: 18:26:45.598 - OnShutdownCompleted: TCP:0.0.0.0:4520

17884: 18:26:45.598 - WaitingForShutdownToComplete: TCP:0.0.0.0:4530

17884: 18:26:45.598 - OnShutdownCompleted: TCP:0.0.0.0:4530

17884: 18:26:45.598 - WaitingForShutdownToComplete: TCP:0.0.0.0:4531

17884: 18:26:45.598 - OnShutdownCompleted: TCP:0.0.0.0:4531

17884: 18:26:45.598 - WaitingForShutdownToComplete: UDP:127.0.0.1:5055

17884: 18:26:45.598 - OnShutdownCompleted: UDP:127.0.0.1:5055

17884: 18:26:45.598 - WaitingForShutdownToComplete: UDP:127.0.0.1:5056

17884: 18:26:45.598 - OnShutdownCompleted: UDP:127.0.0.1:5056

17884: 18:26:45.598 - WaitingForShutdownToComplete: UDP:192.168.50.164:5055

17884: 18:26:45.598 - OnShutdownCompleted: UDP:192.168.50.164:5055

17884: 18:26:45.598 - WaitingForShutdownToComplete: UDP:192.168.50.164:5056

17884: 18:26:45.598 - OnShutdownCompleted: UDP:192.168.50.164:5056

17884: 18:26:45.598 - WaitingForShutdownToComplete: WebSocket:0.0.0.0:9090

17884: 18:26:45.598 - OnShutdownCompleted: WebSocket:0.0.0.0:9090

17884: 18:26:45.598 - WaitingForShutdownToComplete: WebSocket:0.0.0.0:9091

17884: 18:26:45.598 - OnShutdownCompleted: WebSocket:0.0.0.0:9091

17884: 18:26:45.598 - Shutting down CLR applications...

19488: 18:26:45.599 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain

17884: 18:26:45.601 - Shutting down business logic thread pool...

17884: 18:26:45.601 - Shutting down I/O thread pool...

17884: 18:26:45.601 - Destroying servers

17884: 18:26:45.601 - Destroying WebSocket Outbound Connection Manager

17884: 18:26:45.601 - Destroying TCP Outbound Connection Manager

17884: 18:26:45.601 - Destroying TCP inactivity timer

17884: 18:26:45.601 - Destroying ENet timer wheel

17884: 18:26:45.601 - Destroying ENet host

17884: 18:26:45.601 - Destroying ENet outbound host

17884: 18:26:45.601 - Destroying HTTP inactivity timer

17884: 18:26:45.601 - Destroying HTTP host

17884: 18:26:45.601 - Destroying HTTP Chunk host

17884: 18:26:45.601 - Flushing ENET buffer allocator...

17884: 18:26:45.601 - Flushing TCP buffer handle allocator...

17884: 18:26:45.601 - Flushing stream socket allocator...

17884: 18:26:45.601 - Flushing inbound datagram socket allocator...

17884: 18:26:45.601 - Flushing outbound datagram socket allocator...

17884: 18:26:45.601 - Destroying CLR dispatcher

17884: 18:26:45.601 - Destroying CLR applications

17884: 18:26:45.602 - ~CCLRApplicationCollection() - Waiting up to 10 seconds for the CLR to release all of our objects

11984: 18:26:45.603 - Unloading Domain: ApplicationName = 'CounterPublisher', DomainId='4'

19488: 18:26:45.603 - CManagedHost::OnDomainUnload() - 4

19488: 18:26:45.606 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain

11984: 18:26:45.610 - Unloading Domain: ApplicationName = 'Master', DomainId='2'

19488: 18:26:45.611 - CManagedHost::OnDomainUnload() - 2

19488: 18:26:45.611 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain

Answers