Thread View: news.software.nntp
9 messages
9 total messages
Started by Tim Pennick
Wed, 13 Oct 1999 00:00
New Administrator needs help
Author: Tim Pennick
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
22 lines
1819 bytes
1819 bytes
Hi All, I'm currently on the traditional steep learning curve, having just joined a team in which one of my responsibilities will be administration of our news server. We recently installed INN2.1, which seems to be running well (as far as I can tell with limited experience), but we are puzzled by anomalies with respect to disk usage. The directory /var/news/db containing the history file etc. is mounted as a separate file system. We monitor the size of this file system via a script which warns us if any partitions are becoming dangerously full, and this has alerted us to the fact that the file system is up to 88% full when the disk usage script is run. However, this figure drops to 40% sometime during the day. We assumed that 'expire' was copying the history file prior to making changes, but a listing of the contents of this directory doesn't seem to show any new files during the period when the partition is at its largest. We also seem to have a lot of space unaccounted for in our archive area, but that may be a totally different story. Any help gratefully accepted. Tim Pennick
Re: New Administrator needs help
Author: Paul Tomblin
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
32 lines
2473 bytes
2473 bytes
In a previous article, brad@shub-internet.org (Brad Knowles) said: >In article <7u20uc$5qr$1@piper.xcski.com>, ptomblin@xcski.com (Paul >Tomblin) wrote: >> If you knew Unix as well >> a you should to be a sysadmin, you'd know that temporary files don't >> necessarily show up in "ls". > > I think that was uncalled for, and I expect better than that of you. The fact that a file can be taking up space on a drive without showing up on an ls (because it's been unlinked but is still open) is such an elementary part of systems administration that I'd expect any sysadmin worthy of the title to know it. There are several major reasons for knowing it: - It's a standard Unix way of creating temporary files that will be automatically deleted when you're done with them. - You can easily run out of space on a server because some zombied process still has a file open that has long since been deleted. On one of my news servers, the software is old and nnrpds have a bad habit of not closing files and dying, and so I have run a script to find these guys and reap them, or else I run out of space in the partition that holds history and active. - The script kiddies certainly know it, and they're using it to root servers run by people who don't know it. So is this guy a sysadmin, or a PFY? -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Re: New Administrator needs help
Author: Andrew Gierth
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
13 lines
1439 bytes
1439 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes: Russ> I wonder if nnrpd ever periodically closes and reopens the Russ> history file; I haven't been in that part of the code (yet). In 2.2, nnrpd closes the history file if, while processing a GROUP command, it notices that the inode number of the history text file has changed. See HIScheck in misc.c, called from group.c. -- Andrew.
Re: New Administrator needs help
Author: Brad Knowles
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
42 lines
2660 bytes
2660 bytes
In article <7u299j$9u8$1@piper.xcski.com>, ptomblin@xcski.com (Paul
Tomblin) wrote:
> Nothing you said there contradicts what I said. As a matter of fact, all you
> did is say *exactly* what I said, but in more words.
When you're getting into semantic battles, precisely what you say and
precisely how you say it is the only issue being discussed, and in this
case because Mike was more precise and more exact, he is correct and you
were not.
> The fact remains that I answered the guy's question as well, but I did it in a
> purposely terse manner in order to encourage him to do some research on his
> own. The mark of a good sysadmin or programmer is a willingness to learn on
> his or her own after being pointed in the right direction.
I have publicly chastised much loftier people than you in a manner
much more in keeping with the way you attacked the original poster.
However, it is as unproductive as the type of original attack it was
intended to rebut.
This kind of attitude problem is precisely the sort of thing we need
to correct about the 'net in general, and USENET and FreeBSD in
particular.
So long as people engage in pissing matches and dicksize wars that
result from extremely acidic responses (while perhaps technically
correct), we will all suffer the negative results.
I think it's time for all of us to grow up and be a bit more
professional -- yes, myself included.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: New Administrator needs help
Author: Paul Tomblin
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
76 lines
4251 bytes
4251 bytes
In a previous article, drechsau+usenet@yuck.net (Mike Horwath) said: <Paul Tomblin <ptomblin@xcski.com> wrote: <: - It's a standard Unix way of creating temporary files that will be <: automatically deleted when you're done with them. < <Uhm, that would be wrong. < <Let's step into it a little further. < <Maybe programs will open a temporary file, then delete the reference <to it, but the inode is still open, and as long as that inode is open, <there will be space in use, but standard utilities like 'ls' will not <see a file. < <As soon as the last reference to this file is closed, the space will <be released. < <The application deleted the file, not the system. < <And it is not 'standard Unix', it is standard application development <on UNIX platforms. Nothing you said there contradicts what I said. As a matter of fact, all you did is say *exactly* what I said, but in more words. <: - You can easily run out of space on a server because some zombied process <: still has a file open that has long since been deleted. On one of my news < <A zombied process is a process who is taking up a slot in the process <table, without any other associted system resources in use. From the <manpage: < < Zombie state: process terminated and parent not waiting. I wasn't using "zombied" in the sense of "in Zombie state", but in the sense of "not doing what it's supposed to be doing - effectively dead but still holding files open". Like I said, before I started reaping old nnrpds on my server, I always ran into trouble because I had these two day old nnrpds that kept the history file from two days ago around. I only have space for two history files, which is enough to keep expire running, but if that third copy was left around, expire would fail. <: - The script kiddies certainly know it, and they're using it to root servers <: run by people who don't know it. < <Wow, sure makes it hard for them to find their file doesn't it? Even <if you know the name of the file before it was removed by the <application - doesn't mean they can read it, they would need to know <the inode number prior to the file being wacked, and some home written <utilities to open the inode directly to read the contents. Most <script kiddies won't know how to do that. Most script kiddies don't know how to do anything, except run the scripts they find on other people's ftp sites. But some of those scripts are infernally cleverly written. And yes, there *are* script kiddie scripts that have one process that keeps a file open after deleting it, and pass the inode around to the other modified programs. That makes the root kit very hard to find. <So, I have now spanked you Three swings and three misses. I hope you do better with your girl friend. The fact remains that I answered the guy's question as well, but I did it in a purposely terse manner in order to encourage him to do some research on his own. The mark of a good sysadmin or programmer is a willingness to learn on his or her own after being pointed in the right direction. -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Re: New Administrator needs help
Author: Brad Knowles
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
29 lines
2002 bytes
2002 bytes
In article <7u20uc$5qr$1@piper.xcski.com>, ptomblin@xcski.com (Paul
Tomblin) wrote:
> If you knew Unix as well
> a you should to be a sysadmin, you'd know that temporary files don't
> necessarily show up in "ls".
I think that was uncalled for, and I expect better than that of you.
I certainly wouldn't have thought of that answer myself, and might
well have asked the same question in a similar forum -- And I've been
doing Unix systems administration for over ten years. We all have our
areas of expertise, and we all have our areas of inexperience and/or
ignorance. Some of those areas of inexperience or ignorance can be quite
surprising.
When the question is well reasoned and the person has demonstrated
that they have at least attempted to find out the source of the problem, I
expect more civil answers than that.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: New Administrator needs help
Author: Brad Knowles
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
38 lines
2368 bytes
2368 bytes
In article <slrn80946o.l38.niels@liquid.tpb.net>, niels@usenet.bakker.net
(N) wrote:
> Please be so kind as to take ad-hominem attacks like that to private email
> in the future.
Personally, I think that was a pretty restrained response, and to
properly support the person that was originally being attacked, it needed
to be seen in the same forum.
> And, for God's sake, this is fucking Usenet. If you expect anything, expect
> giant heaps of elephant excrement at inopportune moments.
While that may be what some occasionally heap upon others (witness the
posting to which I am responding), I think we have a right to expect that
the community of USENET news administrators around the world is a bit more
professional than that.
We're a small enough and relatively tight-enough knit community that
we will all suffer if we fail to be more liberal in what we accept and
conservative in what we generate.
We don't have to operate on the level of professionalism I would
expect at a RIPE meeting, but it would be nice to set that as a goal.
What I don't understand is why so many people today seem to be itching
to get themselves plonked.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: New Administrator needs help
Author: Paul Tomblin
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
15 lines
1435 bytes
1435 bytes
In a previous article, Tim Pennick <tpennick@axion.bt.co.uk> said: >sometime during the day. We assumed that 'expire' was copying the history >file prior to making changes, but a listing of the contents of this directory Yes, expire makes a second copy of the history file. If you knew Unix as well a you should to be a sysadmin, you'd know that temporary files don't necessarily show up in "ls". -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Re: New Administrator needs help
Author: Brad Knowles
Date: Thu, 14 Oct 1999 00:00
Date: Thu, 14 Oct 1999 00:00
21 lines
1823 bytes
1823 bytes
In article <xV5N3.1459$b84.222569@ptah.visi.com>, drechsau+usenet@yuck.net
(Mike Horwath) wrote:
> Back when I was still running INN, I would see this happen on a
> regular basis and more than once I did run out of space because of it.
>
> I have weird users, they leave NNTP sessions running for days, back
> before timeouts worked 100% (INN 1.4 days).
This is why it's real nice to have separate news reader servers that
have their own local history files, so that the main news spool server
doesn't have this problem. ;-)
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
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