users@grizzly.java.net

Re: Performance Issue: GrizzlyRequest's are not getting garbage collected?

From: smurugu <smurugu_at_gmail.com>
Date: Fri, 4 Jun 2010 09:36:10 -0700 (PDT)

Alexey,

I sent the dumps to your sun account, please let me know your findings


Oleksiy Stashok wrote:
>
> Hi Senhil,
>
> just to make sure, can you pls. try the latest Grizzly 1.9.19-beta4?
> If you still see the same GR leak - can you pls. attach the memory
> dump (using for example jmap).
>
> Thanks.
>
> WBR,
> Alexey.
>
>
>> Sorry for the delay in reply, i was on vacation
>>
>> We dont use comet type requests but in We use Async Web services
>>
>> Thanks
>>
>> Sendhil
>>
>>
>> Oleksiy Stashok wrote:
>>>
>>> Hi Sendhil,
>>>
>>> do you use asynchronous HTTP requests processing? For example Comet?
>>>
>>> Thanks.
>>>
>>> WBR,
>>> Alexey.
>>>
>>> On May 12, 2010, at 7:26 , smurugu wrote:
>>>
>>>>
>>>> We use Grizzly 1.9.18 version with Servlet Deployer. Using Servlet
>>>> Deployer,
>>>> we configured JAX WS and serving web services. Our application is
>>>> completely
>>>> stateless, does not store anything in the session. For some reason,
>>>> under
>>>> steady load i see the Grizzly is using lots of byte buffers which is
>>>> associated with GrizzlyRequest instances.
>>>>
>>>> Since the SLA of the request is atmost 10 seconds, we are expecting
>>>> unused
>>>> GrizzlyRequest to be garbage collected but the results are not
>>>> promising.
>>>> For some reason, Garbage collection occurs very slowly;
>>>> GrizzlyRequest's are
>>>> getting collected after few hours
>>>>
>>>> We tried the following
>>>>
>>>> set the maxinactiveinterval to 10 seconds in HttpSession but the
>>>> results are
>>>> still looks the same.
>>>>
>>>> How do i force Grizzly to discard unused GrizzlyRequest instance to
>>>> get
>>>> collected by GC?
>>>>
>>>> Thanks in advance
>>>>
>>>> Sendhil
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Performance-Issue%3A-GrizzlyRequest%27s-are-not-getting-garbage-collected--tp28532135p28532135.html
>>>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Performance-Issue%3A-GrizzlyRequest%27s-are-not-getting-garbage-collected--tp28532135p28718766.html
>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/Performance-Issue%3A-GrizzlyRequest%27s-are-not-getting-garbage-collected--tp28532135p28782338.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.