🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #26399

Re: Tin Bug

#26399
From: billy
Date: Fri, 27 Sep 1996 00:00
45 lines
1897 bytes
Chris Mauritz <ritz@onyx.interactive.net> writes:

> tin: signal handler caught signal SIGSEGV (11).
> tin 1.3 unoff BETA [UNIX]: send a DETAILED bug report to urs@akk.uni-karlsruhe.de

This seems to be a BSDI-only problem.  You can either ulimit -d 32768
from your keyboard or add the appended code to tin.  This solved this
problem for me...  You can ps-u to see memory used, 32k should suffice
at least for now - as news grows so does the memory tin eats keeping
track of it.

Billy Y..

Date: Sun, 30 Jun 1996 16:09:43 -0700 (MST)
>From: Wayne Bouchard <web@primenet.com>
To: billy@mix.com
Subject: Re: ba.jobs.offered crashes tin

[...]
Put this early on in your code (prefferably just before it loads the
active file for the first time but after it establishes the network
connection.. Don't wanna do lots of stuff only to find that we can't
proceed because of a network error):

#include <sys/time.h>
#include <sys/resource.h>
#include <errno.h>

extern int errno;

struct rlimit lim

getrlimit(RLIMIT_DATA, &lim);

/* can also try "lim.rlim_cur = lim.rlim_max;" to take it to highest */
lim.rlim_cur = 32768000;

if (setrlimit(RLIMIT_DATA, &lim) != 0) {
   fprintf(stderr, "Warning: Can't alter memory limits (%s)", strerror(errno));
   fprintf(stderr, "Some groups may not load as a result.\n");
}


Technical Details
Message-ID: <52hkmu$c3g@nnrp1.news.primenet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <Dy8K0n.LC4@interactive.net>

Show Full Headers
Complete Article Headers
Message-ID: <52hkmu$c3g@nnrp1.news.primenet.com>
Subject: Re: Tin Bug
Date: Fri, 27 Sep 1996 00:00:00 +0000
From: billy@mix.com
References: <Dy8K0n.LC4@interactive.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 185755743
Organization: Billy's Place
X-posted-by: billy@206.165.5.111 (billy)
Newsgroups: news.software.readers