[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt - Segmentation fault (Slink)



I get tons of segfaults when I try to do too big a job (esy to do 
 when you are running with 4M RAM and 6M of swap), or even after doing
lots of memory hungry jobs (using dselect or apt == repeated calls to
dpkg).  Naturally I am assuming that the problem is with peaking out on
memory usage.

I have two questions that I can not investigate (for whatever reason): 

How big should /proc/kcore be?
I read somewhere that /proc/kcore should be the same size as the amount
of memory you have, for me that is 4194304 bytes, but "ls -l /proc/kcore"
shows 4198400 bytes (a difference of 4096 bytes (one `page'?)).

Is there a difference between running out of memory because the RAM does
not exist, and running out because you told the system to only use
(let's say) 12M of the 48M available?


-  Bruce

-- 
On Tue, 6 Apr 1999 feedle@intelegenesis.com wrote:

> I've had this exact same problem in Debian Sparc.  apt segfaults whenever
> an update is ran.  I have not recieved any replies to my problem, and have
> not been able to reproduce the results on any other (non-Sparc) Debian
> box, of which I have many.
> 
> I originally thought the problem was a memory-related one.  The machine
> that I'm trying to get it working on is an old Sparcstation IPC, with only
> 12 megs of physical memory.  Increasing the swap size has not helped, and
> swapping out the RAM with other memory has also has not changed things.
> Being as I have no 4 meg 30-pin memory, I cannot try to increase the
> memory size of this machine; however memory starving a Debian x86 machine
> to 12 megs does not duplicate the problem.
> 
> Other Debian tools infrequently fail with bus errors, but this has not
> been reproducable.  All other tools on the system work perfectly.  In
> fact, the system has remained up for four days straight, with some
> reasonably heavy load (compiling a kernel takes _forever_ on an IPC with
> no memory), so I can just about guarantee that there isn't a hardware
> problem.  This machine also ran Sloaris perfectly (but was a dog) before
> being Linux-ized.
> 
> Hopefully, somebody can shed light to this problem.  
> 
> -Chris
> 
> On Tue, 6 Apr 1999, Oliver Thuns wrote:
> 
> > Hi!
> > 
> > Apt segfaults before it's finished. I can install packages, but I'm not
> > sure if apt update the package database. Not all packages are
> > up-to-date, maybe there is a conflict with an old package, but I don't
> > want to install new packages when apt segfaults.
> > 
> > Oliver
> > 
> > 
> > -- 
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> > 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


later,

	Bruce


Reply to: