Hi All,
I was able to reproduce this issue with carbon core server. I am
getting "java.lang.OutOfMemoryError: PermGen space" as mentioned in
https://wso2.org/jira/browse/CARBON-9145. In carbon core server if we
invoke "Graceful Restart" several times we can reproduce this issue
(In my machine i was able to reproduce the issue by invoking 3 times).
In-order to narrow down the issue i un-installed LDAP specific
(apacheds and org.wso2.carbon.ldap) features and connected user
manager to a h2 database. Still i was able to reproduce above error
after 3 attempts. Therefore i doubt, whether this issue has an impact
from LDAP server.
When monitoring memory usage in each restart, i observed that memory
usage increases about 1-2% for each attempt. (I did the same setof
actions in each attempt). I am not quite sure what could be the root
cause for the memory increase. We need to further investigate this
issue.

Thanks
AmilaJ

On Thu, Mar 24, 2011 at 8:59 PM, Kasun Indrasiri <[email protected]> wrote:
>
>
> On Thu, Mar 24, 2011 at 9:33 PM, Amila Jayasekara <[email protected]> wrote:
>>
>> On Thu, Mar 24, 2011 at 12:07 AM, Kasun Indrasiri <[email protected]> wrote:
>> > Hi Azeez,
>>  Yeah. The graceful restarting is still broken.
>>
>> I am still trying to find the exact cause for the error. Kasun, are
>> you getting the PermGen error when you execute "Graceful Shutdown" ?
>>
> No. I'm not getting that error in esb logs.
>>
>> Thanks
>> AmilaJ
>>
>> > Thanks.
>> >
>> > On Thu, Mar 24, 2011 at 12:15 PM, Afkham Azeez <[email protected]> wrote:
>> >>
>> >> Kasun,
>> >> Are you seeing the restart issue?
>> >>
>> >> On Thu, Mar 24, 2011 at 12:02 PM, Kasun Indrasiri <[email protected]>
>> >> wrote:
>> >>>
>> >>> Adding following entries to esb log4j.properties solved the issues.
>> >>> Thanks a lot Amila and Hasini.
>> >>> log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_CONSOLE
>> >>> log4j.logger.org.apache.directory.server.ldap.handlers=WARN,
>> >>> CARBON_CONSOLE
>> >>>
>> >>>
>> >>> log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL,
>> >>> CARBON_CONSOLE
>> >>> log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR,
>> >>> CARBON_CONSOLE
>> >>>
>> >>> log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR,
>> >>> CARBON_CONSOLE
>> >>> On Thu, Mar 24, 2011 at 10:35 AM, Amila Jayasekara <[email protected]>
>> >>> wrote:
>> >>>>
>> >>>> Hi All,
>> >>>>
>> >>>> According to apacheds mailing lists and jiras the "null ldap session"
>> >>>> warning is a harmless message.
>> >>>> You can find more information about this in other mail discussion [1]
>> >>>> we had about this.
>> >>>>
>> >>>> Thus this warning is suppressed at log4j.properties file in core and
>> >>>> therefore we dont see this message in carbon and other products which
>> >>>> uses log4j.properties file in core.
>> >>>> But ESB, MB and few other products are using log4j.properties files
>> >>>> specific to them. On those files the warning is not suppressed. I
>> >>>> will
>> >>>> work on suppressing these warning in other product specific
>> >>>> log4j.properties files.
>> >>>>
>> >>>> Thanks
>> >>>> AmilaJ
>> >>>>
>> >>>> [1] http://wso2.org/mailarchive/carbon-dev/2011-March/049465.html
>> >>>>
>> >>>> On Wed, Mar 23, 2011 at 1:47 AM, Hasini Gunasinghe <[email protected]>
>> >>>> wrote:
>> >>>> >
>> >>>> >
>> >>>> > On Wed, Mar 23, 2011 at 2:09 PM, Ishani Ratnayake <[email protected]>
>> >>>> > wrote:
>> >>>> >>
>> >>>> >>
>> >>>> >> On Wed, Mar 23, 2011 at 1:56 PM, Hasini Gunasinghe
>> >>>> >> <[email protected]>
>> >>>> >> wrote:
>> >>>> >>>
>> >>>> >>>
>> >>>> >>> On Wed, Mar 23, 2011 at 1:43 PM, Kasun Indrasiri <[email protected]>
>> >>>> >>> wrote:
>> >>>> >>>>
>> >>>> >>>> https://wso2.org/jira/browse/CARBON-9163
>> >>>> >
>> >>>> > Hi,
>> >>>> >
>> >>>> >>
>> >>>> >> We have already reported two similar issue with related to the
>> >>>> >> same.
>> >>>> >> [1] https://wso2.org/jira/browse/CARBON-8853
>> >>>> >> [2] https://wso2.org/jira/browse/CARBON-8965
>> >>>> >
>> >>>> > Above two issues are same as the
>> >>>> > issue: https://wso2.org/jira/browse/CARBON-8919
>> >>>> > And since that issue has been fixed now, two issues you have
>> >>>> > mentioned
>> >>>> > should also have been fixed.
>> >>>> > Thanks for reporting.. can you please verify and close the issues,
>> >>>> > if
>> >>>> > resolved?
>> >>>> > Thanks,
>> >>>> > Hasini.
>> >>>> >>
>> >>>> >>
>> >>>> >> Thanks,
>> >>>> >> Ishani
>> >>>> >>>
>> >>>> >>> We have discussed and avoided a similar continuous log (in that
>> >>>> >>> case
>> >>>> >>> it
>> >>>> >>> is an INFO log) here [1].
>> >>>> >>> Will look into the issue that Kasun has reported as well when we
>> >>>> >>> come to
>> >>>> >>> fixing issues.
>> >>>> >>> Azeez, would it be sufficient if we look into the issue you
>> >>>> >>> reported
>> >>>> >>> as
>> >>>> >>> well, when we come to fixing issues?
>> >>>> >>> [1]http://wso2.org/mailarchive/carbon-dev/2011-March/049465.html
>> >>>> >>>>
>> >>>> >>>>
>> >>>> >>>>
>> >>>> >>>> On Tue, Mar 22, 2011 at 10:27 AM, Kasun Indrasiri
>> >>>> >>>> <[email protected]>
>> >>>> >>>> wrote:
>> >>>> >>>>>
>> >>>> >>>>> Hi,
>> >>>> >>>>> Getting this warning continuously in the latest ESB builds. Any
>> >>>> >>>>> thoughts ?
>> >>>> >>>>> [2011-03-22 10:23:14,236]  INFO
>> >>>> >>>>> {org.apache.directory.server.ldap.handlers.LdapRequestHandler}
>> >>>> >>>>> -
>> >>>> >>>>>  ignoring
>> >>>> >>>>> the message
>> >>>> >>>>>
>> >>>> >>>>>
>> >>>> >>>>> org.apache.directory.shared.ldap.message.UnbindRequestImpl@3f8efd86
>> >>>> >>>>>  received
>> >>>> >>>>> from null session
>> >>>> >>>>> [2011-03-22 10:23:14,243]  WARN
>> >>>> >>>>> {org.apache.directory.server.ldap.LdapProtocolHandler} -  Null
>> >>>> >>>>> LdapSession
>> >>>> >>>>> given to cleanUpSession.
>> >>>> >>>>> [2011-03-22 10:23:18,656]  WARN
>> >>>> >>>>> {org.apache.directory.server.ldap.LdapProtocolHandler} -  Null
>> >>>> >>>>> LdapSession
>> >>>> >>>>> given to cleanUpSession.
>> >>>> >>>>> [2011-03-22 10:23:18,662]  WARN
>> >>>> >>>>> {org.apache.directory.server.ldap.LdapProtocolHandler} -  Null
>> >>>> >>>>> LdapSession
>> >>>> >>>>> given to cleanUpSession.
>> >>>> >>>>>
>> >>>> >>>>> --
>> >>>> >>>>> Kasun Indrasiri
>> >>>> >>>>> Senior Software Engineer
>> >>>> >>>>> WSO2, Inc.; http://wso2.com
>> >>>> >>>>> lean.enterprise.middleware
>> >>>> >>>>>
>> >>>> >>>>> cell: +94 71 536 4128
>> >>>> >>>>> Blog : http://kasunpanorama.blogspot.com/
>> >>>> >>>>
>> >>>> >>>>
>> >>>> >>>>
>> >>>> >>>> --
>> >>>> >>>> Kasun Indrasiri
>> >>>> >>>> Senior Software Engineer
>> >>>> >>>> WSO2, Inc.; http://wso2.com
>> >>>> >>>> lean.enterprise.middleware
>> >>>> >>>>
>> >>>> >>>> cell: +94 71 536 4128
>> >>>> >>>> Blog : http://kasunpanorama.blogspot.com/
>> >>>> >>>>
>> >>>> >>>> _______________________________________________
>> >>>> >>>> Carbon-dev mailing list
>> >>>> >>>> [email protected]
>> >>>> >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >>>> >>>>
>> >>>> >>>
>> >>>> >>>
>> >>>> >>> _______________________________________________
>> >>>> >>> Carbon-dev mailing list
>> >>>> >>> [email protected]
>> >>>> >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >>>> >>>
>> >>>> >>
>> >>>> >>
>> >>>> >>
>> >>>> >> --
>> >>>> >> Ishani
>> >>>> >> Mobile : 0727136198
>> >>>> >>
>> >>>> >
>> >>>> >
>> >>>> > _______________________________________________
>> >>>> > Carbon-dev mailing list
>> >>>> > [email protected]
>> >>>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >>>> >
>> >>>> >
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Kasun Indrasiri
>> >>> Senior Software Engineer
>> >>> WSO2, Inc.; http://wso2.com
>> >>> lean.enterprise.middleware
>> >>>
>> >>> cell: +94 71 536 4128
>> >>> Blog : http://kasunpanorama.blogspot.com/
>> >>
>> >>
>> >>
>> >> --
>> >> Afkham Azeez
>> >> Senior Software Architect & Senior Manager; WSO2, Inc.;
>> >> http://wso2.com,
>> >>
>> >> Member; Apache Software Foundation; http://www.apache.org/
>> >> email: [email protected] cell: +94 77 3320919
>> >> blog: http://blog.afkham.org
>> >> twitter: http://twitter.com/afkham_azeez
>> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
>> >>
>> >> Lean . Enterprise . Middleware
>> >
>> >
>> >
>> > --
>> > Kasun Indrasiri
>> > Senior Software Engineer
>> > WSO2, Inc.; http://wso2.com
>> > lean.enterprise.middleware
>> >
>> > cell: +94 71 536 4128
>> > Blog : http://kasunpanorama.blogspot.com/
>> >
>
>
>
> --
> Kasun Indrasiri
> Senior Software Engineer
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 71 536 4128
> Blog : http://kasunpanorama.blogspot.com/
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to