From rsalz@uunet.uu.net Tue Nov 22 11:01:33 1994 Received: from rodan.UU.NET (rodan.UU.NET [153.39.128.10]) by postman.osf.org (8.6.9/8.6.x) with ESMTP id MAA12995 for ; Tue, 22 Nov 1994 12:01:32 -0400 Received: by rodan.UU.NET id QQxrdg14157; Tue, 22 Nov 1994 11:01:19 -0500 Date: Tue, 22 Nov 1994 11:01:19 -0500 From: rsalz@uunet.uu.net (Rich Salz) Message-Id: To: rsalz@osf.org Subject: expire.ctl.ctl Status: R >From dillon@apollo.west.oic.com Mon Nov 21 15:30:34 1994 Received: from relay1.UU.NET by rodan.UU.NET with SMTP id QQxrag10624; Mon, 21 Nov 1994 15:30:34 -0500 Received: from apollo.west.oic.com by relay1.UU.NET with SMTP id QQxrag17763; Mon, 21 Nov 1994 15:30:17 -0500 Received: (from dillon@localhost) by apollo.west.oic.com (8.6.8.1/8.6.6) id MAA21835; Mon, 21 Nov 1994 12:29:52 -0801 Date: Mon, 21 Nov 1994 12:29:52 -0801 From: Matthew Dillon Message-Id: <199411212030.MAA21835@apollo.west.oic.com> To: rsalz@uunet.uu.net Subject: Re: INN is great, bug fix for BSDI Status: R :thanks for the kind words; yeah msync() will be in 1.5 : You will appreciate this. This is our news spool: news1:/home/news# df -i spool/news Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/sd1h 8525499 4300832 4139412 51% 1202620 1579458 43% /home/news/spool/news news1:/home/news# One problem we are having is in running expire. The history file is huge: -rw-rw-r-- 1 news bin 118439911 Nov 21 12:24 history -rw-rw-r-- 1 news bin 125 Nov 21 12:24 history.dir -rw-rw-r-- 1 news bin 17552020 Nov 21 11:46 history.pag It takes 30-40 minutes to rewrite it on a loaded system, and tends to slow down news propogation while its doing it. Not a big deal, but it means I can't run expire more then 4 times a day best case without getting behind on my feeds. I expect the file to grow to 200MB by the time the spool area fills up. - Oh, while I'm at it, I also wrote a cute program that builds the expire.ctl file dynamically based on available space. Feel free to include this in the dist (or not) as you please. Basically, the expirectl programs determines the amount of disk blocks and inodes free in the spool and creates a new expire.ctl file based on an expire.ctl.ctl template. The template specifies expiration times as a fraction of nominal. expirectl adjusts the nominal expiration up or down based on available disk space. The idea is to make expiration as hands off as possible. I tested it on a smaller spool and it appeared to work fine. Currently it only works for single-partition news spools tho. The above spool will not really exercise the program for another 14 days or so :-). -Matt Matthew Dillon dillon@apollo.west.oic.com 1005 Apollo Way ham: KC6LVW (no mail drop) Incline Village, NV. 89451 Obvious Implementations Corporation USA Sandel-Avery Engineering [always include a portion of the original email in any response!] begin 660 expirectl.tar M97AP:7)E8W1L+F,````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M`````````````#$P,#7!E'!I'!I'!IPH)"7!T&ET*#$I.PH)("`@('T*"7T*("`@('T*"B`@("!I M9B`HPH)1DE,12`J9FD["@EC:&%R(&)U9ELR M-39=.PH*"6EF("@H9FD@/2!F;W!E;BA%6%!)4D5?1$%94RP@(G(B*2D@(3T@ M3E5,3"D@>PH)("`@('=H:6QE("AF9V5TF5O9BAB=68I+"!F M:2D@(3T@3E5,3"D@>PH)"6EF("AS=')N8VUP*&)U9BP@(G1I;64B+"`T*2`] M/2`P*2!["@D)("`@(&5X<&ER94EN8U1I;64@/2!S=')T;VPH8G5F("L@-"P@ M3E5,3"P@,"D["@D)?2!E;'-E(&EF("AS=')N8VUP*&)U9BP@(F1A>7,B+"`T M*2`]/2`P*2!["@D)("`@(&5X<&ER941A>7,@/2!S=')T;VPH8G5F("L@-"P@ M3E5,3"P@,"D["@D)?0H)("`@('T*"2`@("!F8VQO71E'!I7-<;B(L(&5X<&ER941A>7,I.PH)?2!E;'-E(&EF("AB>71EPH)("`@(&QO;F<@9'0@/2`H;&]N9RDH=&EM92A.54Q,*2`M(&5X M<&ER94EN8U1I;64I.PH*"2`@("!I9B`H9'0@/CT@-C`@*B`V,"`J(#(T('Q\ M(&1T(#P@+38P*2!["@D)*RME>'!I'!IPH)"7!R:6YT M9B@B=VEL;"!I;F-R96UE;G0@97AP:7)A=&EO;B!L871E'!I7,I.PH)?0H@("`@?0H* M("`@("\J"B`@("`@*B!7PH)1DE,12`J9FD["@E&24Q%("IF;SL*"@EI9B`H*&9I(#T@9F]P M96XH15A025)%7T-43%]#5$PL(")R(BDI("$]($Y53$PI('L*"2`@("!I9B`H M*&9O(#T@9F]P96XH15A025)%7T-43"`B+G1M<"(L(")W(BDI("$]($Y53$PI M('L*"0EC:&%R('-B=69;,C`T.%T["@D)8VAAPH)"2`@("!C:&%R("IB87-E(#T@PH)"0ED;W5B;&4@9#L* M"0D):6YT(&T@/2`P.PH*"0D)8F-O<'DH8F%S92P@9'!TPH)"0D@("`@;&]N9R!V(#T@*&QO M;F"4P.&QX7&XB M+"!E>'!I&ET*#`I.PI]"@H````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M`````````&5X<&ER92YC=&PN8W1L```````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````Q,#`V-#`@`"`@,C`P,"``("`R,#`P(``@("`@ M("`@,C$W,2`@-38V-#(P,#(T-"`@,3(V-34`(#`````````````````````` M```````````````````````````````````````````````````````````` M````````````````````````````````````````````````````=7-T87(@ M(`!D:6QL;VX``````````````````````````````````&1I;&QO;@`````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M````````````````````````````````(R!%6%!)4D4N0U1,+D-43"`H15A0 M25)%+D-43"!'14Y%4D%4140@1E)/32!%6%!)4D4N0U1,+D-43"`A(2$I"B,* M(R!4:&4@97AP:7)E+F-T;"!F:6QE(&ES(&=E;F5R871E9"!B>2!T:&4@97AP M:7)E8W1L('!R;V=R86T@9G)O;2!T:&4*(R!E>'!I71E2!E>'!I2`*(R!A(&-A;&-U;&%T960@=F%L=64L('=H97)E M(&$@;75L=&EP;&EE'!I'!I6]U(&%R92`G8V%T8VAI;F<@=7`G M(&]N(&YE=W,@869T97(*(R!A(&QO;F<@<&5R:6]D(&]F(&1O=VYT:6UE(%5. M3$534R!Y;W4@=7-E('1H92`M<"!O<'1I;VX@=&\@97AP:7)E+@H*+W)E;65M M8F5R+SI;,2XR+S(P70H*(R,@($ME97`@9F]R(#$M,3`@9&%Y3I!.C$Z6S`N-5TZ6S(N,%T*86QT+F)I;F%R:65S+G!I8W1U M