🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Owen Crowley Sun, 12 Feb 1995 18:17
innd: ME cant malloc 8 bytes Not a typewriter
#3353
Author: Owen Crowley
Date: Sun, 12 Feb 1995 18:17
26 lines
1755 bytes
My innd server running on A/UX 3.0.2 has been going down repeatedly in the
last 24 hours with "cant malloc" errors, mostly with the cryptic "Not a
typewriter" message. I'm stumped. This server has been running fine for
several months. 

I two days ago added heirarchies, which involved thousands of changes to
the active file. There were no visible problems with it, but I recovered 
the active file (with the -o flag) and completely rebuilt the history 
files. Same problem (the failure is sometimes soon after innd starts, 
sometimes happens miutes or hours later).

inncheck turns up nothing; permissions all around look good (although I 
did not do a find for user on the spool directory). There is plenty of 
space on all drives.

Anyone have suggestions?

One last thought. Our T1 has been going down and up repeatedly this 
weekend; telco problems, apparently. Could that be it?

Help appreciated.

Owen


Re: innd: ME cant malloc 8 bytes Not a typewriter
#3355
Author: Jack Bryans
Date: Mon, 13 Feb 1995 19:26
14 lines
1321 bytes
In article <Pine.SUN.3.91.950212131642.2814A-100000@panix2.panix.com> Owen Crowley <owen@panix.com> writes:
> My innd server running on A/UX 3.0.2 has been going down repeatedly in the
> last 24 hours with "cant malloc" errors, mostly with the cryptic "Not a
> typewriter" message. I'm stumped. This server has been running fine for
> several months. 

. . .

> Anyone have suggestions?

Could it be karmic retribution for spam originating from panix?

Jack
INND dies on uunet feed only (was innd: ME cant malloc...)
#3356
Author: Owen Crowley
Date: Wed, 15 Feb 1995 03:32
16 lines
1446 bytes
I wrote:

> My innd server running on A/UX 3.0.2 has been going down repeatedly [since 
> Saturday] with "cant malloc" errors, mostly with the cryptic "Not a
> typewriter" message. I'm stumped...

Further investigation reveals that my server dies only when it receives
articles from uunet. It is fine when it gets news from netcomsv. Strange,
huh?

The only thing I can think of is that since the uunet feed is faster, I'm
maxing out some system resource. Maybe I'll try building with each of
those INN.config.data that Helpful Souls have contributed to Jagubox.

Owen
Re: innd: ME cant malloc 8 bytes Not a typewriter
#3358
Author: John Hanna
Date: Wed, 15 Feb 1995 03:41
19 lines
1735 bytes
In article <Pine.SUN.3.91.950212131642.2814A-100000@panix2.panix.com>,
Owen Crowley <owen@panix.com> wrote:

> My innd server running on A/UX 3.0.2 has been going down repeatedly in the
> last 24 hours with "cant malloc" errors, mostly with the cryptic "Not a
> typewriter" message. I'm stumped. This server has been running fine for
> several months. 
<snip>


What is your 'remember' value in expire.ctl?  I had mine set to 45 days,
and WOW, did it cause problems!  I had one hell of a time fixing that... 
Changed it back to 14 days where it belongs ;)
-- 
In stereo, where available.  This package is sold by weight, not volume.  Some settling may occur during shipment.  Don't panic!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Orange Coast College - Multimedia Services - Coast Mesa, California - USA
John Hanna - johnh@cccd.edu !/-\!/-\!/-\!/-\!/-\!/-\!/-\!/-\!/-\!/-\!/-\!
Re: innd: ME cant malloc 8 bytes Not a typewriter
#3361
Author: David Spencer
Date: Wed, 15 Feb 1995 14:36
26 lines
1863 bytes
johnh@cccd.edu (John Hanna) writes:

Owen Crowley <owen@panix.com> wrote:

> My innd server running on A/UX 3.0.2 has been going down repeatedly in the
> last 24 hours with "cant malloc" errors, mostly with the cryptic "Not a
> typewriter" message.

Ignore "Not a typewriter" messages.  errno is a blunt instrument, a
trap for the unwary.  (He said, freely mixing metaphors.)

malloc is setting errno on an error.  The software is then calling an
error-reporting routine that uses an output function that tests what
it's writing to.  That typically results in ENOTTY, which gets stored
in errno, overriding the errno from malloc.  The routine then calls
perror or strerror, and gets the bogus message.

Error-reporting routines should save errno immediately after the
error, and restore it immediately before the perror or strerror.
Those that don't are worse than useless.

If you want to find out what's really happening, you'll have to diddle
the innd error-reporting routines.
-- 
dhs spencer@panix.com
Re: innd: ME cant malloc 8 bytes Not a typewriter
#3364
Author: Owen Crowley
Date: Wed, 15 Feb 1995 20:17
22 lines
1691 bytes
Thanks for the suggestions. 

Re: remember: I use the -c9 flag and have a default remember of 9. No use 
bloating the history file.

The essay on [what's wrong with the way most programs do] error number to 
string conversions was enlightening.

There seems to have been a devil living in my alt hierarchy -- probably 
in the active file. I was getting alt from uunet but not from netcomsv. 
Grafting all the alt groups from my active file enabled me to receive 
from uunet. I have since grafted in the alt group references from uunet's 
active file (and renumbered).  I'll know if the devil is dead in a couple 
of days when alt stuff starts coming in again.

My mistake may have been to recover the active file with the -o flag to 
preserve posting permissions. The Bad Thing must have hitched a ride on 
that operation.

Owen

Re: INND dies on uunet feed only (was innd: ME cant malloc...)
#3372
Author: Owen Crowley
Date: Wed, 15 Feb 1995 20:19
2 lines
859 bytes
Never mind, problem solved (see prior thread).
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