[TAG] segmentation fault in aptitude

Benjamin A. Okopnik ben at linuxgazette.net
Thu Apr 7 20:27:45 MSD 2005


On Thu, Apr 07, 2005 at 09:55:05AM -0700, Breen Mullins wrote:
> On Thu, Apr 07, 2005 at 11:25:50AM -0400, Benjamin A. Okopnik wrote:
> > On Thu, Apr 07, 2005 at 07:30:24PM +0530, Joydeep Bakshi wrote:
> 
> > > in my system *swapon -s* displays
> > > 
> > > Filename                        Type            Size    Used    Priority
> > > /dev/hda2                       partition       125204  44340   -1
> >  
> > OK. Kapil's suggestion, regarding "reformatting" that swap partition,
> > may be worthwhile here.
> 
> That's a pretty small swap partition in any case. Joydeep, how much
> RAM do you have in this system? The usual rule of thumb is that your
> swap partition should be 2x the installed RAM.
> 
> > > but *di* command shows
> > > 
> > > Filesystem         Mount         Megs     Used      Avail   %used fs Type
> > > /dev/hda1          /                 3981.4   1345.4   2636.1  34%  reiserfs
> > > tmpfs              /dev/shm        22.6      0.0        22.6     0%      tmpfs
> >  
> > That last entry _might_ give you problems: 22.6MB for /tmp is pretty
> > small
> 
> But the tmpfs filesystem is a virtual one -- he will still have a /tmp
> directory in his root partition which has plenty of room.

It depends. If /tmp is a mountpoint for tmpfs - as mine was - then
you're actually limited to the size of tmpfs. It gives you a really fast
/tmp, which can be very handy, but...


* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://linuxgazette.net *




More information about the TAG mailing list