| General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-13-2007, 08:03 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2007
Posts: 2
Rep:
|
how can i run 3 linux virtual machines without going out of physical memory
I am a student and have been assigned a project where we had to install fedora 6... make 3 copies and name them as server, router, and client. Next we design a program in java where in the client and server talk through the router. The problem is i am not able to run the 3 vm's together, as it says "system out of physical memory". I reduced the memory size of the vm's to 156 MB form 256 MB and also changed the msconfig.exe file and disabled some of the programs such as whether bug, messenger, firewall, but to no avail... My RAM is 512 MB.. an suggestions?
|
|
|
|
04-13-2007, 08:30 PM
|
#2
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,817
|
I guess the obvious answer of "Get more RAM" isn't going to help you? Honestly though, attempting to run 3 heavy distributions at the same time on only 512 MB of RAM seems like a lost cause. Maybe if you were using something less resource intensive than Fedora it wouldn't be so bad.
Also, I don't technically think this is a Linux question. Granted you are trying to run Linux in the VM, but Linux itself isn't actually giving you a problem per-se. You are trying to adjust your Windows environment to let you run the VMs, which would make it a Windows problem,
I suppose you can't just install Fedora on a spare machine and then only run two of them in the VMs?
|
|
|
|
04-13-2007, 10:07 PM
|
#3
|
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: Linux Mint 12
Posts: 2,838
Rep:
|
So what happens if you change the default run level in /etc/inittab from GUI to CLI?
|
|
|
|
04-13-2007, 10:15 PM
|
#4
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,817
|
I assumed since it was a Java application it was GUI based, but that is a good point. If it is a console application, then he could drop X/GNOME all together and drop his RAM usage significantly.
|
|
|
|
04-14-2007, 09:27 AM
|
#5
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
I havemoved this to General as it's more of a Windows question than a Linux question.
|
|
|
|
04-14-2007, 01:10 PM
|
#6
|
|
Member
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258
Rep:
|
The VM that's being the router certainly doesn't need a GUI. And he could probably kill off a lot of other started-on-boot services, too.
|
|
|
|
04-14-2007, 05:21 PM
|
#7
|
|
LQ Newbie
Registered: Apr 2007
Posts: 2
Original Poster
Rep:
|
Thanks for the reply... I did try to change the /etc/inittab file but did not find any parameter for GUI. however there was something like x11 in the default run level 5 and was wondering if that refers to gui and needs to be changed. I was acually able to run the 3 vm's by reducing the memory for each to 96mb... it does reduce the system performance but works..I would definitly like to change the inittab file if you can tell me exactly where to make the change.
|
|
|
|
04-14-2007, 05:51 PM
|
#8
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
No, you want to change a line that will look something like
id:5:initdefault:
to
id:3:initdefault:
(ie change the 5 to a 3).
In an FC inittab, you'll find this near the top where it discussed default runlevels
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|