Commit Graph

338 Commits

Author SHA1 Message Date
Pierangelo Masarati
a6e232e7c1 add uptime monitoring (in seconds) 2007-03-19 21:39:43 +00:00
Howard Chu
f92dc7b5fa Partially revert prev commit, just omit the sl_mem_destroy 2007-01-27 18:38:24 +00:00
Howard Chu
2ec71598cd Don't muck with sl_mem 2007-01-25 10:33:28 +00:00
Howard Chu
540878020a Fix call to connection_fake_init, plug leak 2007-01-25 10:01:51 +00:00
Pierangelo Masarati
c635e068a2 make Solaris happy with printf of NULLs (ITS#4811?) 2007-01-23 01:30:13 +00:00
Pierangelo Masarati
da8dd8066d don't leave attrs with no values 'round; fix description 2007-01-07 18:53:09 +00:00
Pierangelo Masarati
0e835b0c32 self-document thread monitoring 2007-01-06 16:19:15 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
6193ee4003 don't leak callbacks if stuff cannot be registered; provide a means to dispose of private stuff if required 2006-12-24 15:44:56 +00:00
Kurt Zeilenga
80d74dc2cd Monitor attributes should have dSAOperation usage,
not directoryOperation usage.  Update test000 to
request return of only @monitor attributes.
2006-12-08 02:30:11 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
4b6a3e8b6d Convert schema parsers to ConfigArgs so they can pass errors back to clients 2006-11-15 01:18:37 +00:00
Pierangelo Masarati
ca3451504c fix building without threads (don't publish any thread-related monitor info...) 2006-10-26 21:44:10 +00:00
Howard Chu
65f7c1a50d Fix uninit (coverity) 2006-10-08 00:31:08 +00:00
Pierangelo Masarati
c4a0d94883 monitor max file descriptor number 2006-09-25 23:44:17 +00:00
Pierangelo Masarati
f34d418ced more good looking error messages 2006-09-15 00:16:35 +00:00
Pierangelo Masarati
40cabdc0bc handle errors 2006-09-14 19:55:52 +00:00
Pierangelo Masarati
67f3fd8078 monitor __ALL__ thread parameters 2006-09-14 18:55:02 +00:00
Howard Chu
ef271979a8 Use register_at / register_oc helpers 2006-09-13 13:05:19 +00:00
Howard Chu
2bfe79fe88 Add BackendInfo.bi_extra for backend custom APIs
Use bi_extra for back-monitor entry points. Backends should never
directly reference each other's symbols.
2006-09-13 11:38:51 +00:00
Pierangelo Masarati
c826725b7a don't bother about unregistering stuff during shutdown 2006-09-09 16:25:32 +00:00
Pierangelo Masarati
4bbffd1d98 more cleanup; add the frontend to the set of monitored databases; handle exceptional cases a bit more smoothly 2006-09-09 02:35:58 +00:00
Pierangelo Masarati
67dd808730 fix entry unlock in case of unhandled scope (ITS#4668) 2006-09-09 00:10:43 +00:00
Pierangelo Masarati
ad4ba42524 support "subordinate" scope 2006-09-09 00:00:44 +00:00
Pierangelo Masarati
0e385af975 - need to be able to set new subsystems when appending entire entries;
- in case we appended an entry to a yet unknown parent, we don't know
  the full DN, so unregistering needs to be possible based on the
  available data;
- complete unregister calls so that not-yet-registered stuff can be
  removed from limbo
2006-09-08 22:02:32 +00:00
Pierangelo Masarati
4d55aeb57c cleanup subsystems monitoring OID handling 2006-09-06 16:06:49 +00:00
Pierangelo Masarati
df730d8538 check return values (failing when filter invalid) 2006-09-06 15:12:36 +00:00
Pierangelo Masarati
127ac65c44 implement support for unregistering registered stuff 2006-09-06 12:06:42 +00:00
Pierangelo Masarati
1f201f2cb4 remove dependencies on back-{b,h}db 2006-09-06 09:09:03 +00:00
Pierangelo Masarati
55f24ce8f6 - setup framework for monitoring of back-bdb/back-hdb stuff in their
database entry in cn=monitor
- improve support for custom attribute/callback registration
  in back-monitor
- design API for registered antry/attr/callback removal in back-monitor

HEADS UP: now back-bdb requires back-monitor to be present, either static
or dynamically loaded __before__ back-bdb/back-hdb is initialized.
This works for sure if both back-bdb & back-monitor are static or dynamic
(provided back-monitor.la is loaded before back_bdb.la); it is not clear
what happens if back-bdb is static and back-monitor is dynamic.  In case,
either make back-bdb monitoring conditional, or hardwire back-monitor
much like back-config and back-ldif.
2006-09-06 01:54:54 +00:00
Pierangelo Masarati
cb3248f173 cleanup 2006-09-01 10:01:36 +00:00
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Pierangelo Masarati
f5c308bdb6 more thread monitoring reworking; connection_pool_max may change via back-config 2006-08-18 10:26:03 +00:00
Pierangelo Masarati
a05a8972b2 fix previous commit 2006-08-17 16:32:11 +00:00
Pierangelo Masarati
9327af55ca add tasklist monitoring; review runqueue monitoring 2006-08-17 16:10:47 +00:00
Kurt Zeilenga
d9720d50dd Some LDAP_DEVEL cleanup 2006-08-15 19:36:54 +00:00
Pierangelo Masarati
b1faecd35c process callbacks first; they are supposed to remove modifications they successfully handled, so that regular modify function can complain if any unhandled modification remains 2006-08-05 15:51:13 +00:00
Pierangelo Masarati
373ded8d24 add URI list resorting feature (ITS#4524) 2006-05-06 16:15:25 +00:00
Kurt Zeilenga
eb9a3c1876 unifdef -DSLAP_ACL_HONOR_DISCLOSE
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Kurt Zeilenga
cc2ad31bba remove more LDBM cruft 2006-04-11 18:56:11 +00:00
Hallvard Furuseth
da0c0360e4 Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL). 2006-04-02 19:54:24 +00:00
Hallvard Furuseth
909f5e6ae9 Cast %ld format arg to long 2006-04-02 16:38:46 +00:00
Pierangelo Masarati
7cba7d0b39 don't use uninitialized mutexes 2006-03-31 23:07:48 +00:00
Howard Chu
0af1940f3f plug leaks 2006-03-31 12:20:04 +00:00
Howard Chu
8cbd5ecc13 Cleanup 2006-03-31 10:45:23 +00:00
Pierangelo Masarati
9019ea74ee fix leak 2006-03-19 23:26:12 +00:00
Kurt Zeilenga
8c8ea049cb Macro cleanup 2006-02-16 05:01:29 +00:00
Pierangelo Masarati
44abcdfa2f fix previous commit 2006-01-21 16:08:01 +00:00
Howard Chu
797cffb9b3 Add monitor_entry_stub() for creating entries. Fix conn peer/local mismatch. 2006-01-12 08:40:09 +00:00
Pierangelo Masarati
21be582df7 use a placeholder to mark that there is no process in the runqueue (ITS#4318) 2006-01-09 15:45:59 +00:00