Server Lag

Discussion in 'Server admin area' started by Bigredpit, Jan 22, 2013.

  1. Bigredpit

    Bigredpit New Member

    I just recently created a server on an old computer that I have. The server was intended to hold 3-4 people at one time. When 3 people logged onto the server it had severe block lag and just general lag. I tried changing the startup code, but I am not very good at programming so that helped the lag but didn't fix it. Here is the code I found online: java -Xmx1200M -Xms1200M -jar mindcrack.jar --nojline PAUSE. I was just wondering if anyone could help me with this problem. I would also be willing to take a few mods off of the server if that is necessary. My computer specs are below:

    Processor: 2.80 GHz Processor
    RAM: 4GB
    Storage: 135GB
    Operating System: Windows XP Professional Service Pack 3
     
  2. Nessiroj

    Nessiroj Active Member

    Try asking in this topic: http://forum.feed-the-beast.com/threads/server-lag.2501/
    Glasspelican is doing an amazing job for startupup parameters of java, i don't have the knowledge
    java -server -Xmx1200M -Xms1200M -jar mindcrack.jar --nojline nogui PAUSE

    I whould atleast suggest to add those 2 parameters
     
  3. Bigredpit

    Bigredpit New Member

    Ok thanks for your reply!
     
  4. DZCreeper

    DZCreeper Well-Known Member

    Also, more info is needed about the actual specs of that computer. How many cores is it, what's the exact processor? Is it a Solid State Drive or a traditional Hard Disk Drive? Is it 32 or 64 bit? Is it a laptop or desktop?

    Ideally, it would be be a recent Intel processor thats 2 or more cores, with a SSD. If its 64 bit, then make sure to use 64 bit java. Also keep in mind that desktops are usually more powerful than laptops.

    Not to further rain on the awesome parade that is Minecraft, but the machine simply may be underpowered for Minecraft, its a rather demanding application.
     
  5. TheSandwichMakr

    TheSandwichMakr Active Member

    I'm guessing the issue is your internet speed. Go to speedtest.net on the computer running the server and post the result here.
     
  6. Bigredpit

    Bigredpit New Member

    The computer is a Dimension 9100, which is a desktop. The processor is an Intel Pentium D 2.80GHz and it is a 32-bit machine running windows. Also I have successfully hosted a normal Minecraft server without any problems. Here is my speed test: http://www.speedtest.net/result/2458037382.png

    2458037382.png
     
  7. TheSandwichMakr

    TheSandwichMakr Active Member

    Nvm then, not an issue with your internet :)
     
  8. Bigredpit

    Bigredpit New Member

    Ok thanks for your help though!
     
  9. TheSandwichMakr

    TheSandwichMakr Active Member

    I didn't help at all though! Sorry about not helping.
     
  10. Bigredpit

    Bigredpit New Member

    Ok thanks for your input and reply!:)
     
  11. DZCreeper

    DZCreeper Well-Known Member

    Hardware seems to be the problem. That is fairly underpowered, heavily modded Minecraft is a lot more demanding than normal Minecraft.

    Check this link for a bat file that should help the server run a little smoother. It gives the server 1 gigabyte of memory, which should be plenty.

    If possible, I would suggest getting a 64 bit linux distro installed, and removing Windows. I use MineOS, but you can pick whatever you want. MineOS is nothing more than a simple console input and java. You just use Putty and a FTP file transfer program to manage it.

    https://www.dropbox.com/s/e0fbijzoymylyne/Server Start.bat
     
  12. nallar

    nallar Active Member

    That could be an issue with your upload speed - it's rather low, and redpower especially tends to send far too many packets.

    Can you get a debug log? Run /debug start, wait a minute, run /debug stop and pastebin it. It will be saved in the "debugs" folder in your server directory.
     
  13. DZCreeper

    DZCreeper Well-Known Member

    As long as they don't build a bunch of laggy things like frame quarries, it should be fine with 3 to 4 people, although, don't push it, 2 - 3 is better, and you will lag when new chunks get loaded.
     
  14. Bigredpit

    Bigredpit New Member

    I attached the debug I ran. How much is it to get 64 bit Linux Distro? Also I would be willing to delete some mods if that is possible.
     

    Attached Files:

  15. nallar

    nallar Active Member

    That debug shows that the server is managing to keep up, at 20TPS. It is very likely that whatever problem you have is a network issue.

    (Although the profile only tells about the time you were running the profile. Make sure you run it while you're having issues.)
     
  16. glasspelican

    glasspelican Member

    With 32 bit java there is a low limit on how much ram can be allocated to the server.
    I believe its about 1.2 or 1.8 gig
    for your server you will want to have 3 gig assigned to the server
    when 3 people are on my server it can take up to 1.5 gig

    there is no cost if you mean $
    only in time and skill
    If your use to windows I recommend sticking to lubuntu
    https://help.ubuntu.com/community/Lubuntu/GetLubuntu
     
  17. DZCreeper

    DZCreeper Well-Known Member

    Linux is free. MineOS is the best OS for barebones MineCraft server hosting, no questions asked. Its nothing but Java, along with some very basic tools for remotely managing a server. Look here to get started. http://minecraft.codeemo.com/
     

Share This Page