[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd hangs up and uses 100% CPU (ITS#2195)
In ITS#2195, bdb_group called from bdb_search looks problematic.
Please try the following patch.
ftp://ftp.openldalp.org/incoming/lock-head.diff -> for HEAD
ftp://ftp.openldap.org/incoming/lock-release.diff -> for 2.1.12
- Jong
------------------------
Jong Hyuk Choi
IBM Thomas J. Watson Research Center - Enterprise Linux Group
P. O. Box 218, Yorktown Heights, NY 10598
email: jongchoi@us.ibm.com
(phone) 914-945-3979 (fax) 914-945-4425 TL: 862-3979
Igor Brezac <igor@ipass.net> on 02/06/2003 10:38:03 AM
To: Jonghyuk Choi/Watson/IBM@IBMUS
cc: openldap-its@OpenLDAP.org, <igor@ipass.net>
Subject: Re: slapd hangs up and uses 100% CPU (ITS#2195)
On Wed, 5 Feb 2003, Jonghyuk Choi wrote:
> Igor,
> can you show the stack trace of other threads ?
16659: /usr/local/libexec/slapd -h ldap:///
----------------- lwp# 1 / thread# 1 --------------------
fee9cb2c lwp_wait (2, ffbffafc)
fedcdc84 lwp_wait (2, ffbffafc, 1, 0, 80, ffbffaf4) + 58
fedc9844 _thrp_join (2, 0, 0, 1, 0, 1a4e10) + 44
00090bb0 ldap_pvt_thread_join (2, 0, 20474, 0, feec0de8, f6a88) + 8
00021e30 slapd_daemon (0, c23a0, ffbffdcc, 0, f6400, c5800) + 90
0001e86c main (c2000, ffbffcc4, a0, c2248, 3, 0) + 7b4
0001df80 _start (0, 0, 0, 0, 0, 0) + 5c
----------------- lwp# 2 / thread# 2 --------------------
fee9ae00 poll (f93ff3d0, 4, ffffffff)
fee4d474 _select (ffffffff, feebd19c, 0, f93ffe60, f93ffee0, ffffffff) +
2ec
fedcec7c select (c, f93ffee0, f93ffe60, 0, 0, f7228) + 6c
00020b20 ???????? (0, f5400, f1c00, c2c00, 0, 0)
fedd5c94 _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 3 / thread# 3 --------------------
fedd5e90 lwp_yield (f3400, 0, f3400, 30, 1a6278, 0) + 8
0006c270 bdb_cache_find_entry_ndn2id (11, 108918, f8b7edc8, feeba000, 0,
110) + 114
0006edc4 bdb_dn2id (1092b0, 0, f8b7edc8, f8b7ec24, 0, 1a6e3c) + a0
0006e4c4 bdb_dn2entry_rw (1092b0, 0, f8b7edc8, f8b7eca8, 0, 0) + b0
00071418 bdb_group (1092b0, 111a90, 1a5108, 9ac710, f8b7edc8, 1a5158) + 2b8
00031850 backend_group (1092b0, 1619c0, 1a5108, 9ac710, f8b7edc8, 1a5158) +
134
0003e8c0 ???????? (108b18, 0, f8b7f290, 1619c0, 1a5108, 9ac710)
0003d56c access_allowed (1092b0, f3400, f8b7f298, 9ac710, f3400, 160a4c) +
680
0003c174 ???????? (1092b0, 1619c0, 1a5108, 9ac710, 160a48, a3)
0003bae0 test_filter (1092b0, 1619c0, 1a5108, 9ac710, 1609b8, 34) + 3e8
00060550 bdb_search (0, f3400, 1a5108, 0, fff7ffb8, f3400) + d9c
0002596c do_search (0, 1a5108, f8bffe98, f8bffe88, 0, 0) + 900
000239b4 ???????? (1a6e30, 15f950, 236e0, 0, 0, 0)
000907c0 ???????? (fa350, 0, 0, 0, 0, 0)
fedd5c94 _lwp_start (0, 0, 0, 0, 0, 0)
Please let me know if you need any other information.
--
Igor