directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Upadhyaya (JIRA)" <>
Subject [jira] Created: (DIRSERVER-682) apacheds dump command - hangs very frequently
Date Sun, 30 Jul 2006 06:12:17 GMT
apacheds dump command - hangs very frequently

                 Key: DIRSERVER-682
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.0-RC3
         Environment: apacheds1.0-RC3
Linux 2.4.20-8smp, 2CPU HT, jdk1.5.0_07
            Reporter: Ajay Upadhyaya

I'm trying out apacheds1.0-RC3

here is my env details
Linux 2.4.20-8smp, 2CPU HT, jdk1.5.0_07

I've a custom schema extension defined (works fine), and a data partition. ADS is working
fine. When I try the dump command using apacheds-tools the dump is produced sometimes successfully
(there are 2227 entries in the exported file... so its not huge), but many times the command
just hangs. This happens when there are no queries done against apacheds by any client.

Jstack shows blocked threads, thread dump is shown below. I looked around for this type of
issue, and found this unresolved issue, but it was reported against 1.4.1,
Anybody faced this issue, or have any insight...not sure if this is an issue with sun jvm
or ADS code.

The command I'm using is this

(root)/usr/local/apacheds-1.0_RC3/bin#./ dump -i /usr/local/apacheds-1.0_RC3
-p etouch -f /home/wikireg/dump
this is how my looks like.

# Really simple script to launch apacheds tools with RPM installer
APACHEDS_HOME=/usr/local/apacheds- 1.0_RC3
#$JAVA_HOME/bin/java -jar $APACHEDS_HOME/bin/apacheds-tools.jar $@
$JAVA_HOME/bin/java -classpath $APACHEDS_HOME/bin/apacheds-tools.jar:$APACHEDS_HOME/lib/ext/et.jar $@

thread dump (using jstack... as kill -3 is not working )
(root)/usr/java/jdk1.5.0_07/bin#ps -U root | grep java
  988 ?        00:12:20 java
 2027 pts/0    00:00:01 java
(root)/usr/java/jdk1.5.0_07/bin#./jstack 2027
Attaching to process ID 2027, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.5.0_07-b03
Thread 2035: (state = BLOCKED)

Thread 2034: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=116 (Interpreted fram
 - java.lang.ref.ReferenceQueue.remove() @bci=2, line=132 (Interpreted frame)
 - java.lang.ref.Finalizer$ @bci=3, line=159 (Interpreted f

Thread 2033: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.lang.Object.wait() @bci=2, line=474 (Interpreted frame)
 - java.lang.ref.Reference$ @bci=46, line=116 (Interpreted

Thread 2027: (state = BLOCKED)
 - sun.misc.Resource.getBytes() @bci=16, line=75 (Interpreted frame)
 -, sun.misc.Resource) @bci
=219, line=256 (Interpreted frame)
 -$100(, java.lang.String,
 sun.misc.Resource) @bci=3, line=56 (Interpreted frame)
 -$ @bci=43, line=195 (Interpreted frame)
Action, @bci=0 (Interpreted frame)
 - @bci=13, line=188 (Interp
reted frame)
 - java.lang.ClassLoader.loadClass(java.lang.String, boolean) @bci=43, line=306
(Interpreted frame)
 - sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean) @bci=36
, line=268 (Interpreted frame)
 - java.lang.ClassLoader.loadClass(java.lang.String) @bci=3, line=251 (Interpret
ed frame)
 - java.lang.ClassLoader.loadClassInternal(java.lang.String) @bci=2, line=319 (I
nterpreted frame)
Name(java.lang.String) @bci=1, line=555 (Interpreted frame)
ng.String) @bci=2, line=303 (Interpreted frame)
ang.String) @bci=5, line=552 (Interpreted frame)
oryPostProcessors() @bci=80, line=357 (Interpreted frame)
 - @bci
=289, line=294 (Interpreted frame)
 - .<init>(ja
va.lang.String[], boolean) @bci=14, line=82 (Interpreted frame)
va.lang.String[]) @bci=3, line=67 (Interpreted frame)
va.lang.String) @bci=9, line=58 (Interpreted frame)
 - []) @bci
=413, line=103 (Interpreted frame)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message