🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Vern Soehner Tue, 28 Jan 1997 00:00
ME cant remalloc 1048576 bytes Not enough space???
#14536
Author: Vern Soehner
Date: Tue, 28 Jan 1997 00:00
177 lines
6413 bytes
Hi.

We have been getting this message several times a day and innd goes
down ...

>Jan 25 08:08:19 cosmos innd: ME cant remalloc 1048576 bytes Not enough space
>Jan 27 11:08:05 cosmos innd: ME cant remalloc 1048576 bytes Not enough space
>Jan 27 19:12:20 cosmos innd: ME cant remalloc 1048576 bytes Not enough space

The FAQ has the 2 following explanations ....

>Q:  INN-1.4sec running on an HP9000 s700 with HP-UX 9.01 leaks memory
>like crazy.  The innd process grows and grows, then stops with:
>	"ME cant remalloc 8192 bytes Not enough space"
>A:  The cause turns out to be a memory leak in the standard C library (both
>/lib/libc.a and /lib/libc.sl).  Installed patch PHCO_5056 (or the latest
>libc patch).

We are running SCO ODT 3.0 Unix 3.2v4.2 which is not HP9000.

>Subject: ME cant remalloc xx bytes Cannot allocate memory
>This probably means that innd wants to grow bigger than what the
>actual limit for a single process is.
>To solve this either rebuild your kernel with a different default 
>max, >or add "unlimit datasize" to the beginning on your 
>rc.news file.

Our nightly expire also has not run for serveral days, I think due
to this same problem... Here is its report ...

>/news/bin/news.daily: No new history files
>Server status:
>Can't send "mode" command (dead server failure) No such process.
>Disk usage:
>/news     (/dev/news0       ):   120790 blocks*   28635 i-nodes
>/news/log (/dev/news0       ):   120790 blocks*   28635 i-nodes
>/usr/spool/news (/dev/news0       ):   120790 blocks    28635 i-nodes
>/usr/spool/news/in.coming (/dev/news0       ):   120790 blocks*   28635 
i-nodes
>/usr/spool/news/out.going (/dev/news0       ):   120790 blocks*   28635 
i-nodes
>Batch file sizes:
>Log file sizes:
>  26 control.log      0 newgroup.log   464 news.err         0 rmgroup.log
>   0 errlog        18892 news          664 news.notice    456 unwanted.log
>   4 expire.log       2 news.crit      102 nntpsend.log
>Lock files:
>LOCK.innwatch    LOCK.news.daily
>Server connections:
>Can't send "name" command (dead server failure) No such process.	
>No such process.	

Does anyone have a sugestion please?  What 'default max' is 
this in reference to? What is 'unlimit datasize' in rc.news 
file? I have man'd innd, ctlinnd and history with no luck. 
Any information would be appreciated. On of my options is to 
run expire manualy during the day and hope that clears it.

Here is our rc.news file to look at.  Thanks in advance! 
Please email me as our news is now not always up because 
of this problem. I will post a summary of replies. Thanks.

Vern at   vsoehner@nectech.com
"Relax, Its only ONES and ZEROS!" anonymous

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
#! /bin/sh
##  $Revision: 1.18 $
##  News boot script.
##  05/02/96 Vern added -l50000 to FLAGS to limit input size of articles.
##  =()<. @<_PATH_SHELLVARS>@>()=
 /news/innshellvars

##  Pick ${INND} or ${INNDSTART}
WHAT=${INNDSTART}
##  Set to true or false
DOINNWATCH=true
MAIL="${MAILCMD} -s 'Boot-time Usenet warning on `hostname`' ${NEWSMASTER}"

##  RFLAG is set below; set FLAGS as appropriate.
RFLAG=""
FLAGS="-i0 -l600000"

##  Clean shutdown?
if [ -f ${SERVERPID} ] ; then
    ( echo 'INND:  PID file exists -- unclean shutdown!' >/dev/console )
    RFLAG="-r"
fi

# zcat rc.news
rc.news.Z: No such file or directory
# tail -100 rc.news
#! /bin/sh
##  $Revision: 1.18 $
##  News boot script.
##  05/02/96 Vern added -l50000 to FLAGS to limit input size of articles.
##  =()<. @<_PATH_SHELLVARS>@>()=
 /news/innshellvars

##  Pick ${INND} or ${INNDSTART}
WHAT=${INNDSTART}
##  Set to true or false
DOINNWATCH=true
MAIL="${MAILCMD} -s 'Boot-time Usenet warning on `hostname`' ${NEWSMASTER}"

##  RFLAG is set below; set FLAGS as appropriate.
RFLAG=""
FLAGS="-i0 -l600000"

##  Clean shutdown?
if [ -f ${SERVERPID} ] ; then
    ( echo 'INND:  PID file exists -- unclean shutdown!' >/dev/console )
    RFLAG="-r"
fi

if [ ! -f ${NEWSLIB}/.news.daily ] ; then
    echo 'No .news.daily file; need to run news.daily?' | eval ${MAIL}
#+++peter don't care - this check takes 25 minutes!
#else
#    case `find ${NEWSLIB} -name .news.daily -mtime +1 -print 2>/dev/null` i
#    "")
#       ;;
#    *)
#       echo 'Old .news.daily file; need to run news.daily?' | eval ${MAIL}
#       ;;
#    esac
fi

##  Active file recovery.
if [ ! -s ${ACTIVE} ] ; then
    if [ -s ${NEWACTIVE} ] ; then
        mv ${NEWACTIVE} ${ACTIVE}
    else
        if [ -s ${OLDACTIVE} ] ; then
            cp ${OLDACTIVE} ${ACTIVE}
        else
            ( echo 'INND:   No active file!' >/dev/console )
            exit 1
        fi
    fi
    RFLAG="-r"
    # You might want to rebuild the DBZ database, too:
    #echo "cd ${NEWSLIB} \
    #           && makehistory -r \
    #           && mv history.n.dir history.dir \
    #           && mv history.n.pag history.pag" | su ${NEWSUSER}
fi

##  Remove temporary batchfiles and lock files.
( cd ${BATCH} && rm -f bch* )
( cd ${LOCKS} && rm -f LOCK* )
( cd ${TEMPSOCKDIR} && rm -f ${TEMPSOCK} )
rm -f ${NEWSCONTROL} ${NNTPCONNECT} ${SERVERPID}

##  Start the show.
( echo 'Starting innd.' >/dev/console )
eval ${WHAT} ${RFLAG} ${FLAGS}

# Gee, looks like lisp, doesn't it?
${DOINNWATCH} && {
    echo "( ( sleep 60 ; ${INNWATCH} ) & )" | su ${NEWSUSER}
}

RMFILE=${MOST_LOGS}/expire.rm
if [ -s ${MOST_LOGS}/expire.rm ] ; then
    ( echo "Removing articles from pre-downtime expire run." >/dev/console )
    (
        echo 'System shut down during expire.  Unlinking articles listed in'
        echo ${RMFILE}
    ) | eval ${MAIL}
    echo "${NEWSBIN}/expirerm ${RMFILE}" | su ${NEWSUSER} &
fi

>>>>>>>>>>>>>>> End of Post >>>>>>>>>>>>>>>>>>>>>>>

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