To Swap Or To Burst
May 11, 2007
I'm planning to get a small VPS (128 MB).
I've come across a XEN based plan that offers additional 256MB swap space, and a few others Virtuozzo based plans that offer bursting capability (some even upto 8GB).
Which would be the better option?
Also, in Virtuozzo, will SLM allocation be significantly more beneficial than UBC for a small VPS?
Another question ... DirectAdmin officially claims to be able to run on a minimum of 64MB RAM. How would it perform on a 128 MB VPS ?
I'm not really looking to do much, only to host a few (5-6) small sites along with some other non-webhosting applications (which is the reason for getting a VPS instead of a reseller).
I've seen most people suggest atleast 256MB for DirectAdmin, but that is beyond my budget. (I'm also seriously considering the option of employing vi as a control panel to further conserve my limited resources)
View 14 Replies
ADVERTISEMENT
Oct 15, 2007
I am new to VPS and am trying to get my head around it. What I am trying to figure out now are the pros and cons of Guaranteed and Burstable memory.
Assuming everything else is equal, and both options are in the budget, and that there is a requirement (at least at times) for more than 768mb of RAM, which option is better:
1152mb Guaranteed (SLM)
or
768mb Guaranteed / Burstable to 2048mb
Obviously, a big factor would be whether or not their is RAM available to burst to, and as I understand it, that is completely dependant on the server, other VPS's running, number of VPS's, etc.
However, what I am trying to figure out is which approach is typically better. If for the same money you can get 768mb w/2048mb burst or 1152mb SLM w/no burst which is the best option.
If my current requirements are important, then I listed them in a thread titled: "If I go with VPS would vB performance suffer greatly if I add multiple sites to VPS?"
I can't truely link to it, because I have less than five posts, but here is a quote of that thread, so you can hit the button in the quote to go there:
Quote:
Originally Posted by tnedator
I am leaning towards one of these three VPS accounts that all cost roughly the same:
View 12 Replies
View Related
Apr 19, 2009
What would cause a Linux server to run out of swap? Would it be a memory leak? This happened today to my server and it had to be forcefully rebooted by the data center.
View 5 Replies
View Related
Apr 25, 2008
My server load is up to 20 sometimes, all RAM is used but only a very little SWAP is used (never go above 3M). IOwait is also very high
top - 09:55:33 up 94 days, 3:35, 2 users, load average: 19.09, 9.43, 6.18
Tasks: 327 total, 2 running, 325 sleeping, 0 stopped, 0 zombie
Cpu(s): 38.0% us, 2.0% sy, 0.0% ni, 0.0% id, 59.5% wa, 0.0% hi, 0.5% si
Mem: 2056272k total, 2034064k used, 22208k free, 47516k buffers
Swap: 1052248k total, 3572k used, 1048676k free, 800656k cached
I tried swapoff, mkswap and swapon but it is still the same.
View 5 Replies
View Related
Jul 6, 2007
do i need to upgrade my server if it looks like this?
I have one website running on it.
[url]
*sign* I'm not really sure why it's running like this.
View 8 Replies
View Related
Mar 31, 2009
I've got a dedicated with LW.
I've had it for a while and during that time I've never seen the swap memory go over 20%.
A month or so ago, I had the server upgraded to 8GB of ram to make room for more planned sites.
Since then, the swap memory has gone rampant. It regulary goes to 93% used with less than 20% of the regular ram and really no load on the server.
I've contacted support twice about it and was told don't worry it's normal.
From what I've read in the cpanel forum, no it's not normal and may in fact be caused by bad ram chips and if it hits 100% could freeze the server.
There are no processes or users causing it, so It's something else.
Has anybody had this type of problem that they resolved and could share what they did to resolve it?
View 11 Replies
View Related
Jul 22, 2008
My swap is currently at 100% and my website isnt loading. What does swap mean and is this the reason my site isnt loading?
View 14 Replies
View Related
Mar 1, 2008
i want to know why the swap in the server didn't work he is always 208k used
see my top status
top - 09:41:51 up 4 days, 12 min, 2 users, load average: 2.05, 3.11, 3.33
Tasks: 185 total, 2 running, 181 sleeping, 2 stopped, 0 zombie
Cpu(s): 0.7% us, 1.0% sy, 1.6% ni, 92.4% id, 4.3% wa, 0.0% hi, 0.0% si
Mem: 4148808k total, 4008248k used, 140560k free, 117488k buffers
Swap: 2096440k total, 208k used, 2096232k free, 3016032k cached
cat /etc/fstab
LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs noexec,nosuid 0 0
LABEL=/home /home ext3 defaults,usrquota 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults,usrquota 1 2
LABEL=/var /var ext3 defaults,usrquota 1 2
LABEL=SWAP-sda7 swap swap pri=0,defaults 0 0
/dev/sdb1 /hdd1 ext3 defaults,usrquota 0 0
/tmp /var/tmp ext3 defaults,bind,noauto 0 0
/dev/hdb /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/scd0 /media/cdrom auto pamconsole,exec,noauto,managed 0 0
My box
WHM 11.15.0 cPanel 11.18.1-R20683
CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0
View 3 Replies
View Related
Feb 20, 2008
Opcode caches have stability problems with some PHP apps:
[url]
I've been trying to get XCache working with gallery2, right now apache has to restart every 2-4 hours but it's been worse at times and it'd be nice to know what's going on
I noticed that both XCache and eAccel use a small amount of swap space all the time, it grows slowly and if I'm lucky enough to go without a segfault it will reach maybe 4MB. That's not a lot but it doesn't happen at all without a PHP cache (swap stays locked at 72kb unless RAM runs out and the server thrashes).
Here's the error and my settings:
[Tue Feb 19 06:19:55 2008] [error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[Tue Feb 19 06:19:55 2008] [error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[Tue Feb 19 06:19:56 2008] [notice] child pid 31028 exit signal Segmentation fault (11)
[Tue Feb 19 06:19:56 2008] [notice] child pid 10638 exit signal Segmentation fault (11)
[url]
View 1 Replies
View Related
Jul 22, 2008
My swap is currently at 100% and my website isn't loading. What does swap mean and is this the reason my site isn't loading?
View 14 Replies
View Related
Oct 28, 2007
I have two servers, HP RAID and DELL RAID.
Both controllers are set to RAID 1
I want to take the 2 HD from HP, and put into Dell.
Would this ruin my HD? Will I break the RAID and all my files be lost?
How can I achieve this without loosing my files?
View 6 Replies
View Related
Oct 1, 2007
I have purchased several VPS from a provider and found they do not provide swap space with VPS, and even with 256MB ram, I get 'out of memory' trying to compile a perl library... Creation of a swap file by myself doesn't work (operation is not permitted).
Hosting providers runs HyperVM.
So the question. Is it common or is it a misconfiguration? For now I got just 'checking on this for you' and three days of silence from their support.
I'm not opening hosting provider name, but I will if they say "You must pay for more RAM", just because other 5 VPS providers support my VPS servers with swap space.
View 8 Replies
View Related
Jun 4, 2007
I have talked with the moderators and they have agreed that I can start a new thread to clarify the issue of Xen and swapping as long the discussion remains technical.
For people who are curious, I would first like to explain why this is important. What we have here is someone making a specific technical accusation against Xen, and if it is indeed crucial, it needs to be solved, or otherwise people have to know it before they get into Xen.
Claim Number 1: The original claim is that users can create arbitrarily large swap and this can lead to the equivalent of overselling.
Fact: Arbitrarily large swap has absolutely zero effect on a normal system, since Linux treats swap as an auxiliary storage, and will not use it unnecessarily. Linux will always use the RAM to the full, but swap is used only when all the buffers have been cleared. If you run free on a dedicated hardware, you will see that swap usage is most of the times zero, even though you have assigned a very large swap to the system. In fact, you can try this by simply increasing the swap to very huge value, you will see that Linux will ignore it completely.
For large swap to cause a problem, the user not only has to assign a large swap, he has to run a really huge workload on his limited RAM, and this being physically impossible, will cripple his vps long before it has any serious impact on the host.
I think the above has been agreed to by the person who made the initial claim.
Claim Number 2 Merely having a swap can lead to vps getting slowed down.
Fact ; The use of swap does not mean thrashing .
Thrashing is a technical term, and it means that the application is registering a swap hit every few instructions. This is rare in normal systems, because of a property of programs that execution is always localized. That is, at any particular time, a certain portion of the program will be continuously being executed, and other portions would be idle. Linux has algorithms that will swap out the Least Recently Used page, and this will mean that the system will not run into too many swap hits.
Now again, like in the earlier case, there will be trouble if the vps customer is trying to run a 1GB workload in a 64MB RAM. This will actually cripple his vps, which is what's the right thing to happen. So normal usage of Swap will not lead to disk I/O, since Linux has explicit algorithms to reduce swap usage.
So for minor OverUsage of memory:
For virtuozzo: the application will crash
For Xen: there will be a very minor degradation of quality. And sometimes it won't have any affect at all, since as I said, just because swap drive is non-empty doesn't mean that linux is constantly swapping out.
So summarizing:
a) Inordinately large swap has zero effect on Linux
b) Non-empty swap doesn't mean that the system is registering swap hits. For normal workloads, the swap hits will be very minimal.
And an extra advice is that if you are using Xen, don't ever use snapshoting, as it will double the disk I/O, and the worst thing is that the vps that's causing this will not even be penalized. The overhead will be completely borne by the system.
View 8 Replies
View Related
Oct 10, 2009
Could someone explain in layman's terms a point on RAM for VPS? I always understood that you are allocated an amount of RAM with each plan. For example, 256MB on most lower packages. You are then allowed to reach some limit in case their is some spike and memory is required. That is called Burst RAM limit/amount. Like 1GB. I asked about this to my new host and they responded below. I'm not following it.
Quote:
SLM is a method of using dedicated physical RAM (RSS) versus a guaranteed (unknown) / burst (VSIZE). SLM is only accounting physical memory usage and you are silently swapping on the host (the VSIZE) -- in short, if you are running out of RAM it is because your VPS is physically trying to use more than your dedicated RAM limit.
SLM implements a 2nd-level out of memory (OOM) manager. In the event a VPS uses all of its physical RAM SLM will first delay the execution of processes to wait for more RAM to become available. After this it intelligently decides which processes to kill to maintain a running system.
On the kernel level it decides itself what should be preempted to swap in the system and which data is most rarely used. This is more efficient from overall performance point of view than having a separate swap space assigned to each VPS and used when VPS has exceeded their RAM limit which cause disk I/O bandwidth which is used for swapping is a scare resource, therefore it is not worth swapping out something when there is global RAM available still.
View 5 Replies
View Related
Sep 26, 2008
After being down for hours last weekend, my server with burst is presently timing out. Is it a general issue again?
View 10 Replies
View Related
Mar 30, 2009
I have a handful of machines running Rails on CentOS 5, each with 8GB RAM. They're monitored with Nagios, so I get paged if we exceed 80% memory usage usage or 2% swap. FWIW, they're primarily dual x. dual-core Opterons, and we're using PAE.
The problem is that I keep getting paged in the middle of the night for situations where we're using 2-20% swap yet there are still several gigs of RAM free.
On some level, this makes sense -- if nothing is using a big chunk of RAM, we might as well move it out to disk. On the other hand, when there's still several gigs of RAM free, I don't see any point in bothering, especially when it causes me to get paged at 2am.
So my question is threefold:
Is there any easy way to see what's using swap? top can be made to show a swap column, but it's not what you'd think it is. (For example, most processes show as using lots of swap, and the sum vastly exceeds the actual size of our swap partition.) Can I get a list of what processes are actually swapped out to disk?
Is this a problem other people have? Are others just less aggressive in getting alerted at swap usage, or does this not happen to other people? Our setup is probably not too common (Opterons, PAE, adn 8GB on an older CentOS release?), which makes me think there's a small chance a bona fide bug plays into this somehow.
Is this a case for playing with the swappiness sysctl to make the machine less obsessed with swapping things out to disk? And if so, is there any good documentation on what the 0-100 value actually means, beyond the one sentence explaining that 100 is most likely to swap and 0 is least? Does the current setting of 60 "mean" anything, for example? 98% of the stuff online is just a mirror of the e-mail thread in which Andrew Morton and others go back and forth about what setting is ideal, which doesn't help and is tiring to read over and over.
View 3 Replies
View Related
May 19, 2009
I've never needed or used swap, but I justed noticed i have 523k of it, which i'm guessing happened when I restored a big CPanel account.
Anyway, is their a correct way to restore it? I've got the memory space, and I've vm.swappiness set to 0.
View 5 Replies
View Related
Apr 19, 2009
if there is any specific way (maybe logs) to see what is using the swap memory of a dedicated server..
its a server with 8GB ram.. it has 60% of memory used, and a constant swap memory usage of 30%.. i thought that in normal conditions swap memory was not used..
its a centos / cPanel/WHM based server
View 7 Replies
View Related
Feb 18, 2007
i have a problem with my server it is a Xeon with 2Gb ram, i have a igh swap usage and when it reach the size of 4gb that i have set it go in kernel panic, this is the actual value
top - 14:19:47 up 1 day, 23:07, 1 user, load average: 1.74, 1.93, 1.89
Tasks: 223 total, 5 running, 217 sleeping, 1 stopped, 0 zombie
Cpu(s): 39.8% us, 6.6% sy, 14.0% ni, 32.3% id, 7.3% wa, 0.0% hi, 0.0% si
Mem: 2074640k total, 1980804k used, 93836k free, 66200k buffers
Swap: 4192924k total, 1735588k used, 2457336k free, 365136k cached
total used free shared buffers cached
Mem: 2026 1877 148 0 61 306
-/+ buffers/cache: 1509 516
Swap: 4094 1699 2394
maybe i can work on KeepAlaive setting?
View 6 Replies
View Related
Dec 2, 2007
Up to now we've been using CentOS with SCSI/SATA disk shich weren't "hot swap", and now we're upgrading to a Dell PowerEdge 1950 revision III with SAS hot swap disks on a PERC RAID 6i (new model of raid controller from Dell).
OF COURSE, Dell ONLY supports Windows (and Red Hat at the very most on the Linux world) so we were told by a Microsoft Tech that to be able to extract a disk and replace with another it had to be done via software. (The software powers the disk down and then you replace it)
Does anyone use CentOS with hot swap SAS disks? Do you use any special software to monitor the disks and/or replace them?
View 6 Replies
View Related
Jan 20, 2007
Quote:
total used free shared buffers cached
Mem: 1034060 1004864 29196 0 50756 340272
-/+ buffers/cache: 613836 420224
Swap: 1020088 373648 646440
Is there anything I can do to reduce the swap usage?
Running cpanel, Dual Xeon 3.0ghz with 1 gb ram
Quote:
root@****** [~]# uname -a
Linux ****** 2.6.9-42.0.3.EL.cernsmp #1 SMP Fri Oct 6 12:07:54 CEST 2006 i686 i686 i386 GNU/Linux
View 1 Replies
View Related
Jan 2, 2007
I have a second Hdisk on my system, is it okay to sent the tmp swap file folder for the main drive on the second drive? This idea is to lower the disk access and stress of the main hdisk... i have 3gigs of ram and from what i'm reading i should have 6 gigs of swap in which i'm creating 6 swap files 1gig per file.
View 2 Replies
View Related
Aug 7, 2007
We're about to buy a Dell Poweredge 1950 with hot swap disks in a raid 1 configuration (might even think about other raid combinations).
We will be installing Centos 5 (never tried it - normally use Centos 4) + control panel
The question is: what happens when a disk fails? How do we find out?(Apart from looking at the server) Any software notices?
Once noticed, what is the standard procedure to replace the disk? (Remember they are "hot swap") Do you just pull one out and replace it? Surely you have to rebuild the array...
View 9 Replies
View Related
May 23, 2007
When is a good time to add more ram?
Since I got my server its ran with 1gb ram and has kept a free of at least 400mb since that time.
Now withing a few hours all of it is being kept in buffer/cache as the past week an showing about 15mb free (not counting buffer/cache) and has started in on the disk swap of about 400Kb.
So should I upgrade to 2gb now or wait till it goes deeper into the swap, and if so how far into the swap before you'd upgrade?
View 14 Replies
View Related
Sep 9, 2008
A Xeon Quad Core 2.4 Ghz, 4 GB Ram and 2x250 GB HDD, cpanel/Fantastico and 10 MBPS shared Port,
With softlayer current promotion, I get it for 224$
With Burst.net reseller - I get it for $180
So is paying $44 more and going with softlayer worth? or is Burst network as good as softlayer?
View 14 Replies
View Related
Apr 28, 2009
It had an Abuse Incident over the last 24 hours and missed the deadline they gave to clean it up. Being in Australia the time differences can make it difficult to always catch an Abuse Incident. Anyway so the server is disconnected and we have to pay a reconnection fee, ok fair enough.
As soon as the server went offline I became aware of the issue and contacted their support.
They said I need to pay the Abuse Invoice, so I said ok and went to my Client Area and there was no Abuse Invoice. So I tell the technician that there is no invoice in my account, he says, oh ok there must be a billing problem and passes it over to "Customer Service".
Hours later there is still no response from customer service and my server is still offline.
I shouldn't have my server OFFLINE while waiting for them to sort out their billing problem. Them getting their Abuse Invoice paid is NOT A TIME CRITICAL matter.
A server outage is a TIME CRITICAL MATTER.
Here I am still waiting and nothing is being done, my server is still OFFLINE. I have no problem paying the Abuse Invoice, but the server outage just goes on and on because they can't seem to generate the Abuse Invoice that they require me to pay.
View 9 Replies
View Related
Mar 2, 2008
Is anyone else having trouble with name resolution at Nocster being really wonky? Sometimes it works fine, sometimes it times out, sometimes it takes a couple seconds.
My resolv.conf:
search hostnoc.net
nameserver 66.96.193.2
nameserver 64.191.0.2
View 1 Replies
View Related
Sep 17, 2008
is anyone else having trouble with burst.net at the moment? from two locations, i'm having problems where anything that will elicit a large response just hangs indefinitely. i can ping my server just fine, i can shell into it... if i do "top" or "dmesg" or anything else that might dump back more than a few lines of response at a time, the ssh session hangs. i can do "ps x" as a regular user, because i only have two processes running. "ps ax" will hang ssh.
none of my websites work, and i can't get on the burst.net website from either location. i tried calling but no matter what sequence i try for (even tried reboots) i can't get ahold of a live person, but then again it is almost midnight.
anyone else experiencing this?
View 2 Replies
View Related
May 17, 2008
I do alot of reading of select forums and contribute here and there, I am a huge contributor on Digital point. With lots of Itraders. I came here to try and find some info as to what was going on with burst.net when I stumbled across the merged thread here and started seeing what was going on.
I don't want to say it's typical but more often than not these days the server have been more miss than hit. Coupled with the fact that things like RAM upgrades carry a setup cost and a higher than avereage monthly fee. 512mb costs more than what 1GB does at most hosts.
On top of that, the upgrade time is 1-3 DAYS not hours, DAYS. My Ip address have to change for a bandwidth upgrade which caused 24 hours of downtime as the DNS propagated again.
Server was suspended 9 hours into an abuse report when it is promised 24 hours to solve the issue and I had agreed that the account needed to be suspended. We went back and forth with them about replying to the ticket that referenced the abuse issue. I was told that I needed to reply to the ticket. If they had bothered to look at the ticket themselves then they would have seen that I had a 3 to one ratio of my posts to theirs in trying to get this solved. $50 abuse fee talk about nickel and dimeing a guy. I know, I have heard it before, read the tos, aup, billing, and privacy policies. It's all in there somewhere but you just get to that point where if they charge you one more little BS fee then I'm going to go postal. Plus they can't keep their end of the bargain up when it comes to the network. Received a cpu / mobo upgrade expected upgrade time48-72 hours, after it was all said and done now the server sits still with 4GB or ram that it can not full recognize. On a happier note I did have other servers there (that's not the happy part) I knew in my gut that something had to be done. I've spent alot of time getting quotes with other providers, I even added one to my contact list from here on WHT, it was sales@hivelocity.net. I got several quotes from them and never pulled the trigger on a configuration on any of them, I tried out a few other smaller hosting companies with no luck and finally after a month or two of Dave asking how I was doing on a daily basis, I decided to go with a test server. Setup was decent, I had a problem with my ip when I first signed up, but the support staff is great, no hassles no fuss, no paying to upgrade, unless there is a price difference, NO DOWNTIME, NO ABUSE FEES (never had an abuse case yet) but it's not in any of their policies that I can read. All the chips seem to have fallen into place for me when I signed up with them.
I call Dave on a regular basis I get calls from him every so often. My server is up and better than ever. I get answers to my questions that are beyond the normal realm of technical support which I find odd because I see all over WHT that they are an unmanaged host. There are no per incident fees or nickle or dimeing. I was told by a tech that there would be a $65 per hour fee to install a 3rd party piece of software that they did not support but that to me is in the same realm of taking your car to the shop when you want a performance part installed. You want it done right and you want it quick. I still have a server with burst that I am almost finished with. I'm glad I had the courage to follow my instinct when it came time to switch or else I would be completely stuck. I ended up with burst because I was re-acuired through a reseller named Vagu. I am starting to see that there were problems between Vaguhost and Burst some time ago, about the time of that switch is when I started having second thoughts that I may need to add another provider. I am happy referring people to Hivelocity and I also resell their services. I am not too familiar with the other account representatives for Hivelocity, I believe that there are 4 total, but if you have been left high and dry by burst then give them a shout. I believe that one person even called themselves a "refugee."
View 14 Replies
View Related
Apr 7, 2008
I am planning to purchase a dedicated server (managed)from burst.net. Anybody having any experience with this company?
View 1 Replies
View Related