directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Upadhyaya" <>
Subject apacheds dump command - hangs very frequently
Date Thu, 13 Jul 2006 08:26:27 GMT
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.
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
#$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
 - java.lang.ref.ReferenceQueue.remove() @bci=2, line=132 (Interpreted
 - 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

Thread 2027: (state = BLOCKED)
 - sun.misc.Resource.getBytes() @bci=16, line=75 (Interpreted frame)
 -, sun.misc.Resource)
=219, line=256 (Interpreted frame)
 sun.misc.Resource) @bci=3, line=56 (Interpreted frame)
 -$ @bci=43, line=195 (Interpreted frame)
Action, @bci=0 (Interpreted frame)
 - @bci=13, line=188
reted frame)
 - java.lang.ClassLoader.loadClass(java.lang.String, boolean) @bci=43,
(Interpreted frame)
 - sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
, line=268 (Interpreted frame)
 - java.lang.ClassLoader.loadClass(java.lang.String) @bci=3, line=251
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)
=289, line=294 (Interpreted frame)
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)
=413, line=103 (Interpreted frame)


View raw message