Bukkit spawns so many processes

Discussion in 'Bukkit Help' started by warg, Nov 25, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    warg

    Hello.

    I have like 15-20 Bukkit processes. Why does it happen and how to fix it?
     
  2. Offline

    LaxWasHere

    Killall java
     
  3. Offline

    warg

    I need to know the reasons for this and not just kill them ;). That won't help me.
     
  4. Offline

    nala3

    Well we need more information than just "Bukkit haz l0ts of process thingies". That won't help us help you. Things that are nice to know when trying to help someone with an issue like this:
    • Operating system
    • If you are using a startup script or a control panel
    • Does it happen even when you restart the computer/server and start a new Bukkit process
     
  5. Offline

    warg

    Okay, sorry for the few details. The OS is Debian 6 with Java 6 running and we use no control panel or start scripts. We are just starting Bukkit (latest dev-build) with a screen session. It happens everytime: if there are no players, one player, 20 players (max). And it happens too if there is no plugin loaded.
     
  6. Offline

    Toxic__Waste

    wait no panel and no start up scripts then how you starting bukkit
     
  7. Offline

    LaxWasHere

    Type "ps au" in the terminal and post the results here.
     
  8. Offline

    warg

    I start the server with the command 'screen -S minecraft java -jar ./craftbukkit.jar'. I do not have any extra start scripts or control panels.

    The line of 'ps au' for minecraft:
    minecraft 4838 41.5 19.5 1622400 821272 pts/1 Ssl+ 18:36 2:09 java -jar ./craftbukkit.jar

    Also I have a high load every time someone joins the server.
     
  9. Offline

    LaxWasHere

    I thought it spawns so many processes, you only posted one line.
     
  10. Offline

    warg

    I think the others are child processes of the main thread, so they are just listed as one.
     
  11. Offline

    Bodenseehost

    then give us a ps -auf
    this shows the child-processes in a funny tree'd view
    could there be a faulty chron'd start or errant re-start script (maybe a leftover from a faulty experiment or sth. like that?)
     
  12. Offline

    warg

    No, there is nothing like a script for auto-restart or similar. I had never something like that on the server, not even as a test.

    ps -auf doesn't show more (child)-processes too. I made a screenshot of htop with tree-view: http://puu.sh/1uXwL
     
  13. Offline

    Bodenseehost

    htop shows the THREADS of the java-process within the tree-view... those aren't single processes. If you analyse firefox with htop-tree'd view it look similar ;)

    So I'd say your server is up and okay :)
     
  14. Offline

    warg

    But what could be the reason for high CPU load on logins by players?
     
  15. Offline

    Bodenseehost

    I can just say your process/threads-thingy doesn't look suspicious...

    How about more specs? hardware, ram, connection?
    ps -au (complete pastebin)
    free -h
    maybe netstat -an (top-part)

    bukkit versions, plugins...
     
Thread Status:
Not open for further replies.

Share This Page