WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] I still don't have any swap in my domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] I still don't have any swap in my domU
From: Dominic Hargreaves <dom@xxxxxxxx>
Date: Tue, 4 Apr 2006 15:19:37 +0100
Delivery-date: Tue, 04 Apr 2006 07:20:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060404140314.90055.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <E1FQkCd-0004yt-7M@host-192-168-0-1-bcn-london> <20060404140314.90055.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Apr 04, 2006 at 07:03:14AM -0700, Badiane Ka wrote:
> I have posted about this problem a few times and even
> though I have received answers from list users nothing
> has worked.  I was downloading mediawiki on Debian
> when I encountered a out of memory error and the
> process was unable to fork.  When I cat
> /proc/partitions in the domU it shows:
> major minor  #blocks  name
> 
>    3     1    3072000 hda1
>    3     2     196608 hda2
> 
> and a top shows this:

> Swap:        0k total,        0k used,        0k free,
>    59400k cached

So, you don't have swap enabled. Is this because you never configured
it?

What does /etc/fstab contain? In particular, does it have any references
to swap? Has the partition you intend to use for swap (/dev/hda2?) been
formatted as such with mkswap? Are there any message in dmesg about
swap? What happens if you do "/sbin/swapon -a"?

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>