Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* malloc_mem_alloc error
@ 2001-01-12 13:03 andy thomas
  2001-01-12 15:52 ` Tony Verhulst
  0 siblings, 1 reply; 5+ messages in thread
From: andy thomas @ 2001-01-12 13:03 UTC (permalink / raw)


Users banged on my door this mroning to tell me the server had gone down.
This server is a PWS 500au with 192 Mbyte RAM and rins DU 4.0D with the
latest patch kit applied. It hadn't actually gone down - I could log into
into it normally remotely or from the console but if I tried to run a
command like nfsstat or vmstat, it would just appear to hang and there was
no way I could get any response.

Eventually I logged in remotely and shut the system down. In the
/var/adm/messages (and in /var/syslog.dated/kernel.log) was the message:


    Jan 12 11:24:08 mail2 vmunix: malloc_mem_alloc: no space in map

What does this mean?

I put the system back up after I couldn't find anything obviously wrong
and it's been up for an hour with no further problems. Could it have just
been 'one of those things' like a soft memory error, etc?

Andy



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: malloc_mem_alloc error
  2001-01-12 13:03 malloc_mem_alloc error andy thomas
@ 2001-01-12 15:52 ` Tony Verhulst
  2001-01-12 20:37   ` Kjell Andresen
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Verhulst @ 2001-01-12 15:52 UTC (permalink / raw)


 
>     Jan 12 11:24:08 mail2 vmunix: malloc_mem_alloc: no space in map

The kernel uses a memory map (kmemmap, FWIW) to do its own internal
mallocs (not to be confused with user program mallocs).  Somehow, the
kernel ran out of map space.  Should this problem happen again, please
take a dump of the system before rebooting.  This MAY be a kernel bug
and should probably be reported through the official channels.  If you
would also send the dump to me, I'd be happy to have a look.

Tony V.
kernel group


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: malloc_mem_alloc error
  2001-01-12 15:52 ` Tony Verhulst
@ 2001-01-12 20:37   ` Kjell Andresen
  2001-01-13 11:54     ` Kjell Andresen
  0 siblings, 1 reply; 5+ messages in thread
From: Kjell Andresen @ 2001-01-12 20:37 UTC (permalink / raw)


Tony Verhulst <verhulst@zk3.dec.com> writes:

> >     Jan 12 11:24:08 mail2 vmunix: malloc_mem_alloc: no space in map
> 
> The kernel uses a memory map (kmemmap, FWIW) to do its own internal
> mallocs (not to be confused with user program mallocs).  Somehow, the
> kernel ran out of map space.  Should this problem happen again, please
> take a dump of the system before rebooting.  This MAY be a kernel bug
> and should probably be reported through the official channels.  If you
> would also send the dump to me, I'd be happy to have a look.

A long time ago I had some similar problem and tried to collect
the information I found:
http://www.usit.uio.no/it/unix/du/malloc.txt
http://www.usit.uio.no/it/unix/du/malloc-sum.txt

Regards,
Kjell Andresen  Systems administrator, University of Oslo, Norway
                Center for Information Technology Services and
                Department of Geophysics


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: malloc_mem_alloc error
  2001-01-12 20:37   ` Kjell Andresen
@ 2001-01-13 11:54     ` Kjell Andresen
  2001-01-15 14:48       ` andy thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Kjell Andresen @ 2001-01-13 11:54 UTC (permalink / raw)


Kjell Andresen <kjell@usit.uio.no> writes:

> Tony Verhulst <verhulst@zk3.dec.com> writes:
> 
> > >     Jan 12 11:24:08 mail2 vmunix: malloc_mem_alloc: no space in map
> 
> A long time ago I had some similar problem and tried to collect
> the information I found:
> http://www.usit.uio.no/it/unix/du/malloc.txt
> http://www.usit.uio.no/it/unix/du/malloc-sum.txt

BTW: After uppgrading to v4.0E the problem vanished.
(Samba uses to be memory intensive)

Regards,
Kjell Andresen  Systems administrator, University of Oslo, Norway
                Center for Information Technology Services and
                Department of Geophysics


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: malloc_mem_alloc error
  2001-01-13 11:54     ` Kjell Andresen
@ 2001-01-15 14:48       ` andy thomas
  0 siblings, 0 replies; 5+ messages in thread
From: andy thomas @ 2001-01-15 14:48 UTC (permalink / raw)




On 13 Jan 2001, Kjell Andresen wrote:

> Kjell Andresen <kjell@usit.uio.no> writes:
>
> > Tony Verhulst <verhulst@zk3.dec.com> writes:
> >
> > > >     Jan 12 11:24:08 mail2 vmunix: malloc_mem_alloc: no space in map
> >
> > A long time ago I had some similar problem and tried to collect
> > the information I found:
> > http://www.usit.uio.no/it/unix/du/malloc.txt
> > http://www.usit.uio.no/it/unix/du/malloc-sum.txt
>
> BTW: After uppgrading to v4.0E the problem vanished.
> (Samba uses to be memory intensive)

I sent the dumps to Tony on Friday for analysis and he reported back that
there did indeed appear to be a kernel bug. I rebuilt the kernel yesterday
with the standard default settings for MAXUSERS and MAXUPRC and it ran fine
for 24 hours - right now we have the same problem again.

I think it's load related - I applied the latest DU4.0D patch kit on
December 20th at a time when load had fallen off as everyone was going
away for Christmas. The load stayed low until last week when it
slowly ramped up, and I think it's samba and NFS that's pushing it over
the edge.

I'm going to try using a kernel from another similar DU 4.0D machine,
and then some older kernels before I consider reversing the latest patch
kit. In the meantime, I'll have a look at those URLs, thanks. In the long
term I think the writing is on the wall for DU 4.0 and several posters
have aid Compaq is pulling the plug on DU 4 in April; we should be
looking at migrating to 5.1 - I 've asked for funds for another PWS 500
for use as a development system so we can move everything over to 5.1
smoothly.

Andy



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-15 14:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-12 13:03 malloc_mem_alloc error andy thomas
2001-01-12 15:52 ` Tony Verhulst
2001-01-12 20:37   ` Kjell Andresen
2001-01-13 11:54     ` Kjell Andresen
2001-01-15 14:48       ` andy thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox