Undertow java.nio.BufferOverflowException - buffer-pool configuration?
I'm getting a BufferOverflowException for a certain request (full stack trace below) in WildFly 8.0.0.Final. It looks like I can change the buffer-cache configuration in the io subsytem, but I'm having trouble finding any advice on what to set it to. Can anyone help?
Here's what I have (the defaults, I think).
Do I need to increase the buffer-size? Is this buffer allocated per request, or is this single buffer used by multiple concurrent requests? On Linux I've found a suggestion that it should be 16384, but what about Windows?
Or is it more appropriate to increase buffers-per-slice? Is buffers-per-slice at all related to the number of concurrent requests I expect to receive?
1. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
We changed defaults for IO subsystem and they are now dynamically calculated based on hardware configuration you are running on.
If you still see problems after upgrade let us know.
2. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
I am getting something similar with 8.1.0.Final. And it kills the worker thread ("default task-12" does not appear in the log after this exception). Not sure how often this happening. So far I have noticed only once.
3. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
I think something like this was fixed not too long ago.
Any chance you can give WildFly 9.0.0.Alpha1 a try? as it has latest fixes there already.
4. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
I can try... but only on our test server... and so far based on logs, this problem happen twice over last two month on this server . not a high chance to get conclusive evidence that it was fixed.
5. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
Any testing would help, as undertow fixes currently present in master (9 work) will get into 8.2.
It would be great to know if there are any more problems we should address.
6. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
ctomc do u know if [UNDERTOW-282] randomly org.xnio.conduits.AbstractStreamSourceConduit.read() goes into infinite loop - JBoss Issue Track… was addressed in 8.2/9 ?
7. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
Tomaz Cerar do u know if [UNDERTOW-282] randomly org.xnio.conduits.AbstractStreamSourceConduit.read() goes into infinite loop - JBoss Issue Track… was addressed in 8.2/9 ?
Should be, given that there ware lots of fixes in this area. But impossible to tell unless it is tested and confirmed.
8. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
We are also getting the same "java.nio.BufferOverflowException" in WildFly 8.2 running Suse Linux OS. As per previous comment in this forum,this problem is fixed in above 8.1 x versions but we are getting in 8.2 also. Do we need to change the default buffer size? What is recommended size or any settings. Please help us.
9. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
I am facing this issue too with Wildfly 8.2.0 final. Is there any recommendation or documentation on how to set the buffer size? Any pointers are appreciated.
In case members have found any resolution for Wildfly 8.2.0, please share your knowledge.
10. Re: Undertow java.nio.BufferOverflowException - buffer-pool configuration?
I found this documentation Wildfly Model Reference on the buffer pool. Regarding buffer-size it mentions default value to be 1024 but not sure if this is B/KB/MB. Does any one have information on what this value mean or have pointer(s) to any more detail documentation on this configuration.