Hello,
I am hoping someone can help me with the lag/connection timeout problem I am getting with FTB running over a lan (both Open to Lan and Server running over Lan). I have two identical pcs that I am using to play FTB networked using a ADSL router. I am able to see and connect to a game from one pc to the other although after a period of time (sometimes an hour, but usually straight away) I get block lag, rubber banding and eventually a socket/connection timeout error.
I initially tried running it as Open to Lan but have also tried switching to a Server. I am running the server on one of the machines that is being used to play the game.
Both PC are identical, The specs are as follows
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
16.0 GB RAM
NVIDIA GeForce GTX 660
SSD
Windows 7 Professional, SP1
I am using FTB version v1.43 of the launcher and trying to play Magic Farm 2 v2.1.13
What I have tried
- switch from Open to Lan to a Magic Farm Server
- followed the basic trouble shooting guide on the wiki
- Reinstall FTB - installed in c:\FTB to avoid any permission issues
- Reinstall Java (currently using Java 64bit 1.8.0_11-B12)
- disable both windows firewall and avast firewall (seemed to fix the problem)
- Add a rule for Javaw.exe to windows firewall
- Add a Port Rule windows firewall
- Tried a few different versions of Java extensions after looking at this thread (http://forum.feed-the-beast.com/threads/server-lag.2501/) to the bat file used to start the server, currently using
java -server -Xincgc -Xmx6G -Xms512M -Xmn1G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XXarallelGCThreads=4 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp FTBServer-1.6.4-965.jar -jar FTBServer-1.6.4-965.jar
pause
Can anyone help? I think the issue could be solved with the right extensions in the bat file because it feels like the server pc is just not giving priority to the game, although I have tried different versions of the extensions and I just cannot work it out. Also I realise that the server is only getting 512m of ram with the config above but if I change Xms to anything apart from 512m I get an error stating that JAVA_OPTIONS: -Xmx512M - JVM cannot us large page memor because it does not have enough privilege to lock pages in memory. Any advice on how I fix this as well would be appreciated.[DOUBLEPOST=1414143687,1413803045][/DOUBLEPOST]Hello,
Still can't fix this.
It seems to work for a while after I haven't played for a few days then slowly the connecting PC gets more and more block lag until eventually I cannot connect.
Any ideas would be appreciated.[DOUBLEPOST=1414227848][/DOUBLEPOST]Hello,
Tried changing channels on my router. Downgraded Java still having issues
This is the lag when I get the connection timeout error
2014-10-25 20:02:13 [INFO] [STDERR] java.net.SocketException: Software caused connection abort: recv failed
2014-10-25 20:02:13 [INFO] [STDERR] at java.net.SocketInputStream.socketRead0(Native Method)
2014-10-25 20:02:13 [INFO] [STDERR] at java.net.SocketInputStream.read(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at java.net.SocketInputStream.read(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at java.io.FilterInputStream.read(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at java.io.DataInputStream.readUnsignedByte(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at net.minecraft.network.packet.Packet.func_73272_a(Packet.java:145)
2014-10-25 20:02:13 [INFO] [STDERR] at net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:325)
2014-10-25 20:02:13 [INFO] [STDERR] at net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:549)
2014-10-25 20:02:13 [INFO] [STDERR] at net.minecraft.network.TcpReaderThread.run(SourceFile:94)
I am hoping someone can help me with the lag/connection timeout problem I am getting with FTB running over a lan (both Open to Lan and Server running over Lan). I have two identical pcs that I am using to play FTB networked using a ADSL router. I am able to see and connect to a game from one pc to the other although after a period of time (sometimes an hour, but usually straight away) I get block lag, rubber banding and eventually a socket/connection timeout error.
I initially tried running it as Open to Lan but have also tried switching to a Server. I am running the server on one of the machines that is being used to play the game.
Both PC are identical, The specs are as follows
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
16.0 GB RAM
NVIDIA GeForce GTX 660
SSD
Windows 7 Professional, SP1
I am using FTB version v1.43 of the launcher and trying to play Magic Farm 2 v2.1.13
What I have tried
- switch from Open to Lan to a Magic Farm Server
- followed the basic trouble shooting guide on the wiki
- Reinstall FTB - installed in c:\FTB to avoid any permission issues
- Reinstall Java (currently using Java 64bit 1.8.0_11-B12)
- disable both windows firewall and avast firewall (seemed to fix the problem)
- Add a rule for Javaw.exe to windows firewall
- Add a Port Rule windows firewall
- Tried a few different versions of Java extensions after looking at this thread (http://forum.feed-the-beast.com/threads/server-lag.2501/) to the bat file used to start the server, currently using
java -server -Xincgc -Xmx6G -Xms512M -Xmn1G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XXarallelGCThreads=4 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp FTBServer-1.6.4-965.jar -jar FTBServer-1.6.4-965.jar
pause
Can anyone help? I think the issue could be solved with the right extensions in the bat file because it feels like the server pc is just not giving priority to the game, although I have tried different versions of the extensions and I just cannot work it out. Also I realise that the server is only getting 512m of ram with the config above but if I change Xms to anything apart from 512m I get an error stating that JAVA_OPTIONS: -Xmx512M - JVM cannot us large page memor because it does not have enough privilege to lock pages in memory. Any advice on how I fix this as well would be appreciated.[DOUBLEPOST=1414143687,1413803045][/DOUBLEPOST]Hello,
Still can't fix this.
It seems to work for a while after I haven't played for a few days then slowly the connecting PC gets more and more block lag until eventually I cannot connect.
Any ideas would be appreciated.[DOUBLEPOST=1414227848][/DOUBLEPOST]Hello,
Tried changing channels on my router. Downgraded Java still having issues
This is the lag when I get the connection timeout error
2014-10-25 20:02:13 [INFO] [STDERR] java.net.SocketException: Software caused connection abort: recv failed
2014-10-25 20:02:13 [INFO] [STDERR] at java.net.SocketInputStream.socketRead0(Native Method)
2014-10-25 20:02:13 [INFO] [STDERR] at java.net.SocketInputStream.read(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at java.net.SocketInputStream.read(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at java.io.FilterInputStream.read(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at java.io.DataInputStream.readUnsignedByte(Unknown Source)
2014-10-25 20:02:13 [INFO] [STDERR] at net.minecraft.network.packet.Packet.func_73272_a(Packet.java:145)
2014-10-25 20:02:13 [INFO] [STDERR] at net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:325)
2014-10-25 20:02:13 [INFO] [STDERR] at net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:549)
2014-10-25 20:02:13 [INFO] [STDERR] at net.minecraft.network.TcpReaderThread.run(SourceFile:94)