Thread View: news.software.nntp
3 messages
3 total messages
Started by Hans van Staveren
Thu, 25 Aug 1988 07:39
diskspace margin in nntpserver?
Author: Hans van Staveren
Date: Thu, 25 Aug 1988 07:39
Date: Thu, 25 Aug 1988 07:39
10 lines
939 bytes
939 bytes
It would seem that having a disk space margin after which the nntpserver would not accept new articles would be a nice feature to have. It is not in the nntp version I have(1.5 it seems). Has anybody hacked that in yet, or is it a bad idea? Hans van Staveren Vrije Universiteit Amsterdam, Holland
Re: diskspace margin in nntpserver?
Author: Bjorn Victor
Date: Fri, 26 Aug 1988 16:34
Date: Fri, 26 Aug 1988 16:34
21 lines
1621 bytes
1621 bytes
In article <1311@sater.cs.vu.nl> sater@cs.vu.nl (Hans van Staveren) writes: >It would seem that having a disk space margin after which the nntpserver >would not accept new articles would be a nice feature to have. >It is not in the nntp version I have(1.5 it seems). > >Has anybody hacked that in yet, or is it a bad idea? > Well, I did a small hack to make our NNTP server (v1.5) look at both disk space and free inodes before accepting articles from IHAVE. It seems to work well, even though it could be optimized better. Also, maybe the check appear in more places than IHAVE. The code is based on the df code, so I'm not sure what rules there are for distributing it, but as long as you have the standard set of source licenses I guess it's OK. Does anybody know the rules? Or does anybody feel like reimplementing it without using df code? -- --Bjorn Victor victor@kuling.UU.SE Dept. of Computer Systems or Uppsala University, SWEDEN victor%kuling.UU.SE@uunet.UU.NET
Re: diskspace margin in nntpserver?
Author: Stan Barber
Date: Sat, 03 Sep 1988 06:10
Date: Sat, 03 Sep 1988 06:10
13 lines
1180 bytes
1180 bytes
I did this on my nntp server code. My nntp server happens to be System V so
I can use the ustat call to get the disk space info. This is distributable.
I have passed this suggestion to the folks at Berkeley who agree that it's
a good idea.
STAN
Stan internet: sob@bcm.tmc.edu Baylor College of Medicine
Olan uucp: {rice,killer,hoptoad}!academ!sob
Barber Opinions expressed are only mine.
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