IC2 Recycler problem?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
Is anyone else getting a "problem" with recyclers, where they are spamming your log files with the following style of entry?

2013-02-04 20:30:23 [WARNING] [IC2] API ERROR: ic2.core.block.machine.tileentity.TileEntityRecycler@a9658 didn't implement demandsEnergy() properly, no energy from injectEnergy accepted although demandsEnergy() returned true.

Each game session results in a 10-20meg log file. Last nights file has 56,000 lines in it! I'm sure this is contributing to lag issues and weird lighting updates.

The recyclers are working perfectly, fully powered, and are eating through my quarry junk to make scrap boxes nicely.
 

DoctorOr

New Member
Jul 29, 2019
1,735
0
0
Yes, it's a bug. You'll get it with macerators and a couple other machines as well. Other than the log file filling up, no harm is done. I don't see how its doing anything with lighting, and I doubt it's causing lag with a log file line. It takes far less resources to write a line of text than you think. Modern OS will cache file output anyways.

Funny that it's a complaint about not compliance with IC2 API....from machines in base IC2.
 

Phycoz

New Member
Jul 29, 2019
37
0
0
Yes, it's a bug. You'll get it with macerators and a couple other machines as well. Other than the log file filling up, no harm is done. I don't see how its doing anything with lighting, and I doubt it's causing lag with a log file line. It takes far less resources to write a line of text than you think. Modern OS will cache file output anyways.

Funny that it's a complaint about not compliance with IC2 API....from machines in base IC2.

On the Mindcrack server, someone made a machine with a bunch of water pumps and recyclers doing something. The recyclers were causing so many errors it was making log files into the Gigabytes and lagging the entire server.
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
Thanks, trying to eliminate all possible sources of lag.

As to the lighting, it might be a optifine issue, but if I disable it, I can't then use the texture pack, so can't really confirm.
Here's an example of the issue (yes, I adjusted my nights to be really dark). dark_or_not.jpg This is the DW20 map that I've been playing around in. At night, lots of things full brightness. Always seems to be things that are not a full solid block, but not always. In my real game world, I can have a line of liquiducts (for example) and the middle duct is lit correctly, all the rest in the line are not.
Definitely something to do with the most recent update, as earlier screenshots prove that this problem didn't exist.[DOUBLEPOST=1360092410][/DOUBLEPOST]
Update IC2, it was fixed in #184-lf.
Cool. Might well do that then.
 

DoctorOr

New Member
Jul 29, 2019
1,735
0
0
On the Mindcrack server, someone made a machine with a bunch of water pumps and recyclers doing something. The recyclers were causing so many errors it was making log files into the Gigabytes and lagging the entire server.

Files that large start inserting all sorts of new and interesting questions. Like, what filesystem is the disk using? Some older linux filesystems would, while allowing larger files, start dramatically decreasing write speed after that two gig file size. Then the cache fills up and the entire machine is blocked waiting for the IO to finish.
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
Updating IC2 fixed the log issue, and I think may have helped my lag slightly. Hard to tell as I also switched from smooth lighting, and also did some building work, changing a few systems around.