No update dll, no update config, the server after a successful start in less than 1 second to restar

4436: 10:27:53.820 - --- 4436: 10:27:53.821 - Service: "Photon Socket Server" starting 4436: 10:27:53.821 - Config File: E:\tfs\kkxy2\Photon引擎SDK\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config 4436: 10:27:53.822 - Will produce at most: 10 crash dumps 4436: 10:27:53.823 - Action: run as exe 4436: 10:27:53.823 - Server Starting... 4436: 10:27:53.823 - Tick count: 671599 (wraps in: 49.7025 days) 4436: 10:27:53.823 - Tick count 64: 671599 4436: 10:27:53.823 - Photon Version: 4.0.28.2962 4436: 10:27:53.823 - PID: 4296 4436: 10:27:53.823 - Config File: E:\tfs\kkxy2\Photon引擎SDK\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config 4436: 10:27:53.824 - Will NOT log unimportant exceptions 4436: 10:27:53.828 - Not using performance counters as they are not currently installed. Run the service with /InstallCounters to install them. 4436: 10:27:53.829 - Shutdown timeout enabled: 30000ms 4436: 10:27:53.829 - Starting I/O thread pool with 2 threads 4436: 10:27:53.829 - Using Standard allocator 4436: 10:27:53.829 - Max message size: 512000 4436: 10:27:53.829 - Starting business logic thread pool with the following settings 4436: 10:27:53.829 - InitialThreads: 4 threads 4436: 10:27:53.829 - MinThreads: 4 threads 4436: 10:27:53.829 - Thread pool is fixed size 4436: 10:27:53.830 - Starting ENet thread pool with the following settings 4436: 10:27:53.830 - InitialThreads: 2 threads 4436: 10:27:53.830 - MinThreads: 2 threads 4436: 10:27:53.830 - Thread pool is fixed size 4436: 10:27:53.830 - OnlyDispatchTimers: False 4436: 10:27:53.830 - S2S: flow control: Max pending writes: 50 4436: 10:27:53.830 - S2S: flow control: Max queued buffers: 200 4436: 10:27:53.830 - S2S: flow control: Max pending writes MUX: 500 4436: 10:27:53.830 - S2S: flow control: Max queued buffers MUX: 2000 4436: 10:27:53.830 - S2S: MaxInboundMessageSize: 512000 4436: 10:27:53.830 - S2S: MaxOutboundMessageSize: 512000 4436: 10:27:53.830 - S2S: No inactivity timeout 4436: 10:27:53.836 - WebSocket S2S: MaxInboundMessageSize: 512000 4436: 10:27:53.836 - WebSocket S2S: MaxOutboundMessageSize: 512000 4436: 10:27:53.836 - WebSocket S2S: No inactivity timeout 4436: 10:27:53.836 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes 4436: 10:27:53.836 - Per peer bandwidth limit 4436: 10:27:53.836 - Transmit Rate Limit: 256 KB/Sec 4436: 10:27:53.836 - Limit period: 200ms 4436: 10:27:53.836 - Limit per period: 52428 bytes 4436: 10:27:53.836 - Max queued data for transmission per peer: 512000 bytes 4436: 10:27:53.836 - Minimum retransmit timeout: 200 4436: 10:27:53.836 - No Maximum retransmit timeout 4436: 10:27:53.836 - Minimum ENet timeout: 5000ms 4436: 10:27:53.836 - Maximum ENet timeout: 30000ms 4436: 10:27:53.836 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes 4436: 10:27:53.836 - No RTT ACK adjustment timeout 4436: 10:27:53.836 - Outbound ENet: MaxInboundMessageSize: 512000 4436: 10:27:53.836 - Outbound ENet: MaxOutboundMessageSize: 512000 4436: 10:27:53.855 - GetRuntime - About to load CLR - versions available: 4436: 10:27:53.855 - v2.0.50727 4436: 10:27:53.855 - v4.0.30319 4436: 10:27:53.855 - Configuration requests: "v2.0.50727" 4436: 10:27:53.855 - About to load version: "v2.0.50727" 4436: 10:27:53.930 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D 4436: 10:27:53.930 - CLRBaseDirectory set to "E:\tfs\kkxy2\Photon引擎SDK\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy" 4436: 10:27:53.930 - Optimising event broadcast for 20 or more peers 4436: 10:27:53.930 - Start: About to load CLR - versions available: 4436: 10:27:53.930 - v2.0.50727 4436: 10:27:53.930 - v4.0.30319 4436: 10:27:53.930 - No preference in configuration file, will load latest. 4436: 10:27:53.930 - About to load version: "v4.0.30319" 4436: 10:27:53.930 - Loaded version: "v4.0.30319" 4436: 10:27:54.507 - Photon host runtime loaded 4436: 10:27:54.570 - ERROR: failed to load PhotonLicensing.dll. Going to shutdown. 4436: 10:27:54.570 - License has expired. 4436: 10:27:54.570 - Server shutting down... 4436: 10:27:54.570 - Shutdown monitoring enabled, 30000ms before process abort 4436: 10:27:54.570 - Notifying CLR applications of shutdown... 4436: 10:27:54.570 - RequestStop: defalt app domain 4436: 10:27:54.570 - Shutting down WebSocket Outbound Connection Manager... 4436: 10:27:54.570 - Shutting down TCP Outbound Connection Manager... 4436: 10:27:54.570 - Shutting down ENet Outbound Connection Manager... 4436: 10:27:54.570 - Disconnecting all outbound peers... 4436: 10:27:54.570 - Shutting down socket servers... 4436: 10:27:54.570 - Shutting down ENet thread pool... 4436: 10:27:54.570 - Shutting down TCP inactivity timers... 4436: 10:27:54.570 - Shutting down CLR applications... 4436: 10:27:54.570 - Shutting down business logic thread pool... 4436: 10:27:54.570 - Shutting down I/O thread pool... 4436: 10:27:54.570 - Destroying servers 4436: 10:27:54.570 - Destroying WebSocket Outbound Connection Manager 4436: 10:27:54.570 - Destroying TCP Outbound Connection Manager 4436: 10:27:54.570 - Destroying TCP inactivity timer 4436: 10:27:54.570 - Destroying ENet timer wheel 4436: 10:27:54.570 - Destroying ENet host 4436: 10:27:54.570 - Destroying ENet outbound host 4436: 10:27:54.570 - Destroying HTTP inactivity timer 4436: 10:27:54.570 - Destroying HTTP host 4436: 10:27:54.570 - Destroying HTTP Chunk host 4436: 10:27:54.570 - Flushing ENET buffer allocator... 4436: 10:27:54.570 - Flushing TCP buffer handle allocator... 4436: 10:27:54.570 - Flushing stream socket allocator... 4436: 10:27:54.570 - Flushing inbound datagram socket allocator... 4436: 10:27:54.570 - Flushing outbound datagram socket allocator... 4436: 10:27:54.570 - Destroying CLR dispatcher 4436: 10:27:54.570 - Destroying CLR applications 4436: 10:27:54.570 - ~CCLRApplicationCollection() - Waiting up to 10 seconds for the CLR to release all of our objects 4436: 10:27:54.570 - ~CCLRApplicationCollection() - Done. All objects released 4436: 10:27:54.570 - ~CManagedHost() - Release default app domain 4436: 10:27:54.570 - CManagedHost::OnDomainUnload() - 1 4436: 10:27:54.570 - ~CManagedHost() - Waiting up to 10 seconds for CLR shutdown... 4436: 10:27:54.570 - ~CManagedHost 4436: 10:27:54.570 - Destroying ENet thread pool 4436: 10:27:54.570 - Destroying Business logic thread pool 4436: 10:27:54.570 - Destroying I/O thread pool 4436: 10:27:54.570 - Destroying ENet buffer allocator 4436: 10:27:54.570 - Destroying TCP buffer allocator 4436: 10:27:54.570 - Destroying TCP socket allocator 4436: 10:27:54.570 - Destroying ENet inbound socket allocator 4436: 10:27:54.570 - Destroying ENet outbound socket allocator 4436: 10:27:54.570 - Destroying shared datagram flow control data 4436: 10:27:54.570 - Shutdown complete... 4436: 10:27:54.570 - Service shutting down: not licensed. Errorcode: 105 4436: 10:27:54.585 - Service shut down complete

Comments

  • lpp168 said:

    9884: 14:45:21.191 - TCP inactivity timeout: 10000ms 9884: 14:45:21.232 - Service is running... 1512: 14:45:29.329 - Restarting application: "Tcg" due to file changes 1512: 14:45:29.329 - Application: "Tcg" restart request (abort existing connections) 1512: 14:45:29.502 - Taking reference on default app domain 1512: 14:45:31.170 - Application: "Tcg" started in app domain: 5 1512: 14:45:35.210 - RequestApplicationStop: 2 1512: 14:45:35.222 - Application: "Tcg" stopped in app domain: 2 (abort existing connections) 1512: 14:45:35.222 - Application: "Tcg" restart complete. 5748: 14:45:35.222 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain 5200: 14:45:35.232 - Unloading Domain: ApplicationName = 'Tcg', DomainId='2' 5748: 14:45:35.262 - CManagedHost::OnDomainUnload() - 2 5748: 14:45:35.262 - Releasing reference on default app domain 1512: 14:45:36.230 - Restarting application: "Tcg" due to file changes 1512: 14:45:36.230 - Application: "Tcg" restart request (abort existing connections) 1512: 14:45:36.423 - Taking reference on default app domain 1512: 14:45:38.096 - Application: "Tcg" started in app domain: 6 1512: 14:45:41.801 - RequestApplicationStop: 5 1512: 14:45:41.813 - Application: "Tcg" stopped in app domain: 5 (abort existing connections) 5748: 14:45:41.813 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain 1512: 14:45:41.813 - Application: "Tcg" restart complete. 5200: 14:45:41.824 - Unloading Domain: ApplicationName = 'Tcg', DomainId='5' 5748: 14:45:41.860 - CManagedHost::OnDomainUnload() - 5 5748: 14:45:41.860 - Releasing reference on default app domain 1512: 14:45:42.814 - Restarting application: "Tcg" due to file changes 1512: 14:45:42.814 - Application: "Tcg" restart request (abort existing connections) 1512: 14:45:42.990 - Taking reference on default app domain 1512: 14:45:44.632 - Application: "Tcg" started in app domain: 7 1512: 14:45:48.202 - RequestApplicationStop: 6 1512: 14:45:48.214 - Application: "Tcg" stopped in app domain: 6 (abort existing connections) 1512: 14:45:48.214 - Application: "Tcg" restart complete. 5748: 14:45:48.215 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain 5200: 14:45:48.225 - Unloading Domain: ApplicationName = 'Tcg', DomainId='6' 5748: 14:45:48.257 - CManagedHost::OnDomainUnload() - 6 5748: 14:45:48.257 - Releasing reference on default app domain 1512: 14:45:49.228 - Restarting application: "Tcg" due to file changes 1512: 14:45:49.228 - Application: "Tcg" restart request (abort existing connections) 1512: 14:45:49.416 - Taking reference on default app domain 1512: 14:45:51.065 - Application: "Tcg" started in app domain: 8 1512: 14:45:54.792 - RequestApplicationStop: 7 1512: 14:45:54.803 - Application: "Tcg" stopped in app domain: 7 (abort existing connections) 5748: 14:45:54.803 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain 1512: 14:45:54.803 - Application: "Tcg" restart complete. 5200: 14:45:54.811 - Unloading Domain: ApplicationName = 'Tcg', DomainId='7' 5748: 14:45:54.842 - CManagedHost::OnDomainUnload() - 7 5748: 14:45:54.842 - Releasing reference on default app domain

  • in first message log clearly says that it failed to load PhotonLicense.dll
    did you exclude logs from change detection pattern?

    it would be good if you will provide your config and full logs