users@glassfish.java.net

Re: Request header is too large

From: Ryan Lubke <ryan.lubke_at_Oracle.com>
Date: Thu, 21 Oct 2010 09:32:10 -0700

On 10/20/10 9:37 AM, glassfish_at_javadesktop.org wrote:
> Hi,
>
> I've 2 servers running glassfish. One is working fine but the other one once a day starts throwing exceptions:
>
> [#|2010-10-20T17:03:15.059+0100|SEVERE|glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=401;_ThreadName=Thread-1;|Unblocking keep-alive exception
> java.lang.IllegalArgumentException: Request header is too large
> at com.sun.grizzly.tcp.http11.InternalInputBuffer.fill(InternalInputBuffer.java:756)
> at com.sun.grizzly.tcp.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:393)
> at com.sun.grizzly.http.ProcessorTask.parseRequest(ProcessorTask.java:821)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:659)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
> at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
> at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
> at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
> at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
> at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
> at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
> at java.lang.Thread.run(Thread.java:619)
>
> As soon as that happens, 2/3 of the requests are dropped by the server with this error message. When I go to the admin pages and modify the header buffer length, the server resumes working normally for a day or so and then again same issue. Any idea why this happens?
Off hand, I can't explain the behavior you've described. Would you mind
confirming the version of Grizzly being used (1.9.18o ?)
and we'll take a look.

Thanks,
-rl
> Thanks
> [Message sent by forum member 'ariskk']
>
> http://forums.java.net/jive/thread.jspa?messageID=485755
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>