Jump to content
The simFlight Network Forums

sim stops responding after 7 hours


Recommended Posts

  • Replies 54
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

It could be that this issue is created by an old bug relating to the total  number of connections used by simconnect clients - this is an old issue known in FSX and has been confirmed over at FSDevelo

Sorry, I'm getting confused again! LogCustom is FSUIPC7, for FSUIPC6, please use:     Debug=Please     LogExtras=x4 Later: unfortunately saved files or errors saving files aren't currently lo

No all you do is choose what you want to install and don’t run when the sim is running that stopped my issue all together 

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.

  • Thanks 1
Link to post
Share on other sites

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

Link to post
Share on other sites
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

 

 

  • Thanks 1
Link to post
Share on other sites
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

  • Thanks 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.