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

Re: Memory and CPU usage



Adam Williams wrote:
I see a lot of memory problems with back-bdb when a particular configuration
is set to allow too many threads.

I've never specified a threads statement in slapd.conf. The default is 32 threads. Is that too high on some machines?


Yes, my master runs at 9.  Stress testing shows a peak at 8 - 10,  so I
picked 9.  (This is a 2xPro200 with 384Mb and UW SCSI,  LDAP database
striped across two drives.  Albeit it isn't a current machine,  but
testing newer machines shows that threads seems to top out about ~12 on
x86 boxes).

<snip/>

My server runs 27 threads. I've the default maximum (32). I think 27 are
too much, but I'm not sure if it is save to change the maximum to
something lower (eg. 10 or so)

regards
--
          \\\ ||| ///                               _\=/_
           (  @ @  )                                (o o)
+--------oOOo-(_)-oOOo--------------------------oOOo-(_)-oOOo------+
| Markus Schabel      TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service          A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| markus.schabel@tgm.ac.at                   Tel.: +43(1)33126/316 |
| markus.schabel@members.fsf.org             Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|        oOOo        Yet Another Spam Trap:     oOOo               |
|       (    )    oOOo    yast@tgm.ac.at       (   )     oOOo      |
+--------\  (----(   )--------------------------\ ( -----(   )-----+
          \_)     ) /                            \_)      ) /
                 (_/                                     (_/

Computers are like airconditioners:
  They stop working properly if you open windows.