LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Virtual machine freezes host and guest (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/virtual-machine-freezes-host-and-guest-845382/)

davholla 11-19-2010 03:25 PM

Virtual machine freezes host and guest
 
On My PC I have Mandriva Spring 2008 and virtual box with Oracle linux 6 installed on it. The virtual box has 1007 MB of Base Memory Size and 8 MB of Video Memory size.

When I start up the Oracle linux it is very slow and makes both host guest unuseable - often it freezes and I have to kill the session.
I want to run Oracle R12 on it but at the moment I can not even open a text file

Below are the specs for my PC. Any ideas?

Code:

uname -a
Linux davidpc 2.6.24.7-desktop586-3mnb #1 SMP Mon Aug 24 16:55:50 EDT 2009 i686 Intel(R) Core(TM)2 Duo CPU    E4500  @ 2.20GHz GNU/Linux

Code:

cat /proc/cpuinfo
processor      : 0
vendor_id      : GenuineIntel
cpu family      : 6
model          : 15
model name      : Intel(R) Core(TM)2 Duo CPU    E4500  @ 2.20GHz
stepping        : 13
cpu MHz        : 1200.000
cache size      : 2048 KB
physical id    : 0
siblings        : 2
core id        : 0
cpu cores      : 2
fdiv_bug        : no
hlt_bug        : no
f00f_bug        : no
coma_bug        : no
fpu            : yes
fpu_exception  : yes
cpuid level    : 10
wp              : yes
flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4391.66
clflush size    : 64

processor      : 1
vendor_id      : GenuineIntel
cpu family      : 6
model          : 15
model name      : Intel(R) Core(TM)2 Duo CPU    E4500  @ 2.20GHz
stepping        : 13
cpu MHz        : 1200.000
cache size      : 2048 KB
physical id    : 0
siblings        : 2
core id        : 1
cpu cores      : 2
fdiv_bug        : no
hlt_bug        : no
f00f_bug        : no
coma_bug        : no
fpu            : yes
fpu_exception  : yes
cpuid level    : 10
wp              : yes
flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4388.99
clflush size    : 64

Code:

cat /proc/meminfo
MemTotal:      905488 kB
MemFree:        505396 kB
Buffers:        13996 kB
Cached:        182028 kB
SwapCached:          0 kB
Active:        249304 kB
Inactive:      119940 kB
SwapTotal:          0 kB
SwapFree:            0 kB
Dirty:            2312 kB
Writeback:          0 kB
AnonPages:      173320 kB
Mapped:          59308 kB
Slab:            17236 kB
SReclaimable:    9072 kB
SUnreclaim:      8164 kB
PageTables:      2424 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    452744 kB
Committed_AS:  405172 kB
VmallocTotal:  122564 kB
VmallocUsed:      8596 kB
VmallocChunk:  113436 kB
HugePages_Total:    0
HugePages_Free:      0
HugePages_Rsvd:      0
HugePages_Surp:      0
Hugepagesize:    4096 kB
[david@davidpc ~]$ cat /proc/meminfo
MemTotal:      905488 kB
MemFree:        515272 kB
Buffers:        14096 kB
Cached:        183596 kB
SwapCached:          0 kB
Active:        238044 kB
Inactive:      121568 kB
SwapTotal:          0 kB
SwapFree:            0 kB
Dirty:            520 kB
Writeback:          0 kB
AnonPages:      161916 kB
Mapped:          59596 kB
Slab:            17248 kB
SReclaimable:    9088 kB
SUnreclaim:      8160 kB
PageTables:      2432 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    452744 kB
Committed_AS:  394216 kB
VmallocTotal:  122564 kB
VmallocUsed:      8596 kB
VmallocChunk:  113436 kB
HugePages_Total:    0
HugePages_Free:      0
HugePages_Rsvd:      0
HugePages_Surp:      0
Hugepagesize:    4096 kB


syg00 11-19-2010 05:30 PM

VBox takes (as in steals) memory from the host - you have to leave the host something to run in. I haven't used Mandriva but try making the guest say 700 Meg.

davholla 11-20-2010 09:56 AM

Quote:

Originally Posted by syg00 (Post 4164854)
VBox takes (as in steals) memory from the host - you have to leave the host something to run in. I haven't used Mandriva but try making the guest say 700 Meg.


Sadly any amounts cause problem. The main problem is that the guest freezes - catching the mouse - and then I can not use the host at all.

Would more RAM help? I guess the answer is yes.

syg00 11-20-2010 03:49 PM

I only run VBox on Windows (not Linux) hosts, but it runs in a 1 Gig XP host o.k. However I only use it to run a minimal (non-X) Linux guest - runs as expected. On Win7 I give each guest a Gig, and several run concurrently happily.
There was one version of VBox that just refused to work about 8 months ago. I haven't gone to the latest release yet, so I don't know if that's an issue for you.


All times are GMT -5. The time now is 05:36 AM.