Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 18:07:59 -0500
From:      Daniel Frazier <dfrazier@magpage.com>
To:        questions@freebsd.org
Subject:   swap_pager_getswapspace: failed -- not a lack of swap space...
Message-ID:  <3A1B004F.3C611CD5@magpage.com>

next in thread | raw e-mail | index | archive | help
My workstation is hurting.  A week or so ago I had been experiencing
severe slowdowns that hung my machine within a few seconds.  This
was happening randomly, sometimes it would happen every other day, 
sometimes twice in one hour.  I'm in X whenever this happens.  It
seems like if I am quick enough I can hit ctl-alt-backspace and drop
back to the console (although it takes up to 10 minutes to do so), but
I have to catch it in the 2-4 seconds it's slowing down but not yet
hung.  If I miss that window I have to hit the reset button.  

If I manage to drop back to the console I see...

/kernel: swap_pager_getswapspace: failed

...scrolling off the screen, and swapinfo shows very little swap space
utilization.   There's no other indication of anything going wrong,
nothing in /var/log/messages except for what was echo'd to the console
that would indicate a problem, no core dump, nothing (unless I'm not
looking in the right place, that is).  I've added a swapfile but the
messages continue.  I've re-made world(since it had been a month or so
since my box was STABLE) but this issue continues. I've searched the
mailing list archives and found one thing that I thought might help
(but didn't), putting "MOZILLA_NO_ASYNC_DNS=True; export
MOZILLA_NO_ASYNC_DNS" in /etc/profile, but the rest just seemed to say
"add more swap space..."

I'm at a loss and a little frustrated so I apologize if I've been
rambling, but I would very much appreciate any help here.  Any info
that would help me track down what process is causing this, or even
something to do next time this happens to try to get some useable info,
would be great.  Here's some info, if there's anything relevant/important
I'm leaving out please let me know...

This box is a Celeron 500 with 128M of RAM and is usually running 
XFree86-3.3.6_1, gnome-1.2, linux-netscape-communicator-4.75 and a
bunch of Eterms.

poomba: ~ # uname -a
FreeBSD poomba.magpage.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov
20 16:49:22 EST 2000 root@poomba.magpage.com:/usr/obj/usr/src/sys/FBSD4
i386

poomba: ~ # swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/rad0s1b       267256        0   267256     0%    Interleaved
/dev/rvn0b         255872        0   255872     0%    Interleaved
Total              523128        0   523128     0%

Here's my kernel config file...

machine         i386
cpu             I686_CPU
ident           "FBSD4"
maxusers        32
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660 required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
device          isa
device          eisa
device          pci
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
options         ATA_STATIC_ID           #Static device numbering
options         ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12 flags 0x100
device          vga0    at isa?
pseudo-device   splash
device          sc0     at isa? flags 0x100
device          npx0    at nexus? port IO_NPX irq 13
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          ppi             # Parallel port interface device
device          miibus          # MII bus support
device          dc              # DEC/Intel 21143 and various workalikes
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   gzip            #Exec gzipped a.out's
pseudo-device   vn              #Vnode driver (turns a file into a device)
pseudo-device   bpf             #Berkeley packet filter
device pcm

----------------------------------------------------------------------
Daniel Frazier  <dfrazier@magpage.com>   Tel:  302-239-5900 Ext. 231
System Administrator                     Fax:  302-239-3909
MAGPAGE, We Power the Internet           WWW:  http://www.magpage.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A1B004F.3C611CD5>