users@grizzly.java.net

Re: Interrupting idle Thread and ThreadPool is full

From: Ryan Lubke <ryan.lubke_at_oracle.com>
Date: Tue, 17 Aug 2010 08:11:22 -0700

  Hello,

Sorry for the delay. I'll be looking into this today.

Thanks,
-rl

On 8/16/10 11:47 AM, Zhongling "Alex" Li wrote:
> Hi,
>
> In our Production environment, we often find logs from Grizzly about
> "Interrupting idle Thread". Then eventually the Grizzly instance will
> run out of thread and start dumping "ThreadPool is full". This
> behavior stays the same even with the latest 1.9.19 release last Friday.
>
> I found a similar complaints, though the developer claimed it has been
> fixed around April 2010.
> http://old.nabble.com/GrizzlyServiceListener%3A-Interrupting-idle-Thread%3A-http-thread-pool-8001-%281%29-td28379368.html
>
>
> Would you please help? Currently we have to restart Grizzly every
> several hours. Our Production traffic load is around 150 concurrent
> requests per server.
>
> Below are the logs.
>
> Thank you
> alex
>
> 2010-08-13 19:48:54,154 [19] WARN grizzly [] - GRIZZLY0023:
> Interrupting idle Thread: Grizzly-9201(39).
> 2010-08-13 20:48:55,637 [17] WARN grizzly [] - GRIZZLY0023:
> Interrupting idle Thread: Grizzly-9001(4).
>
> Aug 2 12:33:23 app-102
> java.util.concurrent.RejectedExecutionException: ThreadPool is full
> Aug 2 12:33:23 app-006 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> Aug 2 12:33:23 app-004 2010-08-02 12:33:23,079 [20] ERROR grizzly []
> - Exception during controller processing
> Aug 2 12:33:23 app-004
> java.util.concurrent.RejectedExecutionException: ThreadPool is full
> Aug 2 12:33:23 app-004 at
> com.sun.grizzly.NIOContext.execute(NIOContext.java:507)
> Aug 2 12:33:23 app-008 2010-08-02 12:33:23,079 [23] ERROR grizzly []
> - Exception during controller processing
> Aug 2 12:33:23 app-102 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> Aug 2 12:33:23 app-003 2010-08-02 12:33:23,081 [17] ERROR grizzly []
> - Exception during controller processing
> Aug 2 12:33:23 app-003 at
> com.sun.grizzly.NIOContext.execute(NIOContext.java:507)
> Aug 2 12:33:23 app-003 2010-08-02 12:33:23,081 [17] ERROR grizzly []
> - doSelect exception
> Aug 2 12:33:23 app-104
> java.util.concurrent.RejectedExecutionException: ThreadPool is full
> Aug 2 12:33:23 app-004 2010-08-02 12:33:23,084 [20] ERROR grizzly []
> - Exception during controller processing
> Aug 2 12:33:23 app-004 at
> com.sun.grizzly.util.SyncThreadPool.execute(SyncThreadPool.java:180)
> Aug 2 12:33:23 app-008 2010-08-02 12:33:23,085 [23] ERROR grizzly []
> - Exception during controller processing
> Aug 2 12:33:23 app-008
> java.util.concurrent.RejectedExecutionException: ThreadPool is full
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>