Re: articles.gdbm file never get's smaller in size
Mirko Liss <[email protected]> Sun, 19 Oct 2003 18:28:19 +0200
| Newsgroups | gmane.network.noffle.user |
|---|---|
| Message-ID | <[email protected]> |
Miernik: > My /var/spool/noffle/data/articles.gdbm file never gets smaller in > size. $ ls --size /var/spool/noffle/data/articles.gdbm 83196 /var/spool/noffle/data/articles.gdbm $ noffle --expire Expiring articles [..bla bla.. overviews deleted from group ..bla bla..] $ ls --size /var/spool/noffle/data/articles.gdbm 83196 /var/spool/noffle/data/articles.gdbm $ noffle --rebuild Rebuilding article database $ ls --size /var/spool/noffle/data/articles.gdbm 62520 /var/spool/noffle/data/articles.gdbm Jim Hague added the --rebuild option in June 2002. In earlier versions, it was performed during expire. But gdbm databases are copied during reorganisation. If you were low on disc space, 'noffle --expire' used to fail. If you don't '--rebuild' after each '--expire', slack space in your database may be used to store new articles. The file articles.gdbm will not grow continually. I've told cron to '--expire' weekly and to '--rebuild' four times per year. BTW: Articles crossposted to groups with different expiry periods will be deleted at the _first_ possible date, not the last one. ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com