-
30. Re: Wildfly 8 Final - 100% cpu usage, no load, either due to Undertow's ServletPriterWriter or NIO CharsetEncoder
premudriy Apr 25, 2014 2:18 PM (in response to lbonco)Good day, Luca,
I somehow still get "fatal: bad object e3ad9bccd78043f1ecc0f65dc6084d9b01681808" error when I do cherry-pick. The first two 'branch' and 'checkout' commands succeed, but cherry-pick doesn't. I tried to search for those hashes in git history and can't find "393d627f05a7f5d2948b5cb33a73ed35b85424ce" or "e3ad9bccd78043f1ecc0f65dc6084d9b01681808".
I did it from scratch. Before that I do:
git clone https://github.com/undertow-io/undertow
^^is that a wrong repo?
-
31. Re: Wildfly 8 Final - 100% cpu usage, no load, either due to Undertow's ServletPriterWriter or NIO CharsetEncoder
ctomc Apr 25, 2014 2:26 PM (in response to premudriy)1 of 1 people found this helpfulNoap, it is right repo.
try doing(this works if you dont have your fork of repository)
git reset --hard
git fetch origin
git checkout 1.0.x
git reset --hard origin/1.0.x
this should get you latest 1.0.x branch
which you can just build it with "mvn clean install -DskipTests", without any cherry-picking as all fixes are in this branch already.
after you can manually copy new build jars to WildFly ( just make sure you use 8.1.0.CR1 as base)
or even better / easier, you can rebuild WildFly with new version of Undertow.
by building it as
mvn clean install -Dversion.io.undertow=<version-of-underow you just built> -T1
if you have git clone of WildFly repo do this first:
git checkout master
git reset --hard
git pull origin master
so you will have latest code.
-
33. Re: Wildfly 8 Final - 100% cpu usage, no load, either due to Undertow's ServletPriterWriter or NIO CharsetEncoder
swd847 Apr 28, 2014 1:33 PM (in response to premudriy)Those line numbers in the stack trace are not matching up with the current 1.0.x branch. Are you sure you replaced the Undertow servlet jar, and not just Undertow core??
-
34. Re: Wildfly 8 Final - 100% cpu usage, no load, either due to Undertow's ServletPriterWriter or NIO CharsetEncoder
premudriy Apr 28, 2014 6:05 PM (in response to swd847)Hi, Stuart, this is actually what I've been doing all along, i.e. replacing only the 'core' jar. I guess that's why it never worked for me all this time. I've replaced core and servlet jars now and the new test is on the way.
-
35. Re: Wildfly 8 Final - 100% cpu usage, no load, either due to Undertow's ServletPriterWriter or NIO CharsetEncoder
premudriy Apr 30, 2014 4:15 PM (in response to premudriy)Alright, I'm confirming that the issue no longer happens now on any of my 8 test machines. They were running for 2 days now and everything is perfect.
Thank you very much to all Wildfly devs who resolved this issue!
-
36. Re: [Solved] Wildfly 8 Final - 100% cpu usage, no load, either due to Undertow's ServletPriterWriter or NIO CharsetEncoder
xkylex May 14, 2014 7:23 PM (in response to swd847)Hello, I have similar problem with older WildFly. Is this problem solved in 8.1.CR2? I can't found any info in the release note.
-
37. Re: [Solved] Wildfly 8 Final - 100% cpu usage, no load, either due to Undertow's ServletPriterWriter or NIO CharsetEncoder
ctomc May 15, 2014 5:54 AM (in response to xkylex)xkylex wrote:
Hello, I have similar problem with older WildFly. Is this problem solved in 8.1.CR2? I can't found any info in the release note.
Yes this was solved in CR2