--with-db-memory

Vernon Schryver vjs@calcite.rhyolite.com
Fri Jan 31 21:55:44 UTC 2003


I just figured out (again) why a somewhat busy server was slower that
I thought it should be after increasing it to 512 MByte.  The DCC had not
been built with `./configure --with-db-memory=XXX`

With the growth in spam, the typical sizeof the database used by dccd
has grown.  Dccd tries to use getrlimit(RLIMIT_RSS), but it turns out
that does not work on most systems including Linux, FreeBSD, and BSD/OS.
Without any other hints, it assumes it should use only 32 MByte.

If you have a busy server and more than 128 MByte of RAM, you would
probably find that rebuilding with `./configure --with-db-memory=X`
for X=30-50% of your system's memory size in MByte will make dccd
very much faster.


Vernon Schryver    vjs@rhyolite.com



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.