directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Update 2.0.0-M7 and indexes
Date Mon, 16 Apr 2012 22:05:33 GMT
Hi, I just updated the JIRA.

Thanks for all you've done but I'm experiencing the same issue. I've rebuilt the server from
scratch from the trunk today at noon eastern time. 
Again, I create a partition with indexes, restart. Import my o/ou branches, restart. Import
80k users. Once it's complete, searching of users is fast. 
Once I restart the server, the issue below occurs. 

D:\Program Files\ApacheDSM7\bin>wrapper.exe ..\conf\wrapper.conf "set.INSTANCE_DIRECTORY=D:\Program
ances\default" "set.INSTANCE=default"
wrapper  | --> Wrapper Started as Console
wrapper  | Using tick timer.
wrapperp | server listening on port 32000.
wrapper  | Launching a JVM...
wrapper  | command: "C:\Program Files (x86)\Java\jdk1.6.0_31\bin\java.exe" -Dlog4j.configuration="file:///D:\Program
s\apachedsm7\instances\default/conf/" -Dapacheds.var.dir="D:\Program files\apachedsm7\instances\default
-Dapacheds.log.dir="D:\Program files\apachedsm7\instances\default/log""D:\Program
stances\default/run" -Dapacheds.instance="default" -Ddefault.controls="
ras.controls.syncrepl_impl.SyncStateValueFactory" -Ddefault.extendedOperation.requests="
erver -Xms512m -Xmx1024m -Djava.library.path="../lib" -classpath "../lib/apacheds-all-2.0.0-M7-SNAPSHOT.jar;../lib/apac
v_49BY1PMOWCwTs" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
-Dwrapper.debug="TRUE" -Dwrapper.version="3.2.3" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10"
1 "D:\Program files\apachedsm7\instances\default"
wrapper  | JVM started (PID=3132)
jvm 1    | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@f4a24a
jvm 1    | Wrapper (Version 3.2.3)
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    |
jvm 1    | Wrapper Manager: JVM #1
jvm 1    | Running a 32-bit JVM.
jvm 1    | Wrapper Manager: Registering shutdown hook
jvm 1    | Wrapper Manager: Using wrapper
jvm 1    | Load native library.  One or more attempts may fail if platform specific libraries
do not exist.
jvm 1    | Loaded native library: wrapper-windows-x86-32.dll
jvm 1    | Calling native initialization method.
jvm 1    | Initializing WrapperManager native library.
jvm 1    | Java Executable: C:\Program Files (x86)\Java\jdk1.6.0_31\bin\java.exe
jvm 1    | Windows version: 6.1.7601
jvm 1    | Java Version   : 1.6.0_31-b05 Java HotSpot(TM) Client VM
jvm 1    | Java VM Vendor : Sun Microsystems Inc.
jvm 1    |
jvm 1    | Control event monitor thread started.
jvm 1    | Startup runner thread started.
jvm 1    | WrapperManager.start(,
args["D:\Program fil
\apachedsm7\instances\default"]) called by thread: main
jvm 1    | Communications runner thread started.
jvm 1    | Open socket to wrapper...Wrapper-Connection
jvm 1    | Failed attempt to bind using local port 31000
jvm 1    | Opened Socket from 31001 to 32000
jvm 1    | Send a packet KEY : 9v_49BY1PMOWCwTs
jvm 1    | handleSocket(Socket[addr=/,port=32000,localport=31001])
wrapperp | accepted a socket from on port 31001
wrapperp | read a packet KEY : 9v_49BY1PMOWCwTs
wrapper  | Got key from JVM: 9v_49BY1PMOWCwTs
wrapperp | send a packet LOW_LOG_LEVEL : 1
wrapperp | send a packet PING_TIMEOUT : 24000
wrapperp | send a packet PROPERTIES : (Property Values)
wrapper  | Start Application.
wrapperp | send a packet START : start
jvm 1    | Received a packet LOW_LOG_LEVEL : 1
jvm 1    | Wrapper Manager: LowLogLevel from Wrapper is 1
jvm 1    | Received a packet PING_TIMEOUT : 24000
jvm 1    | PingTimeout from Wrapper is 24000000
jvm 1    | Received a packet PROPERTIES : (Property Values)
jvm 1    | Received a packet START : start
jvm 1    | calling WrapperListener.start()
jvm 1    | Waiting for WrapperListener.start runner thread to complete.
jvm 1    | WrapperListener.start runner thread started.
wrapper  | Startup failed: Timed out waiting for signal from JVM.
wrapper  | JVM did not exit on request, terminated
wrapperp | server listening on port 32000.
wrapper  | JVM was only running for 30 seconds leading to a failed restart count of 1.
wrapper  | There were 1 failed launches in a row, each lasting less than 300 seconds.  Giving
wrapper  |   There may be a configuration problem: please check the logs.
wrapper  | <-- Wrapper Stopped

D:\Program Files\ApacheDSM7\bin>pause

Carlo Accorsi

Sign up for the IBS Blog today!

IBS provides integrated management solutions that help companies improve quality and lower

-----Original Message-----
From: Emmanuel Lécharny [] 
Sent: Sunday, April 15, 2012 6:33 AM
Subject: Re: Update 2.0.0-M7 and indexes

Le 4/14/12 5:12 AM, a écrit :
> Hi, regarding the server startup issue I'm having after loading a 
> custom partition with 80k users, the problem seems to be the size of master.db For my
partition. The file is 450 MB. If I delete my partition directory (and let to recreate on
startup) the server starts fine.
> Here are some other things we tried, none of which worked.
Don't waste your time doing experiments, tehre is a clear problem in the index construction
when the server is restarted. I'm on it this afternoon.

Seems like the index creation actually works, when we have a few hundreds of entries, but
we have serious performance issues with 80 000 entries.

I'm not sure it's a bug, but certainly some sub-optimal process.

Keep tuned...

Emmanuel Lécharny

View raw message