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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Dominic Hargreaves <dom@xxxxxxxx>
  • Date: Tue, 4 Apr 2006 15:19:37 +0100
  • Delivery-date: Tue, 04 Apr 2006 07:20:09 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.