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: top - 09:58:16 up 26 days, 19:13, 1 user, load average: 0.03, 0.07, 0.05 Tasks: 50 total, 2 running, 48 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 100.0% id, 0.0% wa, 0.0% hi, 0.0% si Mem: 129156k total, 92060k used, 37096k free, 0k buffers Swap: 0k total, 0k used, 0k free, 59400k cached That is the only problem that I believe I''m having with my xen installs (yes all of my installs on Debian exhibit the same problem). I have sent my kernel configs and domain configs but ... If someone can help let me know. I was thinking of implementing a xen server for this company but I don''t feel secure that in case things get heavy on the server there will not be any swap space. I would rather the server thrash swapping than die. Badiane __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dominic Hargreaves
2006-Apr-04 14:19 UTC
Re: [Xen-users] I still don''t have any swap in my domU
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 cachedSo, 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@lists.xensource.com http://lists.xensource.com/xen-users