The International Simutrans Forum

 

Author Topic: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)  (Read 78821 times)

0 Members and 1 Guest are viewing this topic.

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #385 on: March 30, 2019, 01:27:42 PM »
No worries James. Is the server run on a local machine? If so I have just bought some new RAM for my PC so I potentially have 2 x 4Gb DDR4 sticks I could send you if that helps with running the server?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #386 on: March 30, 2019, 02:56:10 PM »
No worries James. Is the server run on a local machine? If so I have just bought some new RAM for my PC so I potentially have 2 x 4Gb DDR4 sticks I could send you if that helps with running the server?

Thank you for the offer, but this is run on a VPS, so I am afraid some physical RAM will not assist. It is kind of you to offer, however.

Offline Spenk009

  • *
  • Posts: 254
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #387 on: March 30, 2019, 04:40:51 PM »
Is there anything the community can do for you? Maybe a more premium plan aided by the people who follow and root for you?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #388 on: March 30, 2019, 05:00:50 PM »
It is more a matter of time in getting it sorted out - do I understand that it now fails consistently at every login attempt?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #389 on: March 30, 2019, 05:04:39 PM »
The server tells me that it crashed most recently with a segfault, and that memory usage is currently at 92.5% for the Simutrans-Extended process alone.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #390 on: March 30, 2019, 11:00:30 PM »
I am able to get into the server having just tried now. The issue appears to be intermittent. The difficulty is that I am not entirely sure that it is lack of memory; there are, as noted above, some segmentation faults reported, but I have never been able to reproduce these in a debugging environment.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #391 on: March 31, 2019, 10:54:00 AM »
I have just ordered an upgrade from the hosting provider which will increase the available RAM from 6GB to 8GB. Whilst it is not entirely clear whether all the crashes are memory related, the server is clearly struggling with low RAM, and there are plans to make changes that might increase RAM consumption, so this is likely to be worthwhile even if the crashes are caused by something else. If they are caused by something else, this upgrade should confirm that.

There might be a short period of downtime while the server updates to the new settings.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #392 on: April 01, 2019, 12:27:29 AM »
The server is up and running again now. It seems more responsive from the command line at least.

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #393 on: April 04, 2019, 06:43:55 PM »
Since it's now 1948 are we all nationalised and James will take charge of all our companies?  ;)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #394 on: April 04, 2019, 09:36:09 PM »
Happily, we simulate an alternative reality where this did not occur!

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #395 on: April 06, 2019, 08:46:13 AM »
I'm not sure if it's a bug or a feature but every company seems to have taken a massive hit in passengers over the last two in game months.



As you can see here passenger numbers have dropped to less than 20% of their amount two months ago (it is nearly the end of the current month).



Here is another company to show its not just me experiencing this.

I know that a rise in car traffic is intended to be simulated around this time, but this seems a bit over the top.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #396 on: April 06, 2019, 11:05:19 AM »
Thank you for your report. I have identified t hat this is caused by a bug which prevents any passengers from being generated at all. I have now fixed the bug, and am about to restart the server to update it to the fixed version. My apologies.

Offline Ves

  • Devotee
  • *
  • Posts: 1677
  • Languages: EN, SV, DK
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #397 on: April 06, 2019, 05:11:17 PM »
Oh, that was good news for basicly all transport companies on the server!  :D

Offline Ves

  • Devotee
  • *
  • Posts: 1677
  • Languages: EN, SV, DK
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #398 on: April 07, 2019, 12:27:28 PM »
It appears as if the server is down. It doesnt show up in the (just restarted) server listing dialog, and can also not connect via the load game dialog.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #399 on: April 07, 2019, 02:25:45 PM »
There was a problem with the path explorer data saving: I have fixed the problem (I think - it is hard to test this comprehensively), updated the server to the fixed version and rolled back to a backup save that was not corrupt. The server should be back very shortly.

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 572
  • Languages: EN, FR, DE, FI, SE
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #400 on: April 07, 2019, 04:44:06 PM »
Looks like the server crashed again.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #401 on: April 07, 2019, 04:55:35 PM »
I have been working for the last few hours on trying to fix this - the work remains in progress.

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 572
  • Languages: EN, FR, DE, FI, SE
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #402 on: April 07, 2019, 05:03:26 PM »
Okay, thank you for the update!

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #403 on: April 07, 2019, 06:21:13 PM »
I believe that I have fixed this now. As before, the bug would have caused saved game corruption, so I have had to restore the saved game from a recent backup. The server is in the process of rebuilding/restarting now.

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #404 on: April 10, 2019, 06:09:03 PM »
The server seems to be a lot quicker to unpause when joining. However I am finding a that it doesn't unpause for me when another player is trying to join, I am guessing that this is causing me to lose sync but the server doesn't boot me out. In this case I would leave the server and rejoin, but presumably someone else is having the same issue as after I rejoin after a couple of minutes someone attempts to join again causing the game to save and then not unpause. 

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 572
  • Languages: EN, FR, DE, FI, SE
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #405 on: April 10, 2019, 06:13:01 PM »
The long time when someone else is connecting is due to the sheer size of the save (~500 MB). Therefore I would like to ask the other players: what download speeds do you typically get?

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #406 on: April 10, 2019, 06:19:51 PM »
I usually get about 170Mbs from my ISP, and when I join the server it probably takes about 2 mins at most, the longest part being calculating paths. 

Offline Ves

  • Devotee
  • *
  • Posts: 1677
  • Languages: EN, SV, DK
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #407 on: April 10, 2019, 06:23:37 PM »
Sorry SuperTimo, that would be me! I am currently attempting to join the server since a bunch of minutes now.
If I understand the information right, I should have 100Mbps.
However, looking at the task manager, it is very very very lazy with its workload. Mostly it runs with 0, but every 10-15 seconds it generates a spike at 40kbps.
Is there anything I can do to speed it up?

For instance, interacting with this forum, it instantly creates a spike at >100kbps (the scale only goes up to that).

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 572
  • Languages: EN, FR, DE, FI, SE
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #408 on: April 10, 2019, 06:26:59 PM »
I seem to be experiencing the same as Ves as I have now observed occasional spikes of to 30 Mb/s while remaining in the 10-15 Mb/s range most of the time.

Offline Ves

  • Devotee
  • *
  • Posts: 1677
  • Languages: EN, SV, DK
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #409 on: April 10, 2019, 06:28:52 PM »
Joining the swedish servergame which is on another server immediatedly sends the graphs to >100kbps until the loading cycle is done and the game is established, so it is something with bridgewater-brunel server specifically.

I stopped the joining proces also now since it takes ages..

edit:
This time joining, it was much better, going from 6-8mbps and topping at around 22mbps.
« Last Edit: April 10, 2019, 07:26:05 PM by Ves »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #410 on: April 10, 2019, 09:31:39 PM »
Can I ask all of those who are having trouble with connecting to check whether their ISPs have any sort of traffic shaping policy or similar? I have not ever had this problem when connecting (I use Zen in the UK, which is a well reputed ISP), and the server is not self-hosted, but remotely hosted in the UK.

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #411 on: April 14, 2019, 09:06:13 AM »
I'm having some trouble connecting to the server this morning. I am able to load in but then lose synchronisation immediately. I tried downloading the full package of the nightly build but that has not helped.

In addition this I ran the server save offline for a while which caused a crash to desktop after a couple of minutes, not sure what the cause of that was though.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #412 on: April 14, 2019, 09:27:25 AM »
Thank you for the report. Can I ask whether you were able to remain connected successfully yesterday?

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #413 on: April 14, 2019, 09:35:11 AM »
Yesterday I was connected for long periods although I did suffer de-sync occasionally. 

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #414 on: April 14, 2019, 09:40:24 AM »
Yesterday I was connected for long periods although I did suffer de-sync occasionally. 

When did you first notice the occasional loss of synchronisation?

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #415 on: April 14, 2019, 10:14:16 AM »
I am not really sure, I don't recall it happening with any kind of consistent periodicity. I would be working on something and then suffer de-sync but be able to rejoin the server quickly, probably happened around three times. I was on the server until around 16:00 yesterday so not sure how it was after that.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #416 on: April 14, 2019, 10:16:47 AM »
I am not really sure, I don't recall it happening with any kind of consistent periodicity. I would be working on something and then suffer de-sync but be able to rejoin the server quickly, probably happened around three times. I was on the server until around 16:00 yesterday so not sure how it was after that.

I mean - on which day did it first start to occur?

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #417 on: April 14, 2019, 10:21:03 AM »
I think I de-synced once on Friday, but I only noticed it occurring multiple times yesterday.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #418 on: April 14, 2019, 10:53:38 AM »
I think I de-synced once on Friday, but I only noticed it occurring multiple times yesterday.

Thank you for the information.

These issues can take an extremely long time to solve. I have been able to reproduce the issue. I have pushed a fix for the crash, which may or may not be related: you will need to download a new version of the build from the server to connect.

Offline SuperTimo gb

  • *
  • Posts: 62
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #419 on: April 14, 2019, 11:51:43 AM »
Thanks for the quick turnaround. The crash seems to be fixed but I am still unable to connect to the server without losing sync immediately.