Did some more investigation. Here is one of the strange observations

Most of the hanging DefaultWriteRequest have this message "451 Unable
to process smtp request.............................."
Can't analyze all of them, but saw content of close to 100 objects.
All of them had the same content

This error is coming from org.apache.james.smtpserver.mina.SMTPIoHandler Line:94

if (session.isConnected()) {
    session.write(new SMTPResponse(SMTPRetCode.LOCAL_ERROR, "Unable to
process smtp request"));
}

Also, from the heapdump, all the WriteRequests are for a session
(id=13609), and they are hanging there :(
so seems like we have a hanging session.

Any thoughts?

Will try to reproduce this problem at my end. Some logs might be of help.

thanks
ashish




On Fri, Apr 9, 2010 at 4:10 PM, Ashish <[email protected]> wrote:
> Norman,
>
> Couple of more queries
>
> 1. The heap dump uses circularqueue class, so seem to be taken for an
> earlier trunk snapshot. Is my take correct?
>
> 2. What's the state of the System? are the clients receiving the
> messages. The queue seems to be holding a very large number of
> objects.
> Essentially what I want to know is, if the clients are receiving the
> messages or the Server is holding them up.
>
> Will spend more time with the issue and see what I can figure out.
>
> thanks
> ashish
>
> On Thu, Apr 8, 2010 at 2:03 PM, Norman Maurer
> <[email protected]> wrote:
>> Maybe Eric can do, cause he is the one who see it very freqently..
>>
>> So Eric...;) ?
>>
>> Thx,
>> Norman
>>
>>
>> 2010/4/8 Ashish <[email protected]>:
>>> Can you provide the heapdump for this OOM?
>>>
>>> thanks
>>> ashish
>>>
>>> On Thu, Apr 8, 2010 at 1:40 PM, Ashish <[email protected]> wrote:
>>>> On Thu, Apr 8, 2010 at 1:28 PM, Norman Maurer
>>>> <[email protected]> wrote:
>>>>> Hi Ashish,
>>>>>
>>>>> I think we tracked down the source of the problem a bit more.. The OOM
>>>>> seems to be related to IMAP. Our IMAP server component is using the
>>>>> StreamIoHandler (its the only one of our components who use this
>>>>> handler). So I suspect there is the problem.
>>>>>
>>>>>  So there are two possible problems:
>>>>> 1) Bug in StreamIoHandler
>>>>> 2) Wrong usage of StreamIoHandler. Our implementations is here:
>>>>> http://svn.apache.org/viewvc/james/server/trunk/imapserver/src/main/java/org/apache/james/imapserver/mina/ImapIoHandler.java?view=markup
>>>>>
>>>>> Thx,
>>>>> Norman
>>>>
>>>> Sorry, haven't been able to look at this so far :(
>>>> earliest I can give it a shot will be on Sunday.
>>>>
>>>> thanks
>>>> ashish
>>>
>>
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to