I have a VPS. And have had an issue both when it was 1Gig and now I recently downgraded it to 768m, because I am moving some sites to a dedicated.
However, the part I am having trouble grasping is that when I look at graphs from Munin, it will typically always show 200-400MB free memory (and free -m and top agrees with munin), but Munin shows 'committed' memory that is above the total Ram on the VPS and once the 'committed' ram exceeds the VPS limit, processes start failing.
So, why is 'committed' memory exceeding the RAM on my VPS, when Munin, free -m and top all show there is free memory available?
Code: root@server [~]# free -m total used free shared buffers cached Mem: 768 449 318 0 0 0 -/+ buffers/cache: 449 318 Swap: 0 0 0 Here's a graph that munin produces that shows the 'committed' memory exceeding the total memory. [url]
I just got a new server Dual E5520 with 6GB RAM, SAS 15k rpm raid10. It's running well. However, the memory usage is just around 2.5GB, even when I have more traffic. Here is the kernel info
Quote:
# uname -a Linux server2.[url]2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Any idea that we can put more content into memory?
I have a 512mb DV server with Mediatemple, which I am running 24 (ish) domains off (most of them static websites) and a teamspeak server. I would say MAX theres 10 users online at a time)
Now, I know its running out of memory because i get frequent QoS Alerts in plesk (kmemsize is apparently the memory size):
Oct 01, 2009 11:52:57 AMBlack zonekmemsize
I have attached my results (when I did top).
My questions are:
1. Should I be expecting to be out of memory running what I am?
2. Is there a way to see the problem domains (memory wise)?
3. Are there any ways I can reduce the memory? (I have followed this already: [url]
4. Where is the memory usage coming from (I am finding it very hard to understand TOP)
I am hoping someone with experience of these things can comment on memory usage on my VPS partition. The master server on which my partition sits seems to be running at full memory usage and I'm getting lots of fork and mutex errors in apache causing apache to crash several times a day.
I'm running Invision Power Board on there with an average of 100 users in the last 15 mins during most of the day.
oomguarpages and privmpages are reported in 4KB blocks.
Hello everyone.i run LAMP on a dedicated server at theplanet.I have a small vbulletin forum.
I m planning to move to a new server.Just a quick question.for my new hardware,do i give more emphasis to ram or cpu...i will be getting 2 gb at the minimum.
SO,is LAMP dependant more on cpu resources or ram?
I previuosly have a forum hosted on a VPS with a 512 MB RAM (OpenVZ) and at that time it was only using 300MB of ram during peak time but the server was always down due to harware failures so I move to a new host this time Using Xen with a 768 RAM now it is using all the RAM available which is double the ram that it uses before. Is it really normal for a XEN vps to consume more memory than on a VPS using OpenVZ?
Drive Space Critical on server Drive Critical: /dev/simfs (/) is 91% full
When i check the whm I see
cpsrvdfailed exim (exim-4.68-1_cpanel_maildir)up ftpdup httpd (2.2.8 (Unix))up imapup mysql (4.1.22-standard)up named (9.3.3rc2)up popup Server Load0.11 (2 cpus) Memory Used38 % Swap Used0.00 % Disk /dev/simfs (/) 91 %
what i dont understand is where did it go. I dont really have much traffic and nothing was uploaded or downloaded. I dont have any automatic backups enabled. How do I get it back to the normal 40%
I do notice i have alot of cpu usage Top Process%CPU 77.4gzip Top Process%CPU 76.2gzip Top Process%CPU 75.9gzip
Which is also confussing to me because I am the only user. I didnt do any backups didnt have any major traffic. And my disk space "memory used" didnt change.
How much memory would I need to run a couple of websites, with gallery,postgresql,wordpress,dotproject,spamassassin on top of usual apache, mysql, php etc?
Most of the cheap VPS starts from 196MB or 256MB. 512MB upgrades are expensive :p
I am trying to optimize my VPS setup and can't seem to get it to use all of the memory that I have. I have problems even getting it to use half of it. What kind of changes can I make so that it uses more memory while reducing load? My recent MySQL and Apache conf optimizations I have read about here and other sites have sent my loads above 1, but the memory usage is staying the same.
I've a question with XEN VPS. I rented vps with sweden provider and its 20 GB HD and 256MB memory. The setup isnt bad, done within 1 day. I check inside the vps and its XEN VPS.
I tried "top" command and wow, I am supprised !! here what I saw Mem: 262320k total, 208708k used, 53612k free, 54680k buffers isnt it funny ? 50MB++ left(not yet run anything, no panel running too). is it normal ?
I have other vps running inside virtuozzo, and got 192 MB inside. even its running so many process inside(about 15) that takes about 5-10MB each, its still have more left than XEN.
I have this 512MB memory VPS plan from fdcservers.net and it kept running out of memory.
The memory went up and down like roller coaster every seconds although I switched off httpd. Anyone can tell me what RAM do they assign to my VPS? Here's the beancounter results: [Please find the result in the attachment] Dont know why webhostingtalk mess up the spaces between each texts.
We are running into yellow status often at our new VPS. We have been with the web host for almost 1 year and recently got moved to a new VPS. WHM often show a yellow status for Memory Used (80% or so). As per the web host, WHM shows RAM for the entire server and not just our VPS. So how can we determine how much RAM we are using so? And to determine if we are using more RAM than we should or if others on the server are the culprit?
if someone here could offer their advice/expertise in this problem. I have a 256MB CPanel VPS. When Apache is restarted, memory is around 180MB which is perfect
However, before long, memory usage is at 240MB. Looking at top processes, this is the top 5 i get...
PID USER PR NI VERT RES SHR S %CPU %MEM TIME+ COMMAND 29833 nobody 15 0 27616 14m 3776 S 1 1.4 0:30.32 httpd 26432 nobody 15 0 29104 16m 3836 S 1 1.6 0:24.80 httpd 28398 nobody 15 0 26996 14m 3776 S 0 1.4 0:28.70 httpd 28645 nobody 15 0 31324 17m 3776 S 0 1.7 0:25.93 httpd 31981 nobody 15 0 32232 17m 3776 S 0 1.7 0:38.69 httpd
Anybody able to offer any advice? I see that all processes are httpd, is lighthttpd or lightspeed a solution?
The main site serves up php content (No mySQL) and a few images. It also has a LOT of image requests which are redirected by photobucket via .htaccess.
The secondary site on the server (not yet launched) is going to be an arcade site running gamescript. I have been hesitant to release this site untill these memory issues are sorted.
is that normal? how I can less memory used. ---------------------------------------------- Second I just got following email from system
"The following list of files have FAILED the md5sum comparision test. This means that the file has been changed in some way. This could be a result of an OS update or application upgrade. If the change is unexpected it should be investigated:
I just want to know that when I run the command free -m (/usr/bin/free -m) what exactly this output means:
Code: total used free shared buffers cached Mem: 3546 3395 151 0 261 2730 -/+ buffers/cache: 403 3143
I know that the values are in megabytes, but what scares me is the amount of megabytes left. Considering that I have 4gigs of space, does this mean that I only have 151 megs of RAM space left? Or is a large portion of that 4 gigs put aside for some reason (perhaps the cache).
If so, then why is this? Is the memory still practically free?
So my cPanel / WHM VPS (512MB RAM, 1024 burstable) is apparently using over 90% of its memory (according to the "service status" panel in WHM), and has been using 80% or more every time I've happened to log in over the past 2 weeks.
There ought to be literally nothing going on on the server right now (no email sent, received or relayed, nobody visiting the sites, no uploads, no downloads, no nothing). CPU load is very reasonable (0.11, 0.04, 0.0), and none of the processes appearing when I run "top" are using any memory worth mentioning.
What's the most likely explanation, and how concerned should I be about this (considering I'm anticipating a lot of traffic next week)? Would you recommend any specific further steps to investigate?
I got it last night and i've been setting it up since. For some reason the memory usage is at 70 percent now.... how could this be? What happens when I open my site to the public and I get hammered with users? This was the whole point of getting a VPS!
When I run yum update I get: memory alloc (XXXXX bytes) returned null
It's probably memory problem since my VPS config is really minimalistic... running updates one-by-one (yum update packagename) works ok, but it's pain in the a** to install 100+ updates like that, manually. It's apparently some kind memory leak in yum, does anybody know some way to prevent it? E.g. a script that would download list of needed updates, save it and then run it individually.
I recently upgraded my VPS account, specifically to get more memory. During testing, all my apps were consuming right around 400K, so I upgraded from 512K just to be safe.
At first I was glad I did be because I was routinely passing my previous limit of 512. I then started to approach my current limit and grew concerned. Then I noticed that my processes total memory did not match the amount of RAM the performance tab indicated (commit charge), actually it was almost double. Prior to the upgrade, these numbers matched consistently. I have investigated this for days and consulted my peers and the internet concerning this issue. I have concluded that these two numbers should match. Hosting company said they shouldn't match and closed the issue.
Does anyone have any experience in this? I did run out of memory once when I was at 512, and it was ugly. Not sure why it didn't use VM. Which is set to 3gigs, seems really high, do VPS typically let you mange VM?
It seems that a user may get more percentage of memory purchased for real use. I've got a xen VPS which has access to all 8 CPU cores. Guess this is a good thing to be able to burst CPU resources
But this requires lots of kthread running to be able to access all CPU resources, which in turn consumes quite some memory, a valuable, limited resource on a small VPS instance.
The output above is grathered when almost no other services are running except sshd.
While XEN VPS surely consumes more memory than OVZ VPS, I would suggest the Xen VPS can be built in such a way less memory is required to just do the housekeeping.
Of course, that would imply careful provisioning, maybe less "overselling" for the sake of lack of a term. The bottom line is how we can reduce the memory usage, while ensure individual VPS instance can still have fair share of CPU if needed.
Is there anyway in the VPS kernel config which can disable access to certain CPU core, thus reducing the number of kthreads and etc?
My host says am out of memory and got only 4MB left...
So am quite lost here..
My specs are as follows:
AMD phenom q9600 4GB memory
first of all how is this possible ?
I have in all 17 domains hosted and only 5 accounts as this is a new server..
Things runnig on it is A video sharing website, which is currently not being used, a social network (10 or less visits per day and the rest html pages)
I'm looking to consolidate a half dozen hobby sites as well as one primary business venture website into one hosting account (1 main, 5 or 6 add-ons). I want to make sure I don't short change myself in the hardware department and I'd appreciate your opinions.
I have a few shared hosting accounts, but I refuse to give any more money to my current host as they have proven time and time again to be incompetent. (harsh, I know, but there's a long history behind that statement)
Anyway, I do have options, but I have no idea which way to go at the moment. Any thoughts you have would be greatly appreciated.
The primary site is a niche search engine with about 100 to 200 visitors a day, and a database of a few hundred MB which I will aggressively grow once I move to a new account/hardware. I want to make sure I have enough processing power, memory, and whatever else is needed to ensure the database queries are pretty quick. On shared hosting, I have waited 20 or more seconds after hitting the "Search" button to get the results, and that's 20 seconds too long.
I have 2 PE2650 machines at my disposal, 2 procs each (3.2 I think), approx. 10GB memory in each. I thought of running from home on my ISP business account, but I feel I will just be setting myself up for another needed change 6 months to a year down the road.
My other options are VPS hosting and colocation of one of the servers (or both). If I put my server(s) in a datacenter, I will have to manage, which is fine since I have the resources to help, but the machines are only under warranty for another 6 months. They are getting older, but if I could get a couple years out of them, I'd be happy. I could also use one and have the other for parts if needed. If I choose to rent a VPS, I'm really not sure how much memory I would need to keep the database queries returning results fast. Seems like the plans are cheap enough, but offer nothing for memory, so you have to virtually double the price of the plan with add on memory.
I don't have a set price range yet. I wanted to see what everything costs and what I need exactly first before deciding which route to follow. Obviously, the cheaper the better as long as it doesn't compromise performance and/or customer service.
So what I'm really wondering, other than your thoughts on VPS and/or colocation is, how much memory do you think you'd need to run cpanel and a database for a search engine that will probably grow to operate at 5 to 10GB within the next year.
I am hoping someone might be able to point me in the right direction here.
I just setup a new server (running Ubuntu LAMP). I also install phpmyadmin as I plan to create a php/mysql web app off it. However now when I try to access phpmyadmin I get the below error
Also even when I try to run a login system which works on my other server I get a similar error?
Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 311296 bytes) in /usr/share/phpmyadmin/libraries/common.inc.php on line 794
I have tried changing my php.ini file allow 16MB thinking maybe my max size was set too low but that did not fix it