High resource/usage website

Recently, I have switched from a shared hosting account to a VPS. My main focus and skill was always at coding and design of the actual website. So I'm not a complete idiot but I'm kind of overwhelmed right now and looking for a bit of help.

I'm on a VPS (with EuroVPS) with 512mb of RAM, 20 gigs of HD space. I have WHM/Cpanel 10.6 with a CentOS. Heres a bit of info in case it helps:

Current Time: Tuesday, 13-Sep-2005 01:25:05 BST
Restart Time: Monday, 12-Sep-2005 17:56:29 BST
Parent Server Generation: 0
Server uptime: 7 hours 28 minutes 36 seconds
Total accesses: 274669 - Total Traffic: 2.4 GB
CPU Usage: u2337.14 s334.27 cu.66 cs.77 - 9.93% CPU load
10.2 requests/sec - 91.9 kB/second - 9.0 kB/request
20 requests currently being processed, 7 idle servers


total used free shared buffers cached
Mem: 7752336 7628396 123940 0 1922964 1872700
-/+ buffers/cache: 3832732 3919604
Swap: 4096464 1638332 2458132
Total: 11848800 9266728 2582072


Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 29G 4.8G 24G 17% /


Sometimes, our CPU usage rises to 100 percent.


Our problem comes into the fact that our site keeps going down periodically and it's because we are using 100 percent of our 512 RAM. My website has about 12k members, a phpBB forum, coppermine gallery, and usually 20-80 members online at a time.

We do have a few mods/addons installed on our phpBB forum. I guess I never cared about the server side of things because I had always been on shared hosting. Now, i am realizing that those mods cause more harm than good. Basically, I've been told my numerous people with experience that my site is creating way too many mysql queries and thats why im using so much RAM. They also told me to look into optimizing and i've searched around but I'm still a bit confused.

I guess I'm just looking for any type of help/input to help me correct the situation. 512mb of RAM should be enough to effectively run my site so any suggestions will be greatly appreciated.

 

 

 

 

Top