Bug 251295
Summary: | Having trouble with running multiple guests at once | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Gurhan Ozen <gozen> | ||||
Component: | xen | Assignee: | Michal Novotny <minovotn> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.0 | CC: | areis, gren, jburke, qcai, xen-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-03-05 16:22:32 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Gurhan Ozen
2007-08-08 07:41:41 UTC
Created attachment 160885 [details]
an example of free output and xend.log when this happens.
This is bizarre - the logs show its failing in domain_create() call to the HV with ENOMEM. It has even tried to allocate the main RAM for the guest - its merely do the small allocs() for the domain data structures. We explicitly balloon 2 MB of slack to let this work - upstream said 1 MB was worst case need so we should be comfortably OK. Perhaps someplace in domain creation needs RAM from a special memory zone & that's unavailable ? What architecture is host ? (In reply to comment #2) > This is bizarre - the logs show its failing in domain_create() call to the HV > with ENOMEM. It has even tried to allocate the main RAM for the guest - its > merely do the small allocs() for the domain data structures. We explicitly > balloon 2 MB of slack to let this work - upstream said 1 MB was worst case need > so we should be comfortably OK. Perhaps someplace in domain creation needs RAM > from a special memory zone & that's unavailable ? What architecture is host ? > This is an AMD x86_64 host: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 65 model name : Dual-Core AMD Opteron(tm) Processor 8218 stepping : 2 cpu MHz : 2593.586 cache size : 1024 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy bogomips : 6485.77 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. This request was previously evaluated by Red Hat Product Management for inclusion in the current Red Hat Enterprise Linux release, but Red Hat was unable to resolve it in time. This request will be reviewed for a future Red Hat Enterprise Linux release. Sounds like a duplicate to me. According to your log you are trying to run a HVM machine and I have found out it happens sometimes for HVM guest when some guests are already running (no matter whether PV or FV ones). Anyway I did some testing using this configuration (all with the same memory and maxmem settings): 1) I ran Fedora 8 PV guest 2) ... and Fedora 8 FV guest 3) Then I tried another FV guest and it raised an error "Cannot allocate memory" but I still had over 4G of free RAM available 4) I tried running some other FV guest - still same error 5) I tried mem-setting (xm mem-set) it to some other amount of memory (decreased by some megs) and tried FV guest again - still no luck 6) I tried PV guest - it was starting and running fine 7) I tried FV guest then - voila, finally the FV guest started up 8) I tried another FV guest - it was starting fine too. Anyway if you have some other experiences just let me know but beware this error doesn't occur every time and sometimes it's very hard to reproduce. *** This bug has been marked as a duplicate of bug 419771 *** |