Jump to content

Connection dropping from local server...


Recommended Posts

Hi All,

 

Wondering if anyone else has been experiencing this type of issue or if there's any insight on where I can begin troubleshooting this. I play with a group of 4 friends and I've been running a dedicated server for the last week or so without any issues, connecting my own client to the server through the LAN settings while everyone else can connect normally (Same PC for both client and server, but conf_dir set to separate directories). Starting last night, I've been experiencing extreme latency (though ping does not seem to increase at all) such that basic actions take many seconds to register and a good amount of rubberbanding occurs when trying to interact with other NPCs that are moving. I also frequently started getting the little broken connection icon in the top left. At the same time, none of the remote clients are experiencing any issues at all and seem to be playing just the same as we have been.

 

I'm wondering if there's some things that are causing issues because of the intranet connection? If you have any insight at all it'd be greatly appreciated :) I can provide logs from both client and server, but it doesn't seem to register anything unusual (no lua errors, or warning spam, etc).

 

Thank you for your time!

  • Developer

Hi @dreamex2

 

You could try opening your task manager and see if there's a lot of diskswapping going on - perhaps client and server are competing for the same resources. Although that wouldn't explain why the remote clients have no isses.

 

Do you also have the save location set to different locations for client and server? (with the -persistent_storage_root option).

 

Could you grab a profile from the server and the client when it happens so I can see if there's something unexpected going on on that front?

 

(for the server see here: http://forums.kleientertainment.com/topic/50823-profiling-your-server/)

(for the client: type 'TheSim:Profile()' in the console and after 3 seconds it should show up in its save location)

 

Also system specs and number of players would be helpful when looking at the profile data.

Hi @dreamex2

 

You could try opening your task manager and see if there's a lot of diskswapping going on - perhaps client and server are competing for the same resources. Although that wouldn't explain why the remote clients have no isses.

 

Do you also have the save location set to different locations for client and server? (with the -persistent_storage_root option).

 

Could you grab a profile from the server and the client when it happens so I can see if there's something unexpected going on on that front?

 

(for the server see here: http://forums.kleientertainment.com/topic/50823-profiling-your-server/)

(for the client: type 'TheSim:Profile()' in the console and after 3 seconds it should show up in its save location)

 

Also system specs and number of players would be helpful when looking at the profile data.

 

Hi There, 

 

Thanks a lot for the post! I don't believe I've set a parameter for the save locations, we did start seeing a bit more lag tonight with one of our 4 remote clients, though the others still seem to be mostly fine, and none of them as bad as mine, where I still consistently get the little broken connection icon.

 

I have the profiles attached, but I'm not too familiar with JSON to interpret these unfortunately :( We typically play with between 3-5 people including myself, these profiles are from just myself connected though, as everyone else is asleep now :-x

 

Specs for the machine:

------------------System Information------------------Time of this report: 2/15/2015, 05:42:49   Operating System: Windows 7 Professional 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.150113-1808)           Language: English (Regional Setting: English)System Manufacturer: MSI       System Model: MS-7693               BIOS: BIOS Date: 10/18/12 10:16:30 Ver: 04.06.04          Processor: AMD FX(tm)-6300 Six-Core Processor              (6 CPUs), ~3.5GHz             Memory: 16384MB RAMAvailable OS Memory: 16354MB RAM          Page File: 5934MB used, 26772MB available        Windows Dir: C:\Windows    DirectX Version: DirectX 11DX Setup Parameters: Not found   User DPI Setting: Using System DPI System DPI Setting: 96 DPI (100 percent)    DWM DPI Scaling: Disabled     DxDiag Version: 6.01.7601.17514 32bit Unicode
---------------Display Devices---------------          Card name: AMD Radeon HD 7800 Series       Manufacturer: Advanced Micro Devices, Inc.          Chip type: AMD Radeon Graphics Processor (0x6818)           DAC type: Internal DAC(400MHz)         Device Key: Enum\PCI\VEN_1002&DEV_6818&SUBSYS_32501682&REV_00     Display Memory: 4095 MB   Dedicated Memory: 2022 MB      Shared Memory: 2073 MB       Current Mode: 1920 x 1080 (32 bit) (60Hz)

profile_server.zip

profile_client.zip

@dreamex2, Seeing as it's just you, connecting locally, getting all the lag, I'm guessing it's related to something going wrong with the connection, resulting in it being proxied. You could try using c_connect("127.0.0.1", port, "password") to force it to connect to the same machine.

  • Developer

Hi @dreamex2,

 

Thanks for the profiles, I'll have a look at them tomorrow.

 

As @rezecib said, it could very well be networking related, in that case the profiles won't show any odd behaviour - I just wanted to have that side covered as well.

 

 

Hi Guys,

 

Thanks for all the help so far, trying the c_connect hasn't helped the issue, still experiencing the same behaviour. Would changing the persistent_storage_root affect our current server in play? Just so I know if we're going to lose our progress or not :)

 

Thanks again!

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...