Thread View: news.software.nntp
9 messages
9 total messages
Started by Larry Rosenman
Tue, 03 Dec 1996 00:00
Expire taking FOREVER.... (1.5-REL)
Author: Larry Rosenman
Date: Tue, 03 Dec 1996 00:00
Date: Tue, 03 Dec 1996 00:00
36 lines
1709 bytes
1709 bytes
I just converted newshost.cyberramp.net to inn 1.5 from INN 1.4unoff4, and today is the first expire. It starts at 23:40, it is now 07:50, and it's still running the expire program. Normally by now it is way into fastrm. The history file is ~280Meg. It is ~80Meg into building the new one. It appears to be the fact that 1.5 keeps updating the .pag file and 1.unoff4 didn't. Attached are the 2 config.data's in a Tar. Any ideas at all? I can't survive with this kind of performance, and will be going back to 1.4unoff4 unless you folks have an idea. begin 664 config.tar <uuencoded_portion_removed> 6 end -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-399-0210 (voice) Internet: ler@lerami.lerctr.org US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-399-0210 (voice) Internet: ler@lerami.lerctr.org US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726
Re: Expire taking FOREVER.... (1.5-REL)
Author: Larry Rosenman
Date: Thu, 05 Dec 1996 00:00
Date: Thu, 05 Dec 1996 00:00
86 lines
3113 bytes
3113 bytes
In article <E1uCxw.7L8@lerami.lerctr.org>, Larry Rosenman <ler@lerami.lerctr.org> wrote: % %I just converted newshost.cyberramp.net to inn 1.5 from INN 1.4unoff4, and %today is the first expire. % %It starts at 23:40, it is now 07:50, and it's still running the expire program. % %Normally by now it is way into fastrm. % %The history file is ~280Meg. % %It is ~80Meg into building the new one. It appears to be the fact that %1.5 keeps updating the .pag file and 1.unoff4 didn't. % %Attached are the 2 config.data's in a Tar. % %Any ideas at all? I can't survive with this kind of performance, %and will be going back to 1.4unoff4 unless you folks have an idea. And James replied: > What Solaris version? No-one else has mentioned a problem here... Solaris 2.5 (Sparc) with DiskSuite. Although the History FS is NOT ODS, just the spool. > > Expire has changed very little and not at all in this area. One thing that > changed was a CPP symbol used to include (or not) the madvise() function in > dbz.c. It's possible that you are now using that and you didn't before. If > you still have your source tree for both 1.4 and 1.5 around, then try > running dbz.c through > > gcc -I../include -DSUNOS5 -E dbz.c | grep madvise > > and see if they're the same. If not then try changing the line (in dbz.c) > > #if defined (MADV_RANDOM) > > to > > #if 0 I replied to this with: It WAS different. Update applied and installed. I'll no better tommorrow. Thanx 1e6 for the reply. Larry > > and do a 'make update'. Let me know how it goes. And unfortuately, it didn't change things. Any other Ideas? Thanx! > > Thanks > > James > -- > James Brister brister@vix.com > Internet Software Consortium inn@isc.org -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-399-0210 (voice) Internet: ler@lerami.lerctr.org US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726 %-- %Larry Rosenman http://www.lerctr.org/~ler %Phone: +1 972-399-0210 (voice) Internet: ler@lerami.lerctr.org %US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-399-0210 (voice) Internet: ler@lerami.lerctr.org US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726
Re: Expire taking FOREVER.... (1.5-REL)
Author: Per Hedeland
Date: Sat, 07 Dec 1996 00:00
Date: Sat, 07 Dec 1996 00:00
28 lines
1635 bytes
1635 bytes
In article <E1y2ry.65I@lerami.lerctr.org> ler@lerami.lerctr.org (Larry Rosenman) writes: >In article <E1uCxw.7L8@lerami.lerctr.org>, >Larry Rosenman <ler@lerami.lerctr.org> wrote: >% >%I just converted newshost.cyberramp.net to inn 1.5 from INN 1.4unoff4, and >%today is the first expire. >% >%It starts at 23:40, it is now 07:50, and it's still running the expire program. Same here, more or less - expire went from 20 minutes with unoff4 to *5 hours* 20 minutes with 1.5. History file is some 150 MB. Solaris 2.5.1 on a system that is a bit short on RAM. Using MMAP for dbz - btw, it seems specifying MMAP for active automatically gives you MMAP for dbz too in 1.5 - not sure that is a good idea... >And James replied: >> Expire has changed very little and not at all in this area. One difference I noted is that NGH_SIZE has been upped from 128 to 2048 (I believe there has been some discussion about this here) - could that be relevant? --Per Hedeland per@erix.ericsson.se
Re: Expire taking FOREVER.... (1.5-REL)
Author: Kachun Lee
Date: Sat, 07 Dec 1996 00:00
Date: Sat, 07 Dec 1996 00:00
29 lines
1776 bytes
1776 bytes
In article <58bvbf$4qv$1@news.du.etx.ericsson.se>, per@erix.ericsson.se says... > >In article <E1y2ry.65I@lerami.lerctr.org> ler@lerami.lerctr.org (Larry >Rosenman) writes: >>In article <E1uCxw.7L8@lerami.lerctr.org>, >>Larry Rosenman <ler@lerami.lerctr.org> wrote: >>% >>%I just converted newshost.cyberramp.net to inn 1.5 from INN 1.4unoff4, and >>%today is the first expire. >>% >>%It starts at 23:40, it is now 07:50, and it's still running the expire program. > >Same here, more or less - expire went from 20 minutes with unoff4 to >*5 hours* 20 minutes with 1.5. History file is some 150 MB. Solaris >2.5.1 on a system that is a bit short on RAM. Using MMAP for dbz - >btw, it seems specifying MMAP for active automatically gives you MMAP >for dbz too in 1.5 - not sure that is a good idea... > [snip] We are still using 1.4unoffx, but if I used MMAP dbz for expire, it will run very very long also... I never actually wait for one to finished, but it is in the multiples of what you described. So I only used the MMAP dbz for innd and nnrpd, but a non-MMAP dbz for expire. And we are using FreeBSD.
Re: Expire taking FOREVER.... (1.5-REL)
Author: Raul Zighelboim
Date: Sat, 07 Dec 1996 00:00
Date: Sat, 07 Dec 1996 00:00
20 lines
1141 bytes
1141 bytes
Hello there! I am another victim of a long expire proceess; over 10 hours for 1.5 under FreeBSD 1.2.6R. I do not have comparisons with 1.4, since 1.4 never run in this system, nor for expire under out previous news server (AIX 3.2.5) since we did not have a full feed in that machine. So, is there anything I can do to improve the expire time, short of replacing my 2 9-gig drives with a bunch of 2-gig drives ? Unrelated (almost) were do I find the box I need to carry one dozen scsi drives and two busses ? Thanks a lot.
Re: Expire taking FOREVER.... (1.5-REL)
Author: Larry Rosenman
Date: Sun, 08 Dec 1996 00:00
Date: Sun, 08 Dec 1996 00:00
38 lines
1937 bytes
1937 bytes
In article <01bd0343$3adc7320$667d1bcc@rodia>, Raul Zighelboim <mango@communique.,net> wrote: % %Hello there! % % I am another victim of a long expire proceess; over 10 hours % for 1.5 under FreeBSD 1.2.6R. WHat I did was compile a copy of lib/dbz.c with MMAP not defined and with the lines in include/clibrary.h that if ACT_MMAP is defined NOT to define MMAP. I then copied this version to the expire/ directory, and changed the make file to include this BEFORE ../libinn.a when linking expire. % % I do not have comparisons with 1.4, since 1.4 never run in this % system, nor for expire under out previous news server (AIX 3.2.5) % since we did not have a full feed in that machine. % % So, is there anything I can do to improve the expire time, short % of replacing my 2 9-gig drives with a bunch of 2-gig drives ? See above. % % Unrelated (almost) were do I find the box I need to carry one % dozen scsi drives and two busses ? I have 2 separate towers.... % % Thanks a lot. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-399-0210 (voice) Internet: ler@lerami.lerctr.org US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726
Re: Expire taking FOREVER.... (1.5-REL)
Author: Larry Rosenman
Date: Sun, 08 Dec 1996 00:00
Date: Sun, 08 Dec 1996 00:00
33 lines
1922 bytes
1922 bytes
In article <58d6fd$f8n$1@news.du.etx.ericsson.se>, Per Hedeland <per@erix.ericsson.se> wrote: %On a more general note, while the badness of MMAP-dbz for expire %apparently varies depending on your system (e.g. it din't cause %noticeable problems for me on servers with SunOS 4.1.4 and more RAM), %it seems it can never be an advantage - for expire, it should always be %best to build the new .pag in core and not write any part of it out %until finished. I have some patches to allow expire to turn off use of %mmap() while still allowing it for innd and nnrpd, but I guess I should %test them before sharing.:-) % %--Per Hedeland %per@erix.ericsson.se I put an equivalent fix into my clibrary.h, and also built 2 different dbz.o's. THe one I put in libinn.a was WITH -DMMAP, and the one I link with expire is *WITHOUT* -DMMAP. Expire ran in 20 Minutes again. I think this is definitately related. James: Any comments? Larry -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-399-0210 (voice) Internet: ler@lerami.lerctr.org US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726
Re: Expire taking FOREVER.... (1.5-REL)
Author: Per Hedeland
Date: Sun, 08 Dec 1996 00:00
Date: Sun, 08 Dec 1996 00:00
68 lines
3399 bytes
3399 bytes
In article <58chhc$pmf@clark.zippo.com> kachun@zippo.com (Kachun Lee) writes: >In article <58bvbf$4qv$1@news.du.etx.ericsson.se>, per@erix.ericsson.se >says... >>Same here, more or less - expire went from 20 minutes with unoff4 to >>*5 hours* 20 minutes with 1.5. History file is some 150 MB. Solaris >>2.5.1 on a system that is a bit short on RAM. Using MMAP for dbz - >>btw, it seems specifying MMAP for active automatically gives you MMAP >>for dbz too in 1.5 - not sure that is a good idea... >> [snip] > >We are still using 1.4unoffx, but if I used MMAP dbz for expire, it will run >very very long also... I never actually wait for one to finished, but it is in >the multiples of what you described. So I only used the MMAP dbz for innd and >nnrpd, but a non-MMAP dbz for expire. And we are using FreeBSD. Right on target! I thought I was running with MMAP-dbz in unoff4 too, after some fiddling to try to improve the performance of innd the week before upgrading to 1.5 - but I had only installed the new innd, not expire! This definitely means that ACT_STYLE MMAP causing MMAP to get #defined in 1.5 as I mentioned above is a really bad idea, and probably the reason others are getting a slow expire when upgrading - below is the obvious patch for this. On a more general note, while the badness of MMAP-dbz for expire apparently varies depending on your system (e.g. it din't cause noticeable problems for me on servers with SunOS 4.1.4 and more RAM), it seems it can never be an advantage - for expire, it should always be best to build the new .pag in core and not write any part of it out until finished. I have some patches to allow expire to turn off use of mmap() while still allowing it for innd and nnrpd, but I guess I should test them before sharing.:-) --Per Hedeland per@erix.ericsson.se *** include/clibrary.h.ORIG Thu Dec 5 17:34:17 1996 --- include/clibrary.h Sat Dec 7 23:51:49 1996 *************** *** 116,129 **** extern POINTER malloc(); extern POINTER realloc(); ! #if defined(ACT_MMAP) ! #define MMAP ! #endif /* defined(ACT_MMAP) */ ! #if defined(MMAP) /* =()<typedef @<MMAP_PTR>@ MMAP_PTR;>()= */ typedef caddr_t MMAP_PTR; extern MMAP_PTR mmap(); ! #endif /* defined(MMAP) */ /* Some backward systems need this. */ extern FILE *popen(); --- 116,126 ---- extern POINTER malloc(); extern POINTER realloc(); ! #if defined(ACT_MMAP) || defined(MMAP) /* =()<typedef @<MMAP_PTR>@ MMAP_PTR;>()= */ typedef caddr_t MMAP_PTR; extern MMAP_PTR mmap(); ! #endif /* defined(ACT_MMAP) || defined(MMAP) */ /* Some backward systems need this. */ extern FILE *popen();
Re: Expire taking FOREVER.... (1.5-REL)
Author: Jonathan A. Davis
Date: Mon, 09 Dec 1996 00:00
Date: Mon, 09 Dec 1996 00:00
32 lines
1873 bytes
1873 bytes
In news.software.nntp Raul Zighelboim <mango@communique.,net> wrote: : Hello there! : I am another victim of a long expire proceess; over 10 hours : for 1.5 under FreeBSD 1.2.6R. Hi, Does this problem appear to be FreeBSD/INN related? I'm running 1.5 under Linux (2.0.27) and using MMAP across the board. My expire (on 20GB of news) takes approx. 2.1 hours (on a RAID array). The reason I am asking is that a fellow admin was considering upgrading to 1.5 (He's a FreeBSD shop) and I'm wondering whether to advise him to hold-off until the problem is sorted out. ideas? TIA, -- -Jonathan _ _ ------------------------------------------------------------->>>>>>>>-(o)(o)--- Jonathan A. Davis | Academic Systems Analyst | Hattiesburg/Gulf Park/Stennis Computing Center | Box 5171 | 39406 | (601) 266-4103 | jonathan.davis@usm.edu http://evergreen.cc.usm.edu/~davis | Linux: The choice of a GNU generation ------------------------------------------------------------------------------- Dave? What are you doing Dave? Put those Windows(tm) disks away. Dave?...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads