[Date Prev][Date Next] [Chronological] [Thread] [Top]

make test hangs



I'm compiling openldap version 2.1.22 on RedHat 9 on a dual CPU 800 Mhz. PIII box.

When running the make test target for openldap I successfully get to the output for the test008-concurrency section and then it hangs with the following output (hangs meaning it hasn't progressed after several hours of waiting).  According to top my CPUs are chugging away on lt-slapd processes.  My build procedure and output from top is documented below.  Any suggestions would be great.  I'm just worried about it failing on the "concurrency" target on a dual-cpu machine:)  I noticed a post (ITS#2563) with a similar issue when I searched the OpenLDAP site:

http://www.openldap.org/lists/openldap-bugs/200306/msg00001.html

Hopefully someone knows what the deal is.

Many Thanks!

Jamey

James Courtney
Software Engineer
InPhonic, Inc.
Hayward, CA

********************  MAKE TEST OUTPUT ********************

>>>>> Starting test008-concurrency ...
running defines.sh
Datadir is ./data
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Waiting 5 seconds for slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to check that slapd is running...
Waiting 5 seconds for slapd to start...
Using tester for concurrent server access...
PID=6028 - Read(1000): entry="cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=University of Michigan, c=US".
PID=6036 - Read(1000): entry="cn=ITD Staff,ou=Groups,o=University of Michigan,c=US".
PID=6030 - Search(500): base="o=University of Michigan,c=US", filter="cn=Bjorn Jensen".
PID=6063 - Read(1000): entry="ou=Alumni Association, ou=People, o=University of Michigan, c=US".
PID=6093 - Search(500): base="o=University of Michigan,c=US", filter="cn=Alumni Assoc Staff".
PID=6038 - Add/Delete(50): entry="cn=James A Jones 3,ou=Alumni Association,ou=People,o=University of Michigan,c=US".
PID=6026 - Search(500): base="o=University of Michigan,c=US", filter="cn=Barbara Jensen".
PID=6087 - Add/Delete(50): entry="cn=James A Jones 5,o=University of Michigan,c=US".
PID=6062 - Search(500): base="o=University of Michigan,c=US", filter="cn=Bjorn Jensen".
PID=6054 - Read(1000): entry="ou=Groups, o=University of Michigan, c=US".
PID=6060 - Add/Delete(50): entry="cn=James A Jones 4,ou=People,o=University of Michigan,c=US".
PID=6039 - Search(500): base="o=University of Michigan,c=US", filter="cn=James A Jones 1".
PID=6029 - Add/Delete(50): entry="cn=James A Jones 2,ou=Alumni Association,ou=People,o=University of Michigan,c=US".
PID=6095 - Read(1000): entry="cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Michigan, c=US".
 PID=6030 - Search done.
 PID=6062 - Search done.
 PID=6026 - Search done.
 PID=6093 - Search done.
 PID=6039 - Search done.
 PID=6036 - Read done.
 PID=6028 - Read done.
 PID=6063 - Read done.
 PID=6054 - Read done.
 PID=6095 - Read done.

********************  BUILD PROCEDURE  ********************

I download build and install openldap and it's dependencies in the following order using the following commands:

OpenSSL v0.9.7b:
  CC=gcc ./confing --prefix=/usr/local threads shared
  make
  make test
  make install

OpenSSL v0.9.7b:
  CC=gcc ./confing --prefix=/usr/local threads shared
  make
  make test
  make install

Berkeley DB v4.1.25:
  cd (directory it was untarred into)/build_unix
  CC=gcc ../dist/configure --prefix=/usr/local --with-pic
  make
  make install

MIT Kerberos v1.3.1
  cd ${kerb.dir}/src
  CC=gcc ./configure --prefix=/usr/local --enable-shared
  make
  make install

SASL v2.1.15:
  cd (directory it was untarred into)
  CC=gcc ./configure --prefix=/usr/local \
                     --enable-shared \
                     --with-bdb-libdir=/usr/local/lib \
                     --with-bdb-incdir=/usr/local/include \
                     --with-openssl=/usr/local/bin
  make
  make install
  ln -s /usr/local/lib/sasl2 /usr/lib/sasl2

OpenLDAP v2.1.22:
  cd (directory it was untarred into)
  CC=gcc ./configure --prefix=/apps/openldap/2.1.22 \
                     --enable-shared \
                     --enable-dynamic \
                     --with-threads \
                     --with-pic
  make depend
  make
  make test
  make install

********************  TOP OUTPUT  ********************

 00:15:24  up 5 days,  7:20,  4 users,  load average: 4.01, 4.05, 4.24
71 processes: 69 sleeping, 2 running, 0 zombie, 0 stopped
CPU0 states:  36.3% user  63.1% system    0.0% nice   0.0% iowait   0.0% idle
CPU1 states:  37.1% user  62.3% system    0.0% nice   0.0% iowait   0.0% idle
Mem:   513204k av,  502892k used,   10312k free,       0k shrd,   49884k buff
                    330308k actv,       0k in_d,    7988k in_c
Swap: 2096472k av,   23288k used, 2073184k free                  324796k cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
31093 root      15   0  3948 3632  2044 S    50.4  0.7  63:52   0 lt-slapd
29756 root      15   0  3648 3332  1936 S    50.2  0.6 236:24   0 lt-slapd
31939 root      15   0  4016 3700  2160 S    49.5  0.7  35:58   0 lt-slapd
28326 root      15   0  3720 3404  1940 S    49.3  0.6 247:44   0 lt-slapd
  707 root      16   0   824  696   580 S     0.1  0.1   0:08   1 sshd
 6302 root      15   0  1276 1276   944 R     0.1  0.2   0:00   1 top
    1 root      15   0   468  440   416 S     0.0  0.0   0:09   1 init
    2 root      RT   0     0    0     0 SW    0.0  0.0   0:00   0 migration/0
    3 root      RT   0     0    0     0 SW    0.0  0.0   0:00   1 migration/1
    4 root      15   0     0    0     0 SW    0.0  0.0   0:01   1 keventd
    5 root      34  19     0    0     0 SWN   0.0  0.0   0:00   0 ksoftirqd_CPU
    6 root      34  19     0    0     0 SWN   0.0  0.0   0:00   1 ksoftirqd_CPU
   11 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 bdflush
    7 root      15   0     0    0     0 SW    0.0  0.0   1:12   0 kswapd
    8 root      15   0     0    0     0 SW    0.0  0.0   0:03   0 kscand/DMA
    9 root      16   0     0    0     0 SW    0.0  0.0   9:02   1 kscand/Normal
   10 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 kscand/HighMe
   12 root      15   0     0    0     0 SW    0.0  0.0   0:06   1 kupdated
   13 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 mdrecoveryd
  457 root      15   0   548  516   468 S     0.0  0.1   0:01   0 syslogd
  461 root      15   0   404  360   356 S     0.0  0.0   0:00   0 klogd
  471 root      15   0   464  456   404 S     0.0  0.0   1:15   0 irqbalance
  488 rpc       15   0   500  428   428 S     0.0  0.0   0:00   1 portmap
  507 rpcuser   25   0   640  556   556 S     0.0  0.1   0:00   1 rpc.statd
  551 root      15   0     0    0     0 SW    0.0  0.0   0:02   0 rpciod
  552 root      25   0     0    0     0 SW    0.0  0.0   0:00   1 lockd
  569 root      25   0   656  608   536 S     0.0  0.1   0:02   0 ypbind
  635 root      15   0   556  508   472 S     0.0  0.0   0:00   1 automount
  659 root      15   0   556  492   468 S     0.0  0.0   0:00   1 automount
  695 root      15   0   556  488   468 S     0.0  0.0   0:00   0 automount
  721 root      15   0   692  568   564 S     0.0  0.1   0:00   1 xinetd
  737 ntp       15   0  2392 2392  2152 S     0.0  0.4   0:14   0 ntpd
  763 root      15   0   960  428   304 S     0.0  0.0   0:15   0 sendmail
  772 smmsp     15   0   768  312   236 S     0.0  0.0   0:00   1 sendmail
  782 root      25   0 13160    4     0 S     0.0  0.0   0:01   0 spamd
  791 root      15   0    84   56    36 S     0.0  0.0   0:13   0 gpm
  800 root      17   0   160  136    88 S     0.0  0.0   0:01   1 crond
  955 xfs       15   0  4768  324   100 S     0.0  0.0   0:01   1 xfs
  973 daemon    15   0   492  476   436 S     0.0  0.0   0:00   1 atd
  986 root      23   0    48    4     0 S     0.0  0.0   0:00   1 mingetty
  987 root      23   0    48    4     0 S     0.0  0.0   0:00   1 mingetty
  988 root      23   0    48    4     0 S     0.0  0.0   0:00   1 mingetty
  989 root      23   0    48    4     0 S     0.0  0.0   0:00   1 mingetty
  990 root      23   0    48    4     0 S     0.0  0.0   0:00   1 mingetty
  991 root      23   0    48    4     0 S     0.0  0.0   0:00   1 mingetty
  992 root      15   0   640    0     0 SW    0.0  0.0   0:00   0 gdm-binary
 1041 root      15   0   728   20     0 S     0.0  0.0   0:00   0 gdm-binary
25889 root      15   0  1952  368   276 S     0.0  0.0   0:08   0 cupsd
12275 root      15   0 15240 6788   348 S     0.0  1.3   2:53   1 X
12284 gdm       15   0 14236  13M  1932 S     0.0  2.7   2:06   1 gdmgreeter
12298 jamey     15   0   988  884   392 S     0.0  0.1   0:05   0 sshd
12299 jamey     15   0   308  308     0 S     0.0  0.0   0:00   1 bash
12566 root      17   0   336  336     0 S     0.0  0.0   0:00   1 su
12568 root      15   0   980  980   636 S     0.0  0.1   0:02   0 bash
 1403 root      15   0  1464 1464  1140 S     0.0  0.2   0:02   0 bash
27919 root      16   0  1436 1436  1120 S     0.0  0.2   0:01   1 bash
 4808 root      15   0   720  720   596 S     0.0  0.1   0:00   0 make
 4809 root      23   0  1004 1004   876 S     0.0  0.1   0:00   0 sh
 4810 root      24   0   740  740   600 S     0.0  0.1   0:00   0 make
 4814 root      25   0  1012 1012   876 S     0.0  0.1   0:00   0 sh
 4841 root      15   0  1084 1084   944 S     0.0  0.2   0:00   0 all
 5948 root      16   0  1140 1140   972 S     0.0  0.2   0:00   0 test008-concu
 5966 root      24   0  4264 4260  2672 S     0.0  0.8   0:11   0 lt-slapd
 6008 root      15   0   832  832   648 S     0.0  0.1   0:00   0 lt-slapd-test
 6029 root      15   0  1076 1076   892 S     0.0  0.2   0:00   0 lt-slapd-adde
 6038 root      15   0  1068 1068   884 S     0.0  0.2   0:00   0 lt-slapd-adde
 6060 root      15   0  1064 1064   884 S     0.0  0.2   0:00   0 lt-slapd-adde
 6087 root      15   0  1068 1068   884 S     0.0  0.2   0:00   0 lt-slapd-adde