[SPIGOT-443] Random using large CPU Created: 18/Jan/15  Updated: 11/Dec/17  Resolved: 18/Jan/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Likaos Assignee: Thinkofname
Resolution: Fixed Votes: 0
Labels: 1.8
Environment:

Debian 7.5 java 5


Attachments: File spigot-2015-01-18.rar     PNG File tmp.png    

 Description   

This happen sometime since the 1.8 on some server, more often if they are highly loaded.

All the players get a timeout, it's unreachable, but.. all the command from console work and the server continue to display /tps right but /stop never end.

The server cannot be joined anymore, the CPU usage increased to 100-400% (depending of netty thread).

As you can see on the screen there is 2 netty thread in infinite loop, still on the same task.
I join to you the screen and the snapshot from yourkit.

Thanks.



 Comments   
Comment by Likaos [ 19/Jan/15 ]

Not really, 100% = 1 thread

On this Xeon 3 I can get 800% (8 thread) and the main loop can go up to 200% (2 thread but 1 core), if all netty are looping I can get 400% (100% by netty thread) the other server will run on the 2 core left (2 core = 4 thread = 400% xD).

Comment by Jonas Konrad [ 19/Jan/15 ]

@conormcs In most GNU utilities, CPU usage is measured in cores so 100% = 1 core fully used and 400% = 4 cores fully used.

Comment by Conor McS [ 19/Jan/15 ]

TBH I have no idea how the CPU usage could ever display as 400% but meh.

Comment by Likaos [ 18/Jan/15 ]

I'll do, I've added the snaphot in the rar you dont get what you want in ?

Tell me what you mean by samplers ? Here is the dump http://pastebin.com/9TiDeMDP

Comment by Jonas Konrad [ 18/Jan/15 ]

Not what I meant but a thread dump may work too for now

Comment by Likaos [ 18/Jan/15 ]

You mean a thread dump ?

Comment by Jonas Konrad [ 18/Jan/15 ]

Could you give us sampler results?

Generated at Sat Dec 13 15:19:27 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.