``Not enough memory'' -- 320 Megs not enough???

``Not enough memory'' -- 320 Megs not enough???

Post by Harry Pehkon » Fri, 10 May 2002 15:16:35



I'm getting baffled!

I have checked this out on three machines running 3.1.  Only the one
with 320 megs of memory bombs with ``Not enough memory'' while doing
this:

        mkhybrid -R -J -v -o /tmp/blah.iso /usr/src

I'm also able to make a 16 meg P60 fail, but she'll go way further
(mkhybrid of / -- does /usr/src plus lots more).

I've tried playing with ulimit, but that doesn't appear to make any
difference here.

I see swapctl -l always reporting 0 for used swap space.

To see what's happening, I've used the following:

        vmstat -w1
        ps -auxwk
        swapctl -l
        sysctl -a (just before and after bombing,
                   then diff the results)

I have yet to see anything obvious.  Does anybody have any ideas?
Anything?

Thanks!
Harry.

 
 
 

``Not enough memory'' -- 320 Megs not enough???

Post by Stephen Marle » Fri, 10 May 2002 23:35:48



Quote:

> I'm getting baffled!

> I have checked this out on three machines running 3.1.  Only the one
> with 320 megs of memory bombs with ``Not enough memory'' while doing
> this:

>    mkhybrid -R -J -v -o /tmp/blah.iso /usr/src

> I'm also able to make a 16 meg P60 fail, but she'll go way further
> (mkhybrid of / -- does /usr/src plus lots more).

> I've tried playing with ulimit, but that doesn't appear to make any
> difference here.

> I see swapctl -l always reporting 0 for used swap space.

> To see what's happening, I've used the following:

>    vmstat -w1
>    ps -auxwk
>    swapctl -l
>    sysctl -a (just before and after bombing,
>               then diff the results)

> I have yet to see anything obvious.  Does anybody have any ideas?
> Anything?

Harry,


about it.
http://marc.theaimsgroup.com/?l=openbsd-misc&m=100410733828442&w=2

Anyway, I got around the problem by installing Jorg Schilling's cdrtools
which have their own mkhybrid/mkisofs. Not sure if they're in the ports
tree.

--
stephen

 
 
 

``Not enough memory'' -- 320 Megs not enough???

Post by jose nazar » Sat, 11 May 2002 05:41:52



> I have checked this out on three machines running 3.1.  Only the one
> with 320 megs of memory bombs with ``Not enough memory'' while doing
> this:

man ulimit. ulimit -m

in a nutshell you probably dont have enough memort allocatable. you c
an up this or permanently change this in /etc/login.conf

jose

 
 
 

``Not enough memory'' -- 320 Megs not enough???

Post by Harry Pehkon » Sun, 12 May 2002 14:15:22


<snip>

Quote:> > I have checked this out on three machines running 3.1.  Only the one
> > with 320 megs of memory bombs with ``Not enough memory'' while doing
> > this:

> >       mkhybrid -R -J -v -o /tmp/blah.iso /usr/src

<snip>


> about it.
> http://marc.theaimsgroup.com/?l=openbsd-misc&m=100410733828442&w=2

That's very interesting -- I should have thought to try using ktrace.

Quote:

> Anyway, I got around the problem by installing Jorg Schilling's cdrtools
> which have their own mkhybrid/mkisofs. Not sure if they're in the ports
> tree.

cdrtools doesn't appear to be in the ports tree.  However, the mkisofs
that comes with 3.1 is lean enough (leaner than mkhybrid (layman's
observation?  opinion?)) that it will make an iso of my /usr/src (if I
add a bit more, I get ``Not enough memory'').

I *was* concerned about my swap staying at zero -- however, I've
concluded that it's working as it should (again, layman's
observation).  After removing RAM and stressing the system, she
finally started to claim some swap space with 64 megs of RAM while
making an ISO (and bombing).  I feel very silly since my swap
partition is (from memory -- didn't double check) about 2 gigs (I
guess I had room to spare?), and swapctl reported it was using less
than 10 megs ( <blushing> ).

I should add -- this machine that I'm using has/is:

        - YP client
        - NFS client
        - 20G hard drive
        - Memory: Real: 44M/77M act/tot  Free: 233M

...Hopefully we (won't) hear that other people are having the same
trouble.

Anyways, I'll try and figure out why one of my other machines with
16megs works just fine...(also YP/NFS client)

Thanks!
Harry.

 
 
 

``Not enough memory'' -- 320 Megs not enough???

Post by Harry Pehkon » Sun, 12 May 2002 14:27:02


...

Quote:> > I have checked this out on three machines running 3.1.  Only the one
> > with 320 megs of memory bombs with ``Not enough memory'' while doing
> > this:

> man ulimit. ulimit -m

Actually, I did muck around with ulimit.  I got acquinted with it when
I compiled kde2 a while ago.  However, at that time, the error message
had to do with virtual memory.  I have not been able to fix *this*
trouble with ulimit at this time (I believe I've tried to increase all
possible options so far with no luck).

Quote:

> in a nutshell you probably dont have enough memort allocatable. you
> can up this or permanently change this in /etc/login.conf

There *is* something in /etc/login.conf that has upped my curiosity
(stack).  I wasn't able to increase it beyond 4megs with ulimit (so
far -- I have to triple check things because I'm stupid), but I'll try
again with login.conf...

Quote:

> jose

Thanks!
Harry.
 
 
 

``Not enough memory'' -- 320 Megs not enough???

Post by Harry Pehkon » Fri, 17 May 2002 13:36:24


<snip>

Quote:> (I believe I've tried to increase all
> possible options so far with no luck).

<snip>

Quote:> (stack).  I wasn't able to increase it beyond 4megs with ulimit (so
> far -- I have to triple check things because I'm stupid), but I'll try
> again with login.conf...

Yes, I was able to increase all possible options before (confirmed),
but without any effect -- playing around with login.conf didn't fix
things either, but it was a learning experience ;D

...

Harry.

 
 
 

1. Linux 6.0 with Win98: 'not enough memory'?

Anyone succeeded in installing Linux 6.0 with Win98? Would love to have a
word.

Problem:

While using FIPS 2.0, AFTER the disk has been partitioned and partion table
written('defrag already done succesfully'), it complains about 'not enough
memory' and the computer is hang. If I ignore it and reboot, I can see from
Win98 the hard drive has been partitioned though the new partition has an
unrecognizable format. Then, if I try to install Redhat Linux 6.0 from the
cd-rom, and run 'autoboot' in the cd-rom, it complains about 'not real
386/486 mode' and 'not enough memory loadup buffer'.

My computer: Gateway P3  550 MHz with 128 MB RAM and 13.5 GB HD.

END

2. Speed of sed

3. Not enough memory (I don't believe it)

4. Mouse Probs

5. Good Enough to Sleep With but not Good Enough to Marry?

6. SOL8 Hell

7. Suninstall wth 'UPGRADE' not enough free space?

8. aurora script

9. 'not enough room for program headers' ???

10. AIX Shared Memory Segment (Not enough memory)

11. Isn't 28 Meg enough?

12. ypwhich(dumpmaps): can't get maplist: RPC: Unable to receive; Buffer not large enough

13. Not enough tty's