LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Optimizing server performance (https://www.linuxquestions.org/questions/linux-server-73/optimizing-server-performance-4175590218/)

blackRonin 09-26-2016 08:08 PM

Optimizing server performance
 
Hi

I know basics of administering the server, but i want to learn more.
I'd like to know how to determine how much ram and cpu power i need to host specific sites.
Eg. Is 1gb vps will be fine for site with xxx reguests / traffic

How to get info about current used resorses by website's (wordpress).
I mean how many requests http servers uses, how much ram/cpu are used by processes
(apache, php, mysql etc.)

Please let me know about good articles.

Thanks

TB0ne 09-27-2016 08:18 AM

Quote:

Originally Posted by blackRonin (Post 5610386)
Hi
I know basics of administering the server, but i want to learn more. I'd like to know how to determine how much ram and cpu power i need to host specific sites.
Eg. Is 1gb vps will be fine for site with xxx reguests / traffic

There is no 'formula' to follow, ever. As the administrator, it's up to you to keep an eye on things, and adjust accordingly. A 'website' can be a static page with no images, all the way up to a huge multi-terabyte image hosting site, with a huge database on the back end. Define 'site' first, and determine what resources are needed. Determine where things are going to run (database on same server? Different? Location of servers in proximity to each other? Bandwidth between the two? etc., etc., etc....)
Quote:

How to get info about current used resorses by website's (wordpress). I mean how many requests http servers uses, how much ram/cpu are used by processes (apache, php, mysql etc.)
Same way you would about any OTHER server, with the same Linux utilities. A web server is just another server; top, free, iostat, sar, etc., are all available to you. You can use tcpdump to measure requests, and there are a slew of software suites that will let you track such things (Nagios, Zabbix, etc.)
Quote:

Please let me know about good articles.
You've been here two years..you should know that we aren't going to hand you links and look things up for you. There are MANY thousands you can easily find with a brief Google search. Start there.

Habitual 09-27-2016 07:19 PM

http://www.linuxquestions.org/questi...8/#post5033506

Priceless. :)


All times are GMT -5. The time now is 12:41 PM.