Netty is Freezing on Load Testing

mlaverd marcandre.laverdiere at gmail.com
Tue Jun 8 04:21:29 EDT 2010


I tried reusing and HashedWheelTimer as well as setting the address reuse,
and things are working fine now. Thanks!

Marc-André LAVERDIÈRE
"Perseverance must finish its work so that you may be mature and complete,
not lacking anything." -James 1:4
mlaverd.theunixplace.com/blog

/"\
\ /    ASCII Ribbon Campaign
 X      against HTML e-mail
/ \


2010/6/7 Trustin Lee [via Netty Forums and Mailing Lists] <
ml-node+5147218-1239612041-552001 at n2.nabble.com<ml-node%2B5147218-1239612041-552001 at n2.nabble.com>
>

> mlaverd wrote:
> > pipeline.addLast("Timeout", new Disconnector(new
> > HashedWheelTimer(WORKER_THREAD_POOL.getThreadFactory()),
> > SESSION_TIMEOUT,SESSION_TIMEOUT,SESSION_TIMEOUT,
> > TimeUnit.MILLISECONDS));
>
> A new thread is created for each new HashedWheelTimer instance - you
> have to create only one and share it.
>
> HTH,
> Trustin
>
> --
> what we call human nature in actuality is human habit
> http://gleamynode.net/
>
> _______________________________________________
> netty-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5147218&i=0>
> https://lists.jboss.org/mailman/listinfo/netty-users
> — Trustin Lee, http://gleamynode.net/
>
>
> ------------------------------
>  View message @
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-is-Freezing-on-Load-Testing-tp5138397p5147218.html
> To unsubscribe from Netty is Freezing on Load Testing, click here<http://netty-forums-and-mailing-lists.685743.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=bWFyY2FuZHJlLmxhdmVyZGllcmVAZ21haWwuY29tfDUxMzgzOTd8MjQzNTc2NTM3>.
>
>
>

-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-is-Freezing-on-Load-Testing-tp5138397p5152688.html
Sent from the Netty User Group mailing list archive at Nabble.com.



More information about the netty-users mailing list