Tips or techniques to reduce RAM usage on shared or VPS?

Starfire

New member
Joined
Jul 7, 2012
Messages
75
Points
0
Hello, for recent days my websites increase traffic suddenly and my RAM reached to 100% and seem my hosting restarted automatically
I want to know some tips or techniques to reduce RAM usage on shared or VPS?
 

ElixantTechnology

New member
Joined
Nov 26, 2014
Messages
622
Points
0
What kind of software platform are you running for your website? If you've got root access, I would recommend tuning PHP, MySQL and Apache via their configuration files. The stock configuration can be a bit of a hog.

For example, with MySQL's stock configuration it will use 52GB of RAM for 150 concurrent connections.
Whereas an optimized one can handle something more like 2,000 concurrent connections with only 24GB or RAM.
 

ElixantTechnology

New member
Joined
Nov 26, 2014
Messages
622
Points
0
There is no one way to optimize the server, there is so much to be done to get everything working at maximum optimization. It depends on your hardware, software and platform. I would recommend hitting google, there is way too much for me to go over in one post here. Also, configurations that work for one server, might not work for another. I really never recommend that anyone get a VPS or Dedicated Server unless they are a trained systems administrator with years of knowledge and experience in managing the platform OR they have someone one the payroll who does or the server is managed through the hosting provider.

Without the proper knowledge on how to fine tune your configuration files, you'll never be able to use your hardware to it's maximum potential
 
Newer threads
Replies
8
Views
3,582
Replies
7
Views
3,621
Replies
4
Views
3,302
Latest threads
Replies
2
Views
454
Replies
0
Views
636
Replies
4
Views
1,755
Replies
2
Views
762
Similar threads
Replies
5
Views
3,939
Replies
10
Views
2,903
Replies
4
Views
3,333
Replies
0
Views
2,814

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top