dccd memory usage

Kevin W. Gagel gagel@cnc.bc.ca
Wed Nov 3 16:37:45 UTC 2004


----- Original Message Follows -----
Cc: dcc@rhyolite.com
Subject: RE: dccd memory usage
Date: Wed, 3 Nov 2004 10:57:25 +0100 (CET)

> On Tue, 5 Oct 2004, Vernon Schryver wrote:
> 
> > >     The real issue is that this server isn't just a dcc server. If it
> > > was, I don't think there'd be a problem. If it was required, I could
> > > increase the memory to 3G, but if this triggers dccd to use 2.5G, then I
> > > get no overall benefit (other than dccd having more memory - which I
> > > don't know enough about to judge) - the other processes are still
> limited to 500M. >
> > Increasing physical memory to 3 GByte should increase the window, but
> > unless the database wants to be bigger than it is given the default
> > expiration times, it won't use more memory.
> >
> 
> Maybe this will be of some interest for you:
>  Just recently I've increased RAM from 1 GB to 3 GB on public DCC server
> dcc1.ely.pg.gda.pl (Solaris 9, Intel).
>  Previously 'cdcc stats' showed about 400 MB as 'used ... DB bytes', now
> it shows 1.2 GB.
>  'Top' shows: Memory: 3072M real, 1598M free
> and ls -l /var/dcc :
> -rw-r--r-- 1 root other 1275015168 Nov 3 10:43 dcc_db
> -rw-r--r-- 1 root other 1358622720 Nov 3 02:18 dcc_db-old
> -rw-r--r-- 1 root other 647958528 Nov 3 02:20 dcc_db.hash
> 
>        Krzysztof Snopek

Here is what mine looks like (another public dcc server dcc1.cnc.bc.ca):

ls -l
-rw-r--r--    1 root     root     1392427008 Nov  3 08:05 dcc_db
-rw-r--r--    1 root     root     1526784000 Nov  2 23:32 dcc_db-old
-rw-r--r--    1 root     root     683999232 Nov  3 00:30 dcc_db.hash

cdcc stats
48857085 hash entries 35846381 used 1388522388 DB bytes (Or 1.4 GB)

top
Mem:   2061104k total,  2004148k used,    56956k free,    47860k buffers
Swap:  1052216k total,   102544k used,   949672k free,  1592120k cached
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4398 root      15   0  555m 555m 553m R  0.3 27.6  27:21.29 dccd


=========================
Kevin W. Gagel
Network Administrator
Information Technology Services
(250) 561-5848 local 448


--------------------------------------------------------------
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
--------------------------------------------------------------



More information about the DCC mailing list

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