RAM Limitations / Questions / Adminpanel [message #1247] |
Fri, 03 February 2006 17:58  |
Ronny
Messages: 23 Registered: January 2006
|
Junior Member |
|
|
Hi
as you all may know, I work on a free / open adminpanel, too.
My first version is already near production release, but, there are still some questions open. Kir didn´t respond my questions in the last time (don´t know why).
If someone wants to have a look: http://www.ronny-goerner.de/vzadmin.html
I just looked some lines in the code from the Guy who already did a tool.
--vmguarpages="16072:2147483647"
--privvmpages="16072"
Is this really enough to set RAM to 16 MB? Or is there need to set more parameters?
I do another way currently.
a) program searchs for total amount of MEM (2 GB For example)
b) if a server should become 128 m for example, i use vzsplit for 16 servers, and then use the example config-file to setup the new vps
What is better way, use my way or his way?
Would be nice to get some feedback.
Also, I would NOT use this script for production in a real-datacenter. I do NOT use exec / sudo in my scripts, I use a database and a cronjob. Much more secure, I think. And NO, I don´t want to fire his work 
Thanks,
Ronny
[Updated on: Fri, 03 February 2006 18:00] Report message to a moderator
|
|
|
|
|
Re: RAM Limitations / Questions / Adminpanel [message #1272 is a reply to message #1247] |
Sun, 05 February 2006 09:31   |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |

|
|
Ronny, we are very intrested in such tools and very appreciate your work and efforts. As I said before if you release it under GPL we will help in setting up forum, bugzilla etc. Kir is quite busy these 2 weeks as he is preparing for the conference and will be travelling one week. We will try to help as much as possible while he is out.
About resource usage.
This depends on. Your way looks more good for me, though I'm not sure it will give the same results on 2 different machines.
I personally would suggest to create a bunch of VPS configs which are similar to 16Mb, 64Mb, 128Mb, 256Mb, 512Mb, 1Gb, 2Gb, unlimited and so on. And ask a user what config he wants to use as base for a new VPS.
This way also allows to change VPS parameters on the fly also via --applyconfig
|
|
|
|
|
|
|
|