minecraft_bigreactor_control icon indicating copy to clipboard operation
minecraft_bigreactor_control copied to clipboard

too long without yielding

Open xal3xhx opened this issue 9 years ago • 9 comments
trafficstars

i have 10 reactors all of them are mostly always online 11 monitors 10 for each reactor and one for a summary. the computer crashes every once and a while saying. reactorcontrol:1670: Too long without yielding. not sure whats going on. i also cant get a debug monitor to work that could just be me not setting it up right tho.

xal3xhx avatar Feb 17 '16 09:02 xal3xhx

just a quick update, i left the server running overnight and woke up to the computer off and saying, io:110: Too long without yielding

xal3xhx avatar Feb 17 '16 18:02 xal3xhx

one more update, after trying to restart the computer, i get it saying reactorcontrol:1118: attempt to index ? (a nil value)

xal3xhx avatar Feb 17 '16 19:02 xal3xhx

You are missing some information:

  • Big reactor version
  • Other mods installed
  • Pics of setup
  • Log file?

bookerthegeek avatar Feb 17 '16 20:02 bookerthegeek

BigReactors-0.4.3A

im playing with the skyfactory pack.

javaw 2016-02-18 13-23-31-336 javaw 2016-02-18 13-23-22-163 javaw 2016-02-18 13-23-25-576 nothing was in log file

xal3xhx avatar Feb 18 '16 18:02 xal3xhx

Having the same problem with it in FTB Infinity 2.4.2 Read some stuff about sleeps being the problem, and that you shouldn't use sleeps. https://www.reddit.com/r/feedthebeast/comments/1awgq6/computer_craft_too_long_without_yielding/

Perhaps a shoving away of sleeps in the source code is the key.

We only have a single reactor and turbine setup, so it shouldn't be too much to handle. I may look into this.

dkowis avatar Jun 20 '16 00:06 dkowis

http://www.computercraft.info/forums2/index.php?/topic/20341-too-long-without-yielding-error/page__view__findpost__p__193563

Found another reference....

But there's no usage of sleep in the application, so what could be taking too long to respond?

dkowis avatar Jun 20 '16 00:06 dkowis

Looking at the computercraft docs: http://computercraft.info/wiki/Os.startTimer

The wait loop is weird: https://github.com/sandalle/minecraft_bigreactor_control/blob/master/lolmer_bigreactor_monitor_prog.lua#L1378

Maybe this is the problem?

dkowis avatar Jun 20 '16 21:06 dkowis

That wait code was a work-around for something at one point. I've only run a few (about four) reactors at once with a few monitors (about 5 :)) for some time and haven't noticed this, but it may depend on how busy the server is (go single-threaded Minecraft, even with Cauldron it's per dimension/world).

@xal3xhx , are those EnderIO Capacitor Banks for your pathway? :)

sandalle avatar Jul 07 '16 00:07 sandalle

For our context, we only have 3 monitors, a single turbine and a single reactor. The server has like 2 users, 4 3.0ghz cpus, and 8gb of ram. That should be enough to run a two person setup :)

dkowis avatar Jul 07 '16 14:07 dkowis