Ben Ocean wrote:
> 
> At 03:00 PM 4/24/2001 -0500, you wrote:
> >Hm.  Guess arbitrarily closing the port was probably a bad idea, huh?
> >Is this Linux's/RedHat's fault?
> 
> hindsight's 20/20

But foresight is necessary.  Sounds like you and your hired proxies are
making decisions about networked applications without having sufficient
information to hand.  This happens of course, but let's give credit
where credit is due when things go wrong.

> > > Then, I noticed there was a problem with /usr/bin/slocate. Now,
> > > when I say *problem*, I mean the damn thing was chewing up 80%+ of my CPU!
> >
> >All the time?  Or just at certain times?
> 
> Dunno for the slocate problem. When the problem was in logrotate.status
> (presumably before it got to slocate) it ran for *hours* then crashed.

I do not understand.  logrotate is independent of slocate, it's doubtful
that the same issue would cause both of these processes to run haywire,
with the exception of filesystem-related problems in /var, maybe.  Did
you ever get to the bottom of the logrotate problem?  I don't recall
mention of it previously in this thread.

> Makes newbies skittish...

Good.  Skittishness is what turns newbies into BOFHen.  Eventually. 
Face your fear and learn.

> >Since updating slocate, have you run updatedb(1L)?
> 
> You mean updatedb without the (1L)

Sorry, (1L) refers to the section in which the manpage resides.  Yes, I
do mean to run just updatedb with no arguments.

> It chokes. Gave it about 10
> seconds then killed the command.

Part of the reason why I include the manpage section with the reference
to the command is so that you will know that there is a manpage for the
command.  And read it.  Ten seconds is almost certainly not long enough
to let updatedb run.  It indexes your whole filesystem.  That is how
[s]locate works.  And by the way, while it is indexing your whole
filesystem you should expect it to chew some CPU.

Before assuming that a program is hung, try watching it with strace(1). 
If you see it repeating the same sequence over and over again with no
changes, then it's (probably) hung.  If it's just taking lots of time or
CPU, it may be doing what it's supposed to do.

> >http://www.linux-geek.org/slocate/
> 
> dead page. Looked at the home page: strange but unrelated.

Crud.  Well, my search efforts don't fare any better.  But before you
bug them you should give the software an opportunity to run properly.

> Tried B4 I wrote the list. No man page on my box for slocate. RH6.2

That's funny...

[mjinks@lyra mjinks]$ cat /etc/redhat-release 
Red Hat Linux release 6.2 (Zoot)
[mjinks@lyra mjinks]$ man -k slocate
Dislocate [dislocate] (1)  - disconnect and reconnect processes
# Note, the above is a false hit
slocate              (1)  - Security Enhanced version of the GNU Locate
slocate [locate]     (1)  - Security Enhanced version of the GNU Locate
updatedb             (1)  - update the slocate database

Do you get any output from

rpm -V slocate

?

Oh yeah: rpm(8). ;)

-- 
~~~Michael Jinks, IB // Technical Entity // Saecos Corporation~~~~
We write precisely
since such is our habit in
talking to machines;   -- anonymous



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to