makedbz memory footprint

Katsuhiro Kondou kondou at nec.co.jp
Fri Feb 25 03:02:52 UTC 2000


In article <01JMAAY7LXQK8WWFZ0 at OREGON.UOREGON.EDU>,
	Joe St Sauver <JOE at OREGON.UOREGON.EDU> wrote;

}   PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
} 20009 root       1  60    0  703M  537M sleep  55:58  0.53% makedbz
} 
} for a history file that was 2147483647 in size, and arguments
} of makedbz -s35000000 -o -f /news/history
} 
} [Yes, I know that 35000000 lines of history is quite a bit, but
} if you figure 600K articles/day and spools that are running
} 100GB on a routine basis these days, well, if you don't carry a 
} lot of warez and mp3's, it is amazing what you can do.]

Total dbz files will be 525MB in that case.  This
can be calculated by;

35000000    * 10                      / ( 2 / 3 )                  = 525MB
given by -s   dbz size for each entry   fifth entry in history.dir

Makedbz allocates that space to create dbz.
That is the minimun memory size which system should
have.  Or you'll take much long time to run expire.
-- 
Katsuhiro Kondou



More information about the inn-workers mailing list