🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Bagarospo Thu, 12 Aug 2004 07:56
Very strange hook up
#69717
Author: Bagarospo
Date: Thu, 12 Aug 2004 07:56
44 lines
2918 bytes
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?!


Thanks

Stefano
Re: Very strange hook up
#69716
Author: 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/
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