[2.0.15] Lag spikes, just started and are now crashing the game
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
[2.0.15] Lag spikes, just started and are now crashing the game
I started noticing lag spikes in the last couple of hours or so, and 1 such spike caused the game to crash.
I did disable mods (factory planner + max rate calculator + PUMPS), as a troubleshooting measure, and the lag spikes persist.
I captured a performance log and have attached my latest save, as I don't know where to go from here.
Attached 2 new items. What happened in game update? And the single thread spikes correspond with the lag.
I did disable mods (factory planner + max rate calculator + PUMPS), as a troubleshooting measure, and the lag spikes persist.
I captured a performance log and have attached my latest save, as I don't know where to go from here.
Attached 2 new items. What happened in game update? And the single thread spikes correspond with the lag.
- Attachments
-
- Screenshot 2024-11-18 172700.png (79.14 KiB) Viewed 657 times
-
- Screenshot 2024-11-18 172643.png (664.95 KiB) Viewed 657 times
-
- factorio-perf-20015_20241118-121017_D3D11_RyzenThreadripper_3960X_24-~64GB~RTX_2080_SUPER~7987MB.csv
- (227.8 KiB) Downloaded 9 times
-
- spaceage_ayyyy_g.zip
- (44.21 MiB) Downloaded 12 times
-
- factorio-dump-previous.dmp
- (1.41 MiB) Downloaded 7 times
-
- factorio-previous.log
- (8.42 KiB) Downloaded 12 times
-
- factorio-current.log
- (7.47 KiB) Downloaded 10 times
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
It's the offshore pumps controlling my nuclear power on Nauvis.
Absolutely wild how it brought the entire game to a halt, and actually caused a crash.
Nvm, lag spikes are persisting.
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
Updated to 2.0.20 again as a troubleshooting measure. Still cannot explain these lag spikes.
Re: [2.0.15] Lag spikes, just started and are now crashing the game
Can you take a screenshot of the update times when the lag spike happens?
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
Sure. I already have one in the OP. I'll take a new one shortly.
EDIT: Here they are. The one with frame cycle 18 was taken just as it was happening, but the numbers hadn't rendered yet. Used Steam to capture it.
EDIT: Here they are. The one with frame cycle 18 was taken just as it was happening, but the numbers hadn't rendered yet. Used Steam to capture it.
- Attachments
-
- 20241119093916_1.jpg (386.59 KiB) Viewed 590 times
-
- 20241119093915_1.jpg (385.64 KiB) Viewed 590 times
Re: [2.0.15] Lag spikes, just started and are now crashing the game
From the screenshots it shows that the time is being spent on belts. Was your factory mostly idle and then it started moving a bunch of items on belts when the lag started?
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
Could it be this? This is the first time I'm playing with biters, so it's also the first time I have a defensive perimeter on both Nauvis and now Gleba.
- Attachments
-
- 20241119101815_1.jpg (435.46 KiB) Viewed 580 times
-
- 20241119101806_1.jpg (811.16 KiB) Viewed 580 times
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
Oh, I might need to refactor some parts of this base...
- Attachments
-
- 20241119105403_1.jpg (468.66 KiB) Viewed 578 times
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
Ok, I refactored significant portions of my base on Nauvis, cutting out effectively ~20k belts. The lag spikes persist.
Latest save attached, using 2.0.20.
Latest save attached, using 2.0.20.
- Attachments
-
- spaceage_ayyyy_g1.zip
- (43.35 MiB) Downloaded 10 times
-
- 20241121100908_1.jpg (446.3 KiB) Viewed 510 times
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
Ok, I'm sorry for the multi posts, but I think I solved the mystery.
I decided to clean out my perimeter defense belt from explosives to regular rockets. I, then, noticed that the random lag spikes went away almost immediately. Huh. Then, I decided to add a maximum limit of ammo on the belt, and pick up the excess red magazines. Another lag spike, but that was the last one. Ok, peculiar.
Then, I noticed that I was reading double the amount on the belt by having a read all belts on either side of the right most splitter. Verified by scanning the entire belt for any other splitters or breaks, then by removing the wires from that belt and adding only 1 back.
Either way, yeah. Found the culprit and it was of my own doing.
I decided to clean out my perimeter defense belt from explosives to regular rockets. I, then, noticed that the random lag spikes went away almost immediately. Huh. Then, I decided to add a maximum limit of ammo on the belt, and pick up the excess red magazines. Another lag spike, but that was the last one. Ok, peculiar.
Then, I noticed that I was reading double the amount on the belt by having a read all belts on either side of the right most splitter. Verified by scanning the entire belt for any other splitters or breaks, then by removing the wires from that belt and adding only 1 back.
Either way, yeah. Found the culprit and it was of my own doing.
- Attachments
-
- 20241121114035_1.jpg (704.43 KiB) Viewed 495 times
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
I'm back.
Unfortunately, with the same issue. Is there a way to determine where (which planet) this lag is happening, aside from just blindly guessing?
Because this is the first time I have encountered this and it's honestly quite off-putting.
Unfortunately, with the same issue. Is there a way to determine where (which planet) this lag is happening, aside from just blindly guessing?
Because this is the first time I have encountered this and it's honestly quite off-putting.
-
- Inserter
- Posts: 23
- Joined: Tue Jan 29, 2019 7:15 pm
- Contact:
Re: [2.0.15] Lag spikes, just started and are now crashing the game
Could be related? viewtopic.php?f=7&t=122454
Tested, definitely related.
Removed all my read all belts and the 250+ transport line updates dropped to 10, immediately.
Tested, definitely related.
Removed all my read all belts and the 250+ transport line updates dropped to 10, immediately.