makedbz and expire grow very big
Miquel van Smoorenburg
list-inn-workers at news.cistron.nl
Wed Nov 21 12:59:21 UTC 2001
With the latest INN CVS versions, if I do:
# ll history
-rw-rw-r-- 1 news news 986806103 Nov 21 13:50 history
# wc -l history
16766878 history
# makedbz -o -s 16766878
makedbz becomes quite big:
# ps aux | grep makedbz
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 10426 97.5 38.2 345400 344512 pts/0 R 13:54 0:45 makedbz -o -s 16766878
345 MB? During nightly expire, it grows about this big as well. This
box has 1GB of memory, so it isn't that much of a problem, but I've
got other boxes with 192/256 MB and they will trash to death because
of this.
Looks like the history.hash or history.index files are built in-memory
and only later on written out ?
Mike.
--
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former" -- Albert Einstein.
--
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels at cistron-office.nl (Miquel van Smoorenburg)
More information about the inn-workers
mailing list