My hosting company is telling me my VPS is running out of memory. Lets look at the stats of the site and the server.
Server:
Centos
384 megs of ramm
1 gig burst ramm
20 gig hard drive
cPanel
My total traffic for last month was about 7 gigs.
Webite:
Vbulletin 3.6.5 with a few mods
database is about 16 megs
99 members
The most ever online was 20
Yesterday my site started showing a database error page, instead of the website index page. The stats at the bottom of the page showed only 7 people on the site at the time. When I contacted my hosting provider, they told me I was maxing out my memory and burst ram.
So how can a website this small max out the given ram? This is really starting to TICK me off. I have left two hosting companies because of poor performance, why cant things just work right? How is my community supposed to grow if my users keep getting a database error instead of the web page?
I run a drupal site on a VPS running Lighttpd with 128MB ram and 15GB disk space. Every so often the server crashes and I have no access to even reboot via the shell, I have to get my host to reboot the VPS. They say its most likely due to the server running out of memory. I would have no more than 5 users plus 5 guests online at the same time. So my question is this...
How can I find out exactly what is consuming the memory and causing the server to crash? I have looked at drupal logs and the server logs, but I'm no wiser as to whats causing it. What should I be looking for and what can I do to try and solve this?
I have a VPS with 512 MB ram. I have 6 sites hosted on my VPS, of which 3 contains only static pages. My site is not very traffic heavy. Infact I moved to my VPS only 3 months back, until then it was running on a shared server with no problem.
But still, I am always running out of RAM. I have upgraded my account to 512 MB ram from 256MB because of this. Can anyone please tell me how I can find out what is the cause of this excessive memory usage? On rebooting my server, the RAM usage goes down to about 250MB.
an inexpensive VPS host and based on reviews on this forum, went with Web Wide Hosting.
I had a smooth signup and thanks to Jon at WWH, managed to get a payment snafu with Paypal resolved smoothly.
However, I've been struggling a lot with getting most recommended steps to actually work in my VPS and I'm getting increasingly frustrated.
The latest problem I have is that trying to install Perl modules fails with a "cannot allocate memory" error. First google hits suggest increasing memory, which really isn't an option for me right now. More puzzling is the fact that both HyperVM and user_beancounters suggest I have enough headroom atleast to install perl modules!
Output from session:
cpan> install Authen::PAM CPAN: Storable loaded ok Going to read /root/.cpan/sources/authors/01mailrc.txt.gz Going to read /root/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Mon, 11 Aug 2008 07:02:52 GMT HTTP::Date not available
There's a new CPAN.pm version (v1.9205) available! [Current version is v1.7602] You might want to try install Bundle::CPAN reload cpan without quitting the current session. It should be a seamless upgrade while we are running...
Going to read /root/.cpan/sources/modules/03modlist.data.gz Could not pipe[/bin/gzip --decompress --stdout /root/.cpan/sources/modules/03modlist.data.gz |]: Cannot allocate memory at /usr/lib/perl5/5.8.8/CPAN.pm line 5726.
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 recently signed up for a VPS server with 512 MB of RAM. I will be hosting two sites on this VPS server. One is not online yet and I just have a Coming soon page up. The other is a Wordpress blog that is running. I don't have any users yet. But my VPS server is currently using ~410 or my 512 MB. This is with essentially nothing running yet. Does anyone else run their websites with only 512 MB or do I need to upgrade to at least 1 GB? I also checked out which processes are taking up the most (% wise):
I know I can't disable apache but what about the others? Spam Assasin is disabled in the WHM but the process restarts even after I kill it. Is Python necessary? I am using php apps..
let alone with mysql. Have tried to install those both and have tried endless variations of php settings adn moving php.ini around and checked PATH in IIS adn teh extension .php is enabled.
Question: Should php.ini be copied to Windows or Windows/system32 directory?
I have a test.php file in my virtual directory. I did have it working at one time but then I installed the extensions so I could have teh mysql extension and it hasn't worked since.
I am just a newbie trying to create a testing environment so I can teach myself PHP. I have endless books, have tried the Yanks method but I am not sure it applies to PHP5.
I have PHP at c:/program files/php/ is this a problem? Shoud it just be directly in the c directory? Does that matter?
I installed csf as my server's firewall with using cpanel besides, I've customized configuration file and everything seems to be right but when i use csf -s it results this error :
iptables: No chain/target/match by that name LOG tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_IN Blocked* ' Flushing chain `INPUT' Flushing chain `FORWARD' Flushing chain `OUTPUT' Flushing chain `LOGDROPIN' Flushing chain `LOGDROPOUT' Flushing chain `acctboth' Deleting chain `LOGDROPIN' Deleting chain `LOGDROPOUT' Deleting chain `acctboth' Error: iptables command [/sbin/iptables -v -A LOGDROPIN -p tcp -m limit --limit 30/m --limit-burst 5 -j LOG --log-prefix 'Firewall: *TCP_IN Blocked* '] failed, at line 196
i'm thinking of installing virtualization software on a linux vps machine.
reason... windows vps vost so much and linux are much cheaper. so within my cheap linux vps, i can install virtual windows using my pre-purchased win2000 license key.
has anyone tried this or is it completely not possible. also what linux-host virtualization software would you recommend?
note my linux vps already has kde with vnc running so i have a graphical interface to my linux vps at home.
I have a question that's been bugging me for a few months now (which has gotten worse as traffic increases). I run a site that gets some decent traffic (about 9-10M pageviews per month), and is mostly made up of HTML pages with a lot of images (some pages have about 200k of images, others have maybe 1.5-2MB of them). I have a dedicated server that has 2TB of bandwidth per month, and I'm quickly approaching the 2TB point... what should I do?
Normally, I'd buy more bandwidth... but the host I have charges $400/month for 10mbps unmetered bandwidth -- more than the cost of the server each month! What other options do I have?
I'm trying to run sshfs on my VPS but it seems to require the fuse module compiled on kernel. I already asked my host but they said that they won't change the kernel.
Is there an alternative to sshfs? I really need something to mount an external server.
I've written an application that acts as a game server for a simple game I'm creating. From what my friends tell me you can't run an exe on a webhost. They did however tell me that you can run java apps on a host that gives ssh access.
I currently have one dedicated server and four VPSs all using Plesk and all having their own name servers controlled by Plesk. What I'd like to do is consolidate everything so all my sites use one set of name servers.
I'm a PHP developer (and will be developing my own front end), and only have limited knowledge of administrating a server, so first of all if anyone has done this before and made mistakes in the process, please could you share them with me so I can avoid making them?
Secondly, I would like to use a MySQL database for storing the DNS info - I've found a tutorial at [url]which I'd like to use - could someone who knows what they're talking about have a skim through this and reassure me that everything there is correct and up to date (the article was written in early 2006 - just checking nothing in the world of DNS has changed since)?
I've a production server running web,smtp, ftp, cpanel...
Now I need to run different solutions on the same server (like PABX, games), of course I can't put all on the same place (to better control security, resource usage etc..) Is it possible to install xen without affecting my production environment? It would be a good choice doing that?
I want to start up my web server again. I have Windows XP hosting my web server right now. and, it's slow. Should i stick with Windows, run IIS and use httpZip from Port80? I really like microsoft, and don't want to change and adapt to something else. give me advice
Or, should I run Linux I would run Linux on it, but I don't know how. And they have different version of Linux. Example Redhat, Ubuntu etc. Which one should I go for?
Also, what do I do if I have a netgear ethernet card? Is that Linux? Is it compaitable with Redhat?
And last question, what do I use for security? I'm a hacker, yeah.. I know what all people can do to websites. How do I stop them? DoSing, Cross Scripting, XML Attacks, MySql Injection.. Etc.
I'm not sure if this is the best board for this question but I'll try anyway. We recently had an app built and the developer built it using the Zend framework.
Our server is running IIS. Does anyone have a link to information or know any tricks in getting Zend build apps to work on IIS?
We need to stick to IIS because other apps we have were built in asp so switching to apache is not an option.
why not just setup my own server. I have the connection and hardware necessary. So I am wondering why do people pay for web hosting? Why not just run your own website from your own server?