Problem IC2 API errors filling up my logs

Discussion in 'Server Tech Support' started by TomT, Feb 1, 2013.

  1. TomT

    TomT New Member

    Envioushost hosted server, 4GB of RAM.
    DW 5.01 Mod Pack

    Only extra mod is Fighu server commands (warps, sethome, permissions, etc)

    I just started getting these errors two days ago. This also coincided with some server performance issues.

    2013-01-30 08:37:31 [WARNING] [IC2] API ERROR: [email protected] didn't implement demandsEnergy() properly, no energy from injectEnergy accepted although demandsEnergy() returned true.
    2013-01-30 08:37:31 [WARNING] [IC2] API ERROR: [email protected] didn't implement demandsEnergy() properly, no energy from injectEnergy accepted although demandsEnergy() returned true.

    2013-01-30 10:30:47 [WARNING] [IC2] API ERROR: [email protected] didn't implement demandsEnergy() properly, no energy from injectEnergy accepted although demandsEnergy() returned true.
    2013-01-30 10:30:47 [WARNING] [IC2] API ERROR: [email protected] didn't implement demandsEnergy() properly, no energy from injectEnergy accepted although demandsEnergy() returned true.

    I have literally thousands of these errors in my server logs.

    Any idea?
     
  2. leonel

    leonel New Member

    yes it is a know bug from IC2 , it fixed on latest ic2 version, but when playing with a mod pack, we have to wait for it to update, same error spam mindcrack v8, updated ic2 and error is gone, but had to downgrade since the server is supposed to run on v8
     
  3. TomT

    TomT New Member

    thanks Leonel. I would guess that it is partially responsible for the crazy server lag we have been experiencing these last few days (since the update). I have noticed a definite degradation in server performance since the update happened. I have been thinking it was the addition of some new chunk loaders, but now I think it may be partially due to the server getting hit with these errors.

    Hopefully we get an update on Monday!
     
    leonel likes this.
  4. TomT

    TomT New Member

    Since it is only really coming from IC2 machines, is it possible replacing them with the machines from the ThermalExpansion mod would improve server performance?
     
  5. leonel

    leonel New Member

    well it would stop error but with no ic2 you cant make late on items like quantums, or panels. killing a part of the game, i would consider asking to manual update ic2 before removing it completly
     
  6. Tumm

    Tumm New Member

    When you say 'update to the latest version' which version of IC2 is that? I tried to use v1.111 and then the mindcrack pack wouldn't even load for me.

    * Scratch that. Apparently the v8 pack comes with version 1.112 of IC2, but it still has that API error. Is this more of an advanced machines bug?
     
  7. leonel

    leonel New Member

  8. Haruchai

    Haruchai New Member

    We're having the same problem. I'll keep watch on this thread to see when a fix hits. It appears most of our errors are being caused by recyclers, so I'll have everyone shut them down for now.
     
  9. leonel

    leonel New Member

    well the update works 100%, but it require all to manually add the mod on its version 115, i tested all ic2 machines and of course other players moving around loading their stuff, 0 errors. and quite nice performance boost
     
  10. Haruchai

    Haruchai New Member

    I assume that each person on the server would have to update manually and I would have to update the server file, too. So, I'm thinking we'll just wait on an official update as trying to coach everyone through a manual install can be a real pain.
     
  11. leonel

    leonel New Member

    yeah, making these extra clicks aren't worth for user just to fix a annoying bug to admins xD and to our logs files which get huge xD
     
  12. TomT

    TomT New Member

    I Just checked my Server, it was running at 100% Memory. Maxed out with thousands of recycler errors..plus other advanced machines. I'm using four over clocked recyclers to manage input from three massive quarries. They are getting pounded with cobble. My smelters and furnaces not so much. I think that explains the reason for the fact that the majority of my errors are from the Recycler farm. I might just stop processing cobble and send it into a lava pit at the quarry site.

    In any case, I restarted mys erver and I am back down to 36% memory utilization. I think I can keep it under control if I shut down the 4 recyclers.

    Edit: Worked great. Errors stopped as soon as I took the recyclers offline.

    03.02 00:22:38 [Server] INFO Sending serverside check
    03.02 00:21:51 [Server] INFO Processing Shard
    03.02 00:21:50 [Server] INFO Processing Shard
    03.02 00:21:49 [Server] INFO Processing Shard
    03.02 00:21:42 [Server] INFO Processing Shard
    03.02 00:20:55 [Server] WARNING API ERROR: [email protected] didn't implement demandsEnergy() properly, no energy from injectEnergy accepted although demandsEnergy() returned true.
     
  13. Haruchai

    Haruchai New Member

    Same problems here, although some of the other machines cause occasional errors, too. I am hoping that the IC2 folks are aware of the problem. Does anyone know if they have been informed?
     
  14. chuck

    chuck New Member

    just to add my name to the list ... getting the same errors ... but concerning a macerator, nuke reactor, batbox and something else (i forget what) ... server runs fine for a few hours then crashes with a GC out of memory error. Going to try the update above and do it manually ... as we only have 5-6 people, shouldnt be a big deal ... will post back if problem is solved.

    * problem not solved... we updated to 115 manually ... still getting the errors and memory use slowly climbs to 100% until eventually a GC Memory Full crash. One player is using a Nuke Reactor, which was being spammed in the console as well. But a chunkloader seems to have solved that particular error. But still getting errors for macerators, generators and batboxes. Two players are no longer with us, had machines, and I went through and removed them. Took all of mine down ... trying to narrow down which one it is, but no luck.
     
  15. Haruchai

    Haruchai New Member

    Any update/news? I've checked the IC2 bug report page (http://bt.industrial-craft.net/my_view_page.php) and see that these errors have been reported, but it appears the response is always: will be fixed in next release. My guys are wanting to get their machines back up and running.
     
  16. leonel

    leonel New Member

  17. Haruchai

    Haruchai New Member

    Ok, it looks like we'll try to manual update. If I may ask, I see two files on that site: a zip and a jar. Which goes to server and which to client? Thanks.
     
  18. leonel

    leonel New Member

    both server and client use the jar file
     
  19. chuck

    chuck New Member

    And if the errors are continuing ... any other suggestions?
     
  20. jandrese

    jandrese New Member

    Would it be possible to turn off logging instead as a workaround for this problem until the fixed version of IC2 is rolled into FTB? I have my own logging setup that is capturing the output from the console already, and the IC2 spam is becoming a problem for me (it's about a Gig per hour currently). I've had to fall back to rebooting the server regularly just to clear the log files, but it's a messy solution.

    For that matter, it would be really nice to be able to choose a different location for the log file (on a different partition) just in general. Is this possible?
     

Share This Page