Hi folks,
Just registered to post a solution to an extremely annoying lag problem I've been experiencing on FTB Ultimate 1.0.1, and which almost certainly applies to other modpacks. I wasn't able to track this down via Google or site searches, so I'm hoping this helps other server hosts:
The problem:
Periodic lag spikes (every 15 seconds or so, typically). Accompanied by elevated tick times, but not data I/O (ie: not chunk updates). The Server GUI load graph doesn't show anything at all. Makes the server unplayable.
The solution:
The lag was caused by a pair of Buildcraft pumps which were pumping lava from a lava ocean in a MystCraft world. They had reached bottom (although due to the lava flow, this wasn't visually apparent). Since they pump from a 64-block wide circle, they were clearly doing a lot of checking of *something*. The problem might be specific to lava, or to pumping from areas with a lot of flow, or to the particulars of my pipe system; I'm not sure. But if you experience similar symptoms, check your pumps!
The evidence:
I had tried various approaches to localizing the problem. Ultimately I downloaded the latest Java JDK from Oracle, and used the provided jvisualvm to profile the server while it was running. Two methods in buildcraft relating to pumps were in the top 9 most time-consuming methods, which led me to destroy the pumps. Destroying the pumps solved the problem immediately.
As an aside, jvisualvm was super useful for this, and I recommend it heartily.
DrLucky
Just registered to post a solution to an extremely annoying lag problem I've been experiencing on FTB Ultimate 1.0.1, and which almost certainly applies to other modpacks. I wasn't able to track this down via Google or site searches, so I'm hoping this helps other server hosts:
The problem:
Periodic lag spikes (every 15 seconds or so, typically). Accompanied by elevated tick times, but not data I/O (ie: not chunk updates). The Server GUI load graph doesn't show anything at all. Makes the server unplayable.
The solution:
The lag was caused by a pair of Buildcraft pumps which were pumping lava from a lava ocean in a MystCraft world. They had reached bottom (although due to the lava flow, this wasn't visually apparent). Since they pump from a 64-block wide circle, they were clearly doing a lot of checking of *something*. The problem might be specific to lava, or to pumping from areas with a lot of flow, or to the particulars of my pipe system; I'm not sure. But if you experience similar symptoms, check your pumps!
The evidence:
I had tried various approaches to localizing the problem. Ultimately I downloaded the latest Java JDK from Oracle, and used the provided jvisualvm to profile the server while it was running. Two methods in buildcraft relating to pumps were in the top 9 most time-consuming methods, which led me to destroy the pumps. Destroying the pumps solved the problem immediately.
As an aside, jvisualvm was super useful for this, and I recommend it heartily.
DrLucky