users@glassfish.java.net

Re: Interrupting idle thread

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Tue, 15 May 2012 10:50:02 +0200

Hi,

most probably you see this problem because servlet/webapp processes
request longer than 15mins (by default), if it's ok - pls. disable the
request-timeout using asadmin like:

asadmin
set server-config.network-config.protocols.protocol.http-listener-1.http.request-timeout-seconds=-1

Change the "http-listener-1" in the command above w/ the real name of
the listener, which listens on port 8009.

Thanks.

WBR,
Alexey.

On 05/10/2012 10:06 PM, Cam Bazz wrote:
> All of a sudden my cpu usage goes 100% and I get bunch of these in the
> server log. Could that be some sort of attack? Best regards,
> C.B.
>
> [#|2012-05-08T17:27:20.932+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(1).|#]
>
> [#|2012-05-08T17:27:20.932+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(3).|#]
>
> [#|2012-05-08T17:27:20.932+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(5).|#]
>
> [#|2012-05-08T17:27:20.932+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(4).|#]
>
> [#|2012-05-08T17:27:22.207+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(1).|#]
>
> [#|2012-05-08T17:27:22.207+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(3).|#]
>
> [#|2012-05-08T17:27:22.207+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(5).|#]
>
> [#|2012-05-08T17:27:22.207+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(4).|#]
>
> [#|2012-05-08T17:27:23.319+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(1).|#]
>
> [#|2012-05-08T17:27:23.320+0300|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-2;|GRIZZLY0023:
> Interrupting idle Thread: http-thread-pool-8009(3).|#]