start.sh kills himself

Discussion in 'Performance Tweaking' started by Dard, May 21, 2016.

Thread Status:
Not open for further replies.
  1. Hello, my start.sh somehow arbitrarily kills himself. In the console, I can only see this:
    http://pastebin.com/eBNZAqM4

    Latest 1.8.8 spigot. TPS~19.8 Players ~200

    OVH
    I7 4790K + 32GB RAM

    Help me pls, my ass is burning
     
    #1 Dard, May 21, 2016
    Last edited: May 23, 2016
  2. Did you tried to set the ram lower?
     
  3. No, for 1-2 days up to 6GB RAM.

    I'll try to put -Xms10G -Xmx10G, but I'm not sure it will help me.
     
  4. That's wrong. They needn't match, -Xms is the value the ram gets increased when ram is need.
     
  5. Post your start script please.

    This has nothing to do with anything.
     
    • Agree Agree x 1
  6. This is kinda off topic but, what does all the "tags" you put in there mean. Like the "-XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=45"
    I have always wondered that.
     
  7. He just done that xD
     
  8. Tux

    Tux

    What kind of server do you have?
     
  9. Can you help me explain this then? I thought that was the case.
    http://prntscr.com/b6rbal
     
  10. Yes, something like this could be caused by a lack of the specified memory, but the error shows no such thing and he even defines that his server has "32GB RAM"

    The script is being killed directly by something like the "kill" command, it is very odd.
     
  11. Okay thanks. How come I can start my server with java -Xms10G -Xmx10G and not with java -Xms4G -Xmx6G
     
  12. -Xmx states the maximum amount of memory that Java is allowed to expand upon. Example: You start your server, no players online, you're using 1GB of RAM. 30 players join and now Java needs more memory, java is told that it is allowed to expand up to (-Xmx) and does so freely.

    -Xms states the initial memory, upon start. If I start my server with -Xms1G -Xmx10G, then it will begin on 1G and freely expand to 10G.

    Take a look at your photo again :)
    You did -Xmx1G -Xms6G
     
  13. Survival
     
  14. @Dard Please send the script so we can see what the script actually does
     
  15. Tux

    Tux

    No. I am asking for what your server is running on. Is it a dedicated server, a VPS, ...?
     
  16. Dear lord, how much RAM do you need? Have you tried simply reducing the amount of RAM. 1-2GB per server should nearly always suffice.
     
  17. Dedicated OVH

    My start.sh
    http://pastebin.com/qi9H3eYM

    I do not know exactly how much I need the RAM, I can provide server 15GB, online on server will be ~300-400 players. For 1-2 days about 3-4 GB RAM.

    This configuration did not really help, 10 hours is used more than 9 GB.


    My latest wgprofile with ~180 online
    http://paste.enginehub.org/Sq7Vr.profile
    My latest wg report
    http://paste.enginehub.org/wQcVM.report
     
    #19 Dard, May 22, 2016
    Last edited: May 22, 2016
  18. I found 1 obscure problem: the server rarely freezes for 10-15 seconds and the players come out of this, then the server continues to work as if nothing had happened. Prompt, whether it is possible to check the network for "breaks" ?
     
    #20 Dard, May 22, 2016
    Last edited: May 22, 2016
Thread Status:
Not open for further replies.