directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Updated: (DIREVE-139) Apache DS freezing under heavy load
Date Mon, 21 Feb 2005 00:21:50 GMT
     [ http://issues.apache.org/jira/browse/DIREVE-139?page=history ]

Emmanuel Lecharny updated DIREVE-139:
-------------------------------------

    Attachment: Jmeter-apache-ds-test.png

Screen Snapshot of a JMeter LDAP test (1000 search requests)

> Apache DS freezing under heavy load
> -----------------------------------
>
>          Key: DIREVE-139
>          URL: http://issues.apache.org/jira/browse/DIREVE-139
>      Project: Directory Server
>         Type: Bug
>     Versions: 0.8
>  Environment: Linux Fedora Core 3
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
>     Reporter: Emmanuel Lecharny
>     Assignee: Alex Karasulu
>  Attachments: Jmeter-apache-ds-test.png
>
> Apache_ds is frozing under heavy load. I have launched a JMeter test (a simple search),
that just stop ranomly after the 500th result.
> I got different stack traces :
> ==============================================================================================
> java.nio.channels.CancelledKeyException
>         at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
>         at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69)
>         at java.nio.channels.SelectionKey.isReadable(SelectionKey.java:271)
>         at org.apache.apseda.input.TCPInputManager.processInput(TCPInputManager.java:380)
>         at org.apache.apseda.input.TCPInputManager.run(TCPInputManager.java:186)    
   at java.lang.Thread.run(Thread.java:534)
> ==============================================================================================
> or (second test) :
> ==============================================================================================
> java.lang.NullPointerException
>         at org.apache.ldap.server.schema.ConcreteNameComponentNormalizer.normalizeByName(ConcreteNameComponentNormalizer.java:59)
>         at org.apache.ldap.common.name.antlrValueParser.value(antlrValueParser.java:128)
>         at org.apache.ldap.common.name.antlrNameParser.attributeTypeAndValue(antlrNameParser.java:189)
>         at org.apache.ldap.common.name.antlrNameParser.nameComponent(antlrNameParser.java:120)
>         at org.apache.ldap.common.name.antlrNameParser.name(antlrNameParser.java:95)
>         at org.apache.ldap.common.name.DnParser.parse(DnParser.java:178)
>         at org.apache.ldap.common.name.DnParser.parse(DnParser.java:255)
>         at org.apache.ldap.common.schema.DnNormalizer.normalize(DnNormalizer.java:103)
>         at org.apache.ldap.common.schema.CachingNormalizer.normalize(CachingNormalizer.java:83)
>         at org.apache.ldap.server.db.jdbm.JdbmIndex.getNormalized(JdbmIndex.java:524)
>         at org.apache.ldap.server.db.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:213)
>         at org.apache.ldap.server.db.jdbm.JdbmDatabase.getEntryId(JdbmDatabase.java:413)
>         at org.apache.ldap.server.AbstractContextPartition.hasEntry(AbstractContextPartition.java:349)
>         at org.apache.ldap.server.RootNexus.hasEntry(RootNexus.java:392)
>         at org.apache.ldap.server.jndi.ibs.ServerExceptionService.add(ServerExceptionService.java:140)
>         at org.apache.ldap.server.jndi.BaseInterceptor.invoke(BaseInterceptor.java:113)
>         at org.apache.ldap.server.jndi.ibs.ServerExceptionService.invoke(ServerExceptionService.java:122)
>         at org.apache.ldap.server.jndi.FailFastPipeline.invoke(FailFastPipeline.java:62)
>         at org.apache.ldap.server.jndi.JndiProvider.invoke(JndiProvider.java:178)
>         at $Proxy0.add(Unknown Source)
>         at org.apache.ldap.server.jndi.ServerDirContext.createSubcontext(ServerDirContext.java:287)
>         at org.apache.ldap.server.jndi.ServerDirContext.createSubcontext(ServerDirContext.java:255)
>         at org.apache.ldap.server.protocol.AddHandler.handle(AddHandler.java:52)    
   at org.apache.apseda.protocol.DefaultRequestProcessor.reply(DefaultRequestProcessor.java:161)
>         at org.apache.apseda.protocol.DefaultRequestProcessor.access$100(DefaultRequestProcessor.java:45)
>         at org.apache.apseda.protocol.DefaultRequestProcessor$ProcessorStageHandler.handleEvent(DefaultRequestProcessor.java:202)
>         at org.apache.apseda.stage.DefaultStage$ExecutableHandler.run(DefaultStage.java:312)
>         at org.apache.apseda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:202)
> java.lang.IllegalArgumentException: first argument was not a distinguished name
>         at org.apache.ldap.common.schema.DnComparator.compare(DnComparator.java:97)
>         at org.apache.ldap.server.schema.SerializableComparator.compare(SerializableComparator.java:92)
>         at jdbm.btree.BPage.compare(BPage.java:841)
>         at jdbm.btree.BPage.findChildren(BPage.java:682)
>         at jdbm.btree.BPage.find(BPage.java:269)
>         at jdbm.btree.BTree.find(BTree.java:406)
>         at org.apache.ldap.server.db.jdbm.JdbmTable.getRaw(JdbmTable.java:1094)
>         at org.apache.ldap.server.db.jdbm.JdbmTable.get(JdbmTable.java:275)
>         at org.apache.ldap.server.db.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:213)
>         at org.apache.ldap.server.db.jdbm.JdbmDatabase.getEntryId(JdbmDatabase.java:413)
>         at org.apache.ldap.server.AbstractContextPartition.hasEntry(AbstractContextPartition.java:349)
>         at org.apache.ldap.server.RootNexus.hasEntry(RootNexus.java:392)
>         at org.apache.ldap.server.jndi.ibs.ServerExceptionService.assertHasEntry(ServerExceptionService.java:430)
>         at org.apache.ldap.server.jndi.ibs.ServerExceptionService.search(ServerExceptionService.java:413)
>         at org.apache.ldap.server.jndi.BaseInterceptor.invoke(BaseInterceptor.java:173)
>         at org.apache.ldap.server.jndi.ibs.ServerExceptionService.invoke(ServerExceptionService.java:122)
>         at org.apache.ldap.server.jndi.FailFastPipeline.invoke(FailFastPipeline.java:62)
>         at org.apache.ldap.server.jndi.JndiProvider.invoke(JndiProvider.java:178)
>         at $Proxy0.search(Unknown Source)
>         at org.apache.ldap.server.jndi.ServerDirContext.search(ServerDirContext.java:534)
>         at org.apache.ldap.server.jndi.ServerDirContext.search(ServerDirContext.java:486)
>         at org.apache.ldap.server.protocol.SearchHandler.handle(SearchHandler.java:111)
>         at org.apache.apseda.protocol.DefaultRequestProcessor.reply(DefaultRequestProcessor.java:134)
>         at org.apache.apseda.protocol.DefaultRequestProcessor.access$200(DefaultRequestProcessor.java:45)
>         at org.apache.apseda.protocol.DefaultRequestProcessor$ProcessorStageHandler.handleEvent(DefaultRequestProcessor.java:208)
>         at org.apache.apseda.stage.DefaultStage$ExecutableHandler.run(DefaultStage.java:312)
>         at org.apache.apseda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:202)
> java.lang.NullPointerException
>         at org.apache.ldap.server.schema.ConcreteNameComponentNormalizer.normalizeByName(ConcreteNameComponentNormalizer.java:59)
>         at org.apache.ldap.common.name.antlrValueParser.value(antlrValueParser.java:128)
>         at org.apache.ldap.common.name.antlrNameParser.attributeTypeAndValue(antlrNameParser.java:189)
>         at org.apache.ldap.common.name.antlrNameParser.nameComponent(antlrNameParser.java:120)
>         at org.apache.ldap.common.name.antlrNameParser.name(antlrNameParser.java:95)
>         at org.apache.ldap.common.name.DnParser.parse(DnParser.java:178)
>         at org.apache.ldap.common.name.DnParser.parse(DnParser.java:255)
>         at org.apache.ldap.server.jndi.ibs.AuthorizationService$AuthorizationFilter.accept(AuthorizationService.java:295)
>         at org.apache.ldap.server.jndi.ibs.FilterServiceImpl.accept(FilterServiceImpl.java:227)
>         at org.apache.ldap.server.jndi.ibs.FilterServiceImpl.access$0(FilterServiceImpl.java:218)
>         at org.apache.ldap.server.jndi.ibs.FilterServiceImpl$2.accept(FilterServiceImpl.java:192)
>         at org.apache.ldap.server.db.ResultFilteringEnumeration.prefetch(ResultFilteringEnumeration.java:254)
>         at org.apache.ldap.server.db.ResultFilteringEnumeration.<init>(ResultFilteringEnumeration.java:88)
>         at org.apache.ldap.server.jndi.ibs.FilterServiceImpl.search(FilterServiceImpl.java:185)
>         at org.apache.ldap.server.jndi.BaseInterceptor.invoke(BaseInterceptor.java:173)
>         at org.apache.ldap.server.jndi.FailFastPipeline.invoke(FailFastPipeline.java:62)
>         at org.apache.ldap.server.jndi.JndiProvider.invoke(JndiProvider.java:281)
>         at $Proxy0.search(Unknown Source)
>         at org.apache.ldap.server.jndi.ServerDirContext.search(ServerDirContext.java:534)
>         at org.apache.ldap.server.jndi.ServerDirContext.search(ServerDirContext.java:486)
>         at org.apache.ldap.server.protocol.SearchHandler.handle(SearchHandler.java:111)
>         at org.apache.apseda.protocol.DefaultRequestProcessor.reply(DefaultRequestProcessor.java:134)
>         at org.apache.apseda.protocol.DefaultRequestProcessor.access$200(DefaultRequestProcessor.java:45)
>         at org.apache.apseda.protocol.DefaultRequestProcessor$ProcessorStageHandler.handleEvent(DefaultRequestProcessor.java:208)
>         at org.apache.apseda.stage.DefaultStage$ExecutableHandler.run(DefaultStage.java:312)
>         at org.apache.apseda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:202)
> ==============================================================================================

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message