Server lags

  • 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

totte1015

New Member
Jul 29, 2019
391
0
1
I just got to lend my friends server for two weeks, and when i play the same time as the server is running i get stuttering lags, but no FPS drops...
I wonder, is there anything i should change on for best performance on the server? Tweaks or something?

My rig is:
i5 3.33Ghz
16GB ram
GTX 580 3Gb
250GB SSD

What can i do to make server run smoother?
 

micahdg

New Member
Jul 29, 2019
22
0
0
Can you try rephrasing your entire question? Are you lending the server to a friend or are you borrowing it from the friend? And do you mean an FTB server or the hardware? Are you running the FTB server on that hardware while also running the client? How many IOPs is your SSD rated for?
 

totte1015

New Member
Jul 29, 2019
391
0
1
Can you try rephrasing your entire question? Are you lending the server to a friend or are you borrowing it from the friend? And do you mean an FTB server or the hardware? Are you running the FTB server on that hardware while also running the client? How many IOPs is your SSD rated for?
I borrow it.
I mean that i run a MindCrack server on my local computer. Yes, i run both client and server same time. And i have NO idea what IOPs is. Its a samsung 250GB SSD.

I just saw micahdgs post and its entierly uselss since it got no damn solution, only a commandline, where to put that!?
 

micahdg

New Member
Jul 29, 2019
22
0
0
Put the command line in your startup batch file you use to start the FTB server, but change the two "FTB-Beta-A.jar" to whatever .jar mindcrack uses to start up.
 

micahdg

New Member
Jul 29, 2019
22
0
0
Make sure your java path is set and that the memory usage settings in that line apply to your computer.
 

totte1015

New Member
Jul 29, 2019
391
0
1
I dont even...
Can SOMEONE give a damn complete tutorial on this?
This is just like answering with another following question damnit!

WHERE do i set java path? WHERE do i set the memory usage? WHAT LINE?!:mad:
 

glasspelican

New Member
Jul 29, 2019
187
0
0
can you open your command prompt and run
Code:
java -version

@micahdg I have set the memory peramaters for his computer, so he is either using 32 bit java or dosent have java on his path
 

totte1015

New Member
Jul 29, 2019
391
0
1
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
 

totte1015

New Member
Jul 29, 2019
391
0
1
So pleeeeeeeease give me tutorial on how to do that?

Gosh, i have been in high school for two years on game programming on Java, and i still dont have a friggin clue what you guys are on about, i have no idea what dir and cd is used for except while in dos
 

totte1015

New Member
Jul 29, 2019
391
0
1
For the last time people, why are you doing this?
You do know the exact line i need to fix this, but instead you go ranting with links to "beginner shit guide" for something that is not even close to be fitting with this issue,
I dont come here to get guides on CMD, i come here to get it FIXED!


Now, the line i was told to use is this:

Code:
java -server -Xincgc -Xmx6G -Xms1G -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 -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=1G -cp mindcrack.jar -jar mindcrack.jar


How Do I FIX IT?
 

glasspelican

New Member
Jul 29, 2019
187
0
0
1. you open the command prompt
2. you go to the place the server is saved with the command prompt
3. you run the start server bat file with the command prompt
4. you see error message
5. give us error message
6. we fix above command

repeat until working
If at any time I underestimate your skill I am sorry, I talk with a lot of people on this site with varying technical aptitude, and as such have to assume the lowest common denominator.
 

totte1015

New Member
Jul 29, 2019
391
0
1
Uhhh.... We seem to talk about different issues here.
My serverfolder look like this
2w4mah2.png


The cmd is right there.
And when i try to open the server start with the command i listed above it closes within a millisecond and i dont have time to see what it says, and adding the command pause doesnt work.

If you wanted me to go to the location with the stuff in it via cmd, i have done that. But how do i open serverstart.bat with the cmd command?
 

glasspelican

New Member
Jul 29, 2019
187
0
0
I can give you the exact syntax you need but it will have to be later today or tomorrow as I dont have a windows computer handy right now
 

totte1015

New Member
Jul 29, 2019
391
0
1
Finally i got the sh*t to work without closing, here is the error:


Unrecognized option: -XXarallelGCThreads=4
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
Finally i got the sh*t to work without closing, here is the error:


Unrecognized option: -XXarallelGCThreads=4
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

There is an Typo:

Code:
-XXarallelGCThreads=4
must be
Code:
-XX:ParallelGCThreads=4
 

totte1015

New Member
Jul 29, 2019
391
0
1
Duuuuuuuuuuuuuuuuuuuuuuuuh...

Yea it works alot better now.
BTW how can i stress-test and see how much better it is? Currently i am alone on the server and nobody else can join