🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69716

Re: Very strange hook up

#69716
From: Curt Welch
Date: Thu, 12 Aug 2004 14:52
51 lines
3433 bytes
"Bagarospo" <stefano@#nospam#.3000.it> wrote:
> Hi all
>
> this morning I saw in my system a problem. 'ps xau' command said me:
>
> .....
> news      3814  3.9  9.4 240860 24080 ?      R    Aug11  54:45
> /usr/lib/news/bin/innd -p 3,4
> news      3815  0.0  0.1  2284  424 ?        S    Aug11   0:00 /bin/sh
> /usr/lib/news/bin/rc.news
> news      3818  0.0  0.1  4884  480 ?        SN   Aug11   0:01
> /usr/bin/perl -w /usr/lib/news/bin/controlchan
> news      3819  0.5  0.7 17248 1892 ?        SN   Aug11   8:09
> /usr/lib/news/bin/innfeed
> news      3821  0.0  0.0  1600  248 ?        SN   Aug11   0:00
> /usr/lib/news/bin/ninpaths -p -d /var/log/news/path/inpaths.%d
> news      3823  0.0  0.1  2420  424 ?        S    Aug11   0:06 /bin/sh
> /usr/lib/news/bin/innwatch
> root     30026  0.0  0.0  2008    8 ?        S    04:15   0:00
> /USR/SBIN/CRON
> news     30028  0.0  0.1  2232  424 ?        S    04:15   0:00 /bin/sh -c
> test -x /usr/lib/news/bin/news.daily && news.daily expireo
> news     30030  0.0  0.1  2284  432 ?        S    04:15   0:00 /bin/sh
> /usr/lib/news/bin/news.daily expireover lowmark delayrm
> news     30922  0.0  0.1  2284  432 ?        S    05:13   0:00 /bin/sh
> /usr/lib/news/bin/news.daily expireover lowmark delayrm
> news     30923  0.0  0.1  1496  288 ?        S    05:13   0:00 sed -e /No
> such file or directory/d -e s/^/    /
> news     30924  1.8 76.1 237272 193972 ?     D    05:13   4:56 expire -v1
> news     31491  0.0  0.2  1864  764 ?        SN   06:06   0:02
> /usr/lib/news/bin/ninpaths -p -d /var/log/news/path/inpaths.%d
>
> There's a strange process with PID 30923. Processes starts every night in
> crontab, and hang with that 'sed'. But i'm not able to find problem.
>
> There's no on my disk a dir named "No such file or directory". maybe that
> name is the result of a script. But which script?!

>From the above, I'd say news.daily since it's PID 30822 and the sed is
30923.

That sed command is just deleting lines which have the "No such file or
directory" string in them.  That's what the d at the end of the pattern
means.

sed is most likely part of a pipeline with expire.  It's your expire which
is either still running, or is hung I would guess.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20040812105200.788$wt@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
References: <cff7df$1to$1@newsfeed.nextoneserver.com>

Show Full Headers
Complete Article Headers
Message-ID: <20040812105200.788$wt@newsreader.com>
Subject: Re: Very strange hook up
Date: Thu, 12 Aug 2004 14:52:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <cff7df$1to$1@newsfeed.nextoneserver.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 5gF3UQJfuBFVjr5OLqpNVA32X8Nfwc8P2@4X+Cm.TXX1Ow,-Nl
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
 ?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 51