🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23500

INN die?

#23500
From: kmlim
Date: Fri, 21 Nov 1997 00:00
29 lines
1546 bytes
I have this when INND died when using ps -auxww|grep sh.
I am using INN1.7

sh -c \n^I# grab the lock from the parent\n^I#\n^I# This is safe because
only the parent will have locked\n^I# the site.  We break the lock and
reclaim it.\n^Irm -f ${LOCK}\n^
Itrap "rm -f ${LOCK} ; exit 1" 1 2 3 15\n^Ishlock -p $$ -f ${LOCK} ||
{\n^I    W
HY="`cat ${LOCK}`"\n^I    echo "${PROGNAME}: [${PARENTPID}:$$] ${SITE}
locked ${WHY} `date`"\n^I    exit\n^I}\n^I# process the site
BATCHFILE\n^Iif [ -f "${BATC
HFILE}" ]; then\n^I    test -n "${SIZE}" && shrinkfile -m${MAXSIZE}
-s${SIZE} -v
 ${BATCHFILE}\n^I    if [ -s ${BATCHFILE} ] ; then\n^I^Iecho
"${PROGNAME}: [${PA
RENTPID}:$$] begin ${SITE} `date`"\n^I^Iecho "${PROGNAME}:
[${PARENTPID}:$$] inn
xmit ${INNFLAGS} ${HOST} ..."\n^I^Ieval innxmit ${INNFLAGS} ${HOST}
${BATCH}/${B
ATCHFILE}\n^I^Iecho "${PROGNAME}: [${PARENTPID}:$$] end ${SITE}
`date`"\n^I    e
lse\n^I^Irm -f ${BATCHFILE}\n^I    fi\n^Ielse\n^I    echo "${PROGNAME}:
file ${B
ATCH}/${BATCHFILE} for ${HOST} not found"\n^Ifi\n^Irm -f ${LOCK}\n



Technical Details
Message-ID: <34757C26.18890446@mimos.my>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <34757C26.18890446@mimos.my>
Subject: INN die?
Date: Fri, 21 Nov 1997 00:00:00 +0000
From: kmlim <kmlim@mimos.my>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 291220058
Distribution: inet
Organization: Unconfigured
Newsgroups: news.software.nntp