A lot of logs are output from the emitter.
kimkimura opened this issue ยท 8 comments
I do not quite understand the cause,
buildcraft outputs a lot of logs, causing a significant delay.
BuildCraft version: 7.99.20
Forge version: 1.12.2-14.23.5.2768
log: https://pastebin.com/KyRwbMLC
Singleplayer or multiplayer: multiplayer
Screenshot: https://gyazo.com/f052a2a56b6bb57baf680d66a9da4d91
I'm not sure that those log lines are causing the lag directly as that's only 16 lines in 10 minutes, while it logs thousands of lines at startup in debug.log and fml-server-latest.log.
However something must be causing the lag, can you try running /debug start
, wait 30 seconds, then /debug stop
and upload the resulting debug\profile-results-2019-01-04-<time>.txt
file?
I executed the / debug start, / debug stop command and generated a profile-results file.
In the game, if you are in the vicinity of the place in the log you will not see the log, but when there is no one there will be a lot of logs.
Just to be sure, I will also report long-term server logs I acquired on the other day.
Ok for some reason the normal profiler doesn't have any data, can you try using the sponge profiler instead? /sponge timings on
, wait a minute, /sponge timings report
, then paste the link back here?
Thanks.
When I ran that command, a report link appeared in the server log.
https://timings.aikar.co/?id=53c40afa0d7c4ba4a423c6f96ad832d1#timings
It looks like the most expensive thing is just that there's too many tiles to tick? As none of the tiles individually seem to be more or less expensive.
However I do need to remove that warning anyway as it's not actually useful outside of a development environment.
Ok, so I had a look and I already surround it with a check to see if the command line flag "-Dbuildcraft.lib.tile.debug=log|true" exists. (or "-Dbuildcraft.debug=log|true"). Have you started the server with any buildcraft related arguments?
ummm ...
Perhaps I have no knowledge of the buildcraft related arguments,
I do not know about that.
The start command of the server depended on commentary on the web page.
https://pastebin.com/kNWRGH1D
What kind of measures should I take to solve the delay problem ...?