LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-26-2016, 08:08 PM   #1
blackRonin
Member
 
Registered: Jun 2014
Distribution: Debian 9.6
Posts: 68

Rep: Reputation: Disabled
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
 
Old 09-27-2016, 08:18 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,646

Rep: Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969
Quote:
Originally Posted by blackRonin View Post
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.
 
Old 09-27-2016, 07:19 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://www.linuxquestions.org/questi...8/#post5033506

Priceless.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Optimizing AIX 5L Performance LXer Syndicated Linux News 0 04-17-2007 10:01 PM
Optimizing Performance By Kernel Recompilation nivantha Linux - Newbie 2 09-19-2006 01:54 PM
need help performance optimizing this perl script hedpe Programming 10 09-07-2006 06:06 AM
Optimizing Apache for performance on FreeBSd !! apache Linux - Networking 1 07-28-2004 09:07 AM
Optimizing performance with hdparm Twiggy794 Linux - Hardware 1 01-14-2004 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration