Hello,
The server restarted on its own ( went down @ 16:57:30 and came back @ 17:00 ). The log is included below. Seems like the last thing it did was to add new threads?
03 Dec 2020 | 16:57:26,502 | INFO | SocketReader | util.executor.SmartThreadPoolExecutor | | Added 16 new threads, current size is: 4
03 Dec 2020 | 16:57:30,974 | INFO | SFSWorker:Ext:1 | Extensions | | {Man}: [HeRaTjaAaN' Game] handleClientRequest: raed88 data: {"r3":true}
<-----RESTARTED------>
03 Dec 2020 | 17:00:04,643 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Boot sequence starts...
03 Dec 2020 | 17:00:06,899 | INFO | main | v2.core.SFSEventManager | | SFSEventManager initialized
03 Dec 2020 | 17:00:06,912 | INFO | main | vfs.impl.DefaultFileReplicator | | Using "/tmp/vfs_cache" as temporary files store.
03 Dec 2020 | 17:00:07,031 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Validating license... (this process may take a few seconds)
03 Dec 2020 | 17:00:07,310 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Connection with the License Server established
03 Dec 2020 | 17:00:07,324 | INFO | main | smartfoxserver.v2.SmartFoxServer | | License loaded:
03 Dec 2020 | 17:00:07,325 | INFO | main | entities.managers.SFSBannedUserStorage | | BanUserStorage initialized
03 Dec 2020 | 17:00:07,344 | INFO | main | entities.managers.SFSBannedUserManager | | BanUser data loaded: 0 records.
03 Dec 2020 | 17:00:07,350 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Protocol Type is: BINARY
03 Dec 2020 | 17:00:07,354 | INFO | main | v2.config.DefaultConfigLoader | | Loading: zones/Manfee.zone.xml
03 Dec 2020 | 17:00:07,386 | INFO | main | entities.managers.SFSZoneManager | |
03 Dec 2020 | 17:00:07,504 | INFO | main | entities.managers.SFSRoomManager | | Room created: { Zone: Manfee }, [ Room: The Lobby, Id: 0, Group: default, isGame: false ], type = SFSRoom
03 Dec 2020 | 17:00:07,516 | INFO | main | entities.managers.SFSRoomManager | | Room created: { Zone: --=={{{ AdminZone }}}==-- }, [ Room: AdminRoom, Id: 1, Group: default, isGame: false ], type = SFSRoom
03 Dec 2020 | 17:00:07,587 | INFO | main | v2.core.AdminToolService | | AdminTool Service started
03 Dec 2020 | 17:00:07,692 | INFO | SFSWorker:Sys:1 | smartfoxserver.v2.SmartFoxServer | | Listening Sockets: { 0.0.0.0:9933, (Tcp) } { 127.0.0.1:9933, (Udp) }
03 Dec 2020 | 17:00:07,697 | INFO | SFSWorker:Sys:1 | smartfoxserver.v2.SmartFoxServer | |
03 Dec 2020 | 17:00:07,697 | INFO | SFSWorker:Sys:1 | smartfoxserver.v2.SmartFoxServer | | SmartFoxServer 2X (2.16.3) READY!
Unexplained production restarted
Re: Unexplained production restarted
Hi,
a server restart can only be issued from either the AdminTool or the operating system.
If you didn't restart it via AdminTool I would check the OS system logs at the time of the restart.
Cheers
p.s. = you might also restart the server via Extension, although I can't imagine why.
a server restart can only be issued from either the AdminTool or the operating system.
If you didn't restart it via AdminTool I would check the OS system logs at the time of the restart.
Cheers
p.s. = you might also restart the server via Extension, although I can't imagine why.
Re: Unexplained production restarted
Hi,
Once again, I deployed a new extension and boom server restarted, this is super annoying, sometimes it works perfectly, other times it restarts the server.
10 Dec 2020 | 16:07:58,895 | INFO | SFSWorker:Ext:1 | Extensions | | {Man}: [Ahmadie' Game] Saving..Status: pcA Turn:2 R:false false false false SP:1/0 GP:-
10 Dec 2020 | 16:07:58,921 | INFO | SFSWorker:Ext:2 | Extensions | | {Man}: [FBI' Game] handleClientRequest: Janankakar data: {"st":"bad","r4":true,"p4B":5}
10 Dec 2020 | 16:07:58,921 | INFO | SFSWorker:Ext:2 | Extensions | | {Man}: [FBI' Game] BID Made: 0-0-0-5
10 Dec 2020 | 16:07:58,921 | INFO | SFSWorker:Ext:2 | Extensions | | {Man}: [FBI' Game] Saving..Status: bid Turn:1 R:false false false true SP:0/0 GP:38/27
10 Dec 2020 | 16:07:58,938 | INFO | SFSWorker:Ext:1 | Extensions | | {Man}: [EnayatKDH' Game] handleClientRequest: Elias data: {"r4":true,"top":false}
10 Dec 2020 | 16:07:58,969 | INFO | pool-1-thread-3 | Extensions | | {Man}: [Hamedsaleh' Game] **TaskRunner: Info P:173-53-737-163
10 Dec 2020 | 16:07:58,969 | INFO | pool-1-thread-3 | Extensions | | {Man}: [Hamedsaleh' Game] **TaskRunner: Info A:0-1-2-3
10 Dec 2020 | 16:07:58,974 | INFO | SFSWorker:Ext:2 | Extensions | | {Man}: [EnayatKDH' Game] handleClientRequest: Qandahar5 data: {"r2":true,"top":false}
10 Dec 2020 | 16:07:58,974 | INFO | SFSWorker:Ext:4 | Extensions | | {Man}: [Hajibasir' Game] handleClientRequest: Master52 data: {"r2":true,"top":false}
10 Dec 2020 | 16:08:01,059 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Boot sequence starts...
10 Dec 2020 | 16:08:03,999 | INFO | main | v2.core.SFSEventManager | | SFSEventManager initialized
10 Dec 2020 | 16:08:04,014 | INFO | main | vfs.impl.DefaultFileReplicator | | Using "/tmp/vfs_cache" as temporary files store.
10 Dec 2020 | 16:08:04,157 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Validating license... (this process may take a few seconds)
10 Dec 2020 | 16:08:04,412 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Connection with the License Server established
10 Dec 2020 | 16:08:04,428 | INFO | main | smartfoxserver.v2.SmartFoxServer | | License loaded:
==========================================
LICENSE DETAILS
------------------------------------------
Type : Retail
.....
Once again, I deployed a new extension and boom server restarted, this is super annoying, sometimes it works perfectly, other times it restarts the server.
10 Dec 2020 | 16:07:58,895 | INFO | SFSWorker:Ext:1 | Extensions | | {Man}: [Ahmadie' Game] Saving..Status: pcA Turn:2 R:false false false false SP:1/0 GP:-
10 Dec 2020 | 16:07:58,921 | INFO | SFSWorker:Ext:2 | Extensions | | {Man}: [FBI' Game] handleClientRequest: Janankakar data: {"st":"bad","r4":true,"p4B":5}
10 Dec 2020 | 16:07:58,921 | INFO | SFSWorker:Ext:2 | Extensions | | {Man}: [FBI' Game] BID Made: 0-0-0-5
10 Dec 2020 | 16:07:58,921 | INFO | SFSWorker:Ext:2 | Extensions | | {Man}: [FBI' Game] Saving..Status: bid Turn:1 R:false false false true SP:0/0 GP:38/27
10 Dec 2020 | 16:07:58,938 | INFO | SFSWorker:Ext:1 | Extensions | | {Man}: [EnayatKDH' Game] handleClientRequest: Elias data: {"r4":true,"top":false}
10 Dec 2020 | 16:07:58,969 | INFO | pool-1-thread-3 | Extensions | | {Man}: [Hamedsaleh' Game] **TaskRunner: Info P:173-53-737-163
10 Dec 2020 | 16:07:58,969 | INFO | pool-1-thread-3 | Extensions | | {Man}: [Hamedsaleh' Game] **TaskRunner: Info A:0-1-2-3
10 Dec 2020 | 16:07:58,974 | INFO | SFSWorker:Ext:2 | Extensions | | {Man}: [EnayatKDH' Game] handleClientRequest: Qandahar5 data: {"r2":true,"top":false}
10 Dec 2020 | 16:07:58,974 | INFO | SFSWorker:Ext:4 | Extensions | | {Man}: [Hajibasir' Game] handleClientRequest: Master52 data: {"r2":true,"top":false}
10 Dec 2020 | 16:08:01,059 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Boot sequence starts...
10 Dec 2020 | 16:08:03,999 | INFO | main | v2.core.SFSEventManager | | SFSEventManager initialized
10 Dec 2020 | 16:08:04,014 | INFO | main | vfs.impl.DefaultFileReplicator | | Using "/tmp/vfs_cache" as temporary files store.
10 Dec 2020 | 16:08:04,157 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Validating license... (this process may take a few seconds)
10 Dec 2020 | 16:08:04,412 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Connection with the License Server established
10 Dec 2020 | 16:08:04,428 | INFO | main | smartfoxserver.v2.SmartFoxServer | | License loaded:
==========================================
LICENSE DETAILS
------------------------------------------
Type : Retail
.....
Re: Unexplained production restarted
Hi,
in the logs you have posted there is no evidence that an Extension has been reloaded.
Normally you would see something like this:
Which tells you that an Extension reload has been triggered.
Can you reproduce the problem is you trigger the reload on the same Extension file? (i.e. by copying the jar again into the target folder)
If so can you send us the jar file you're deploying so that we can take a look?
Thanks
in the logs you have posted there is no evidence that an Extension has been reloaded.
Normally you would see something like this:
09:14:10,697 INFO [Thread-3] managers.SFSExtensionManager - Reloading extension: { Ext: javaTest, Type: JAVA, Lev: ZONE, { Zone: BasicExamples }, {} }
Which tells you that an Extension reload has been triggered.
Can you reproduce the problem is you trigger the reload on the same Extension file? (i.e. by copying the jar again into the target folder)
If so can you send us the jar file you're deploying so that we can take a look?
Thanks
Who is online
Users browsing this forum: No registered users and 45 guests