Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

It's actually quite simple: is there any way I can set maxmem at runtime from the command line? If I edit the .xsp files, how can I ensure they are being re-read by Xen?

share|improve this question

2 Answers 2

up vote 1 down vote accepted
# xm mem-max help
Error: 'xm mem-max' requires 2 arguments.

Usage: xm mem-max <Domain> <Mem>

Set the maximum amount reservation for a domain.

Make sure you change the .xsp in accordance so that it retains the new setting after reboot.

share|improve this answer
    
thanks, wonder why this is not in the documentation.... –  Nikolai Prokoschenko Aug 5 '09 at 12:06

This depends on what your guest OS is, but I've read that the Linux kernel doesn't support ballooning its memory above the maxmem argument passed to the kernel at boot. My information might be out of date, though.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.