Aviator1979 Posted February 25, 2021 Report Posted February 25, 2021 Here u go sir John, do i increase the max clients in the fsuipc.ini? FSUIPC6.ini
John Dowson Posted February 25, 2021 Report Posted February 25, 2021 1 minute ago, Aviator1979 said: do i increase the max clients in the fsuipc.ini? No, its a simconnect.xml that you need to change, the MaxClients parameter - see https://www.prepar3d.com/SDKv4/sdk/simconnect_api/configuration_files/configuration_files_overview.html. You could also try temporarily changing this line in your ini: TrafficStallTime=1 NormalStallTime=1 to TrafficStallTime=-1 NormalStallTime=-1 This will instruct FSUIPC to just log a message when data is stalled rather than closing the connection and re-connecting (this saving a connection). However, if the connections really are closed, then you will stop receiving data. With this change, you can checj your logs after a session and see if the data was stalled at all during the session. If so, you can determine how long the maximum stall was (with a setting of -1, it will log a message every second that it does not see data), and then set the parameter back to a positive number. i.e. if you find that you were getting a maximum of 3 messages logged, then set the NormalStallTime to 3 (meaning it will then attempt to re-connect after 3 seconds of not seeing data). But if your maxClients is high enough, you shouldn;t need to do that, so try adjusting MaxClients first. 1
Aviator1979 Posted February 28, 2021 Report Posted February 28, 2021 Again after 6 hours in flight lost simconnect, i wil paste the last lines of the log because i didnt find the word "error" ps i have both p3dv4 and p3dv5 side by side installed. Fsuipc 5 for p3dv4, Fsuipc 6 for p3dv5 if this matters? the last lines shows this, < 23806.97224 [130] Event: 23 < 23806.97229 [131] Event: 6 < 23806.97231 [133] Event: 1 < 23806.97232 [134] Event: 1 < 23806.97234 [135] Event: 1 < 23806.97235 [517] Event: 2 < 23806.97237 [140] Event: 1 < 23806.97238 [141] Event: 1 < 23806.97239 [142] Event: 1 < 23806.97241 [143] Event: 1 < 23806.97242 [144] Event: 1 < 23806.97243 [521] Event: 2 < 23806.97245 [523] Event: 4 < 23806.97247 [192] Event: 2 < 23806.97248 [514] Event: 6 < 23806.97250 [139] Event: -4 < 23806.97252 [132] Event: 9 < 23806.97253 [516] Event: 2 < 23806.97254 [524] Event: 2 < 23806.97256 [539] Event: 3 < 23806.97257 [146] Event: 2 < 23806.97259 [194] Event: 2 < 23806.97261 [129] Event: 1 < 23806.97263 [130] Event: 21 < 23806.97265 [525] Event: 0 < 23806.97267 [514] Event: 7 < 23806.97269 [136] Event: -2 < 23806.97271 [138] Event: -7 < 23806.97272 [139] Event: -2 < 23806.97274 [524] Event: 0 < 23806.97276 [193] Event: 333 < 23806.97278 [513] Event: 85 < 23813.95635 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15302 < 23813.95640 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15302 < 23813.95643 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15302 < 23813.95656 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15303 < 23813.95659 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15303 < 23813.95661 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15303 < 23813.95706 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15300 < 23813.95709 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15300 < 23813.95711 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15300 < 23813.95716 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15301 < 23813.95718 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15301 < 23813.95720 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15301 < 23813.95727 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15304 < 23813.95729 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15304 < 23813.95757 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15304 < 23813.95771 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15305 < 23813.95773 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15305 < 23813.95775 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15305 < 23813.95781 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15306 < 23813.95783 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15306 < 23813.95785 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15306 < 23813.95818 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15307 < 23813.95820 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15307 < 23813.95822 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15307 < 23813.95861 [523] ObjectAddRemove: EventID=25 Type=15 ObjectID=15308 < 23813.95863 [515] ObjectAddRemove: EventID=14 Type=15 ObjectID=15308 < 23813.95865 [513] ObjectAddRemove: EventID=97 Type=15 ObjectID=15308 in the Fsuipc log was nothing to find either
Pete Dowson Posted February 28, 2021 Report Posted February 28, 2021 6 hours ago, Aviator1979 said: the last lines shows this, It would be interesting and probably helpful to know which SimConnect client each of those came from. This is identified by the numbers like [515] in each line. To determine those, please find each case of "Open:", for example: > 55.19912 [253, 1]Open: Version=0x00000002 Name="SquawkBox_Transponder" identifies [253] as "SquawkBox_Transponder". At the time SimConnect failed it looks like 3 separate add-ons were manipulating objects in the Sim, and all three were acting on the same object (ObjectID), presumably fighting each other. What ID numbers were allocated to FSUIPC? The would probably be two, one for the main interaction, the other for AI traffic data (unless this has been turned off). Pete 1
John Dowson Posted February 28, 2021 Report Posted February 28, 2021 9 hours ago, Aviator1979 said: ps i have both p3dv4 and p3dv5 side by side installed. Fsuipc 5 for p3dv4, Fsuipc 6 for p3dv5 if this matters? No, that doesn't matter. Did you change the stall parameters as suggested. Did you not see any stalled warning messages (or re-connects)? Maybe activate Extras logging as well. As well as finding out what clients those ids refer to (as suggested by Pete), you should also look for and count any connection closed and open messages, which will be when clients are re-connecting. That would be interesting to know. The start of the log file should show you the format of the open messages - just extract all of those from your log, together with any close messages. John 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now