Portal Home > Knowledgebase > Articles Database > install nginx on centos? should i?
Posted by cenii, 03-11-2016, 05:42 AM i have this dedicated server OS:CentOS6.6-64 RAM:8x4GB Kingston 4GB DDR3 1Rx8 Processor:2GHz Intel Xeon-SandyBridge (E5-2650-OctoCore) 960GB SSD 1gbs i have about 10 websites with wordpress and page load is about 12 sec i hired to manage my server platinumservermanagement.com but still the same load time should i install nginx or any cache on server what should i do they are not doing good their job
Posted by net, 03-11-2016, 05:44 AM Moved > Hosting Security and Technology.
Posted by UNIXy, 03-11-2016, 05:52 AM The question you need answered right now is why does the page take 12s to load. You'll need to run webpagetest.org, drill down to find out if it's TTFB or DOM related. It's likely TTFB and if that's the case, disable all plugins then observe if page load changes. If you're not familiar with these terms, you really need someone who knows their stuff around servers and WordPress to show you how to work with the tools.
Posted by cenii, 03-11-2016, 05:59 AM i just run a test
Posted by UNIXy, 03-11-2016, 06:11 AM Good news (or maybe bad news), it's DOM related not TTFB. Is this website media (pics, videos, js, css, etc) heavy? Also, your compressed page size is 8MB. Meaning its actual uncompressed size is roughly ~32MB! And your one page load takes 1000+ requests. That's crazy! No wonder it's taking 86 seconds for the document to be ready. You should set up a CDN first and foremost. So go do that now if you can. Can you go over what this website is about and what it does?
Posted by cenii, 03-11-2016, 06:21 AM i have setup a month ago with cloudflare , i publish only news about 15 posts are on homepage
Posted by UNIXy, 03-11-2016, 06:26 AM The page's making 1000+ requests. Normally it's between 30-80. But it's not clear from the screen shot. Also, your CDN score is bad. Is the CDN off now?
Posted by cenii, 03-11-2016, 06:28 AM no is on with cloudflare
Posted by UNIXy, 03-11-2016, 06:46 AM You'll need to show the WPT results to understand what the 1000+ requests are all about.
Posted by OlgaSeCom, 03-11-2016, 07:19 AM Also, there a lot extentions in Wordpress can be turn on, check if what do you use. And remove all that are not using.
Posted by ServerManagement, 03-11-2016, 09:29 AM This has nothing to do with apache vs nginx. You used our service for a month, we completed 17 tickets, including one for optimization where we got your site load time to come from 15 seconds down to 2 seconds which we found was due to plugins that you were using that were causing this. Then after the month was over you said we did not do anything. We looked through the tickets and replied with a brief synopsis of every ticket Feb 2, ticket#7272091975, re: optimization, response/resolution time: 39 minutes, result: tweaked server and load was load at the time of the response and we asked you when/where you see the speed issues so we can debug further Feb 1, ticket#7271752765, re: speed issue on site, response/resolution time 30 minutes, result: monitored site for several hours and tweaked it and found that the plugins were slowing it down and got the site from 15 secs to 2 secs, resolved in 8 hours Feb 1, ticket#7271744865, re: install 2 php modules, response/resolution time: 1 hour 30 minutes, result: recompiled php with the modules you requested Feb 1, ticket#7271658495, re: memory setting, response/resolution time: 35 minutes, result: increased memory limit Jan 28, ticket#7269856430, re: malware on site, response/resolution time: 1 hour 20 minutes, result: we scanned the account and found the cause of the hacking and the files that were hacked Jan 19, ticket#7266071020, re: ssl issue, response/resolution time: 24 minutes, result: checked the ssl settings and ran an ssl diagnostic and confirmed everything was fine Jan 14, ticket#7262318090, re: hacking issue, worked on and our staff replied to 10 times with an average response/resolution time of 1-2 hours each, result: account scanned, hacked files found and removed, cause of hacking determined, etc. Jan 8, ticket#7261211680 re: dns issue, worked on and our staff replied 11 times with an averate response time of under 1 hour each, result: found the cause of the dns mismatch and fixed the dns settings on the server and at your registrar Jan 8, ticket#7261208405, re: http settings for indexes, response/resolution time: 3 hours, result: changed the apache settings as per your request Jan 7, ticket#7260960960, re: spamming, response/resolution time: 1 hour 15 minutes, result: source of spamming found and removed Jan 7, ticket#7260564980, re: ssl installation, average response/resolution time: 2 hours, result: answered question about ssl installation, then after you reopened it we made the csr for you, then after you provided the ssl we installed it and tested it and ran an ssl diagnostic Jan 8, ticket#7260525525, re: hacking, worked on and our staff replied 7 times with an average response time time of under 2 hours each, result: scanned entire server, removed hacked files, cleaned up server/mail queue Jan 5, ticket#7260094120, re: site loading issue, response/resolution time: 1 hour, result: tested page and confirmed it was loading fine, checked settings to confirm too Jan 5, ticket#7260089595, re: ssl installation, worked on and our staff replied 7 times with an average response time time of under 1 hour each, result: installed ssl in apache for the hostname and in cpanel for cpanel/whm/webmail and ran diagnostic to test it Jan 5, ticket#7260073950, re: yum/kernel update, response/resolution time: 20 minutes, result: completed the yum/kernel updates Jan 5, ticket#7259738880, re: migration, migration started and completed in 10 hours Jan 5, ticket#7259601625, re: setup/hardening, worked on and our staff replied 10 times with an average response time time of under 1 hour each, result: full server setup, hardening, datacenter config, etc. THEN after we showed you this, you replied again saying we did not fix subdomains. We checked through all of your tickets again and found that you never submitted any ticket for subdomains, in fact, the word subdomain was not even mentioned in ANY of the tickets. So as a courtesy, we gave you a week of service free to look at your optimization issue again and check the subdomain issue. In the 1 week free that we gave you, you submitted 6 more tickets which we resolved as well. 2 of those tickets were the subdomain issue and the optimization issue again. Here's what happened: First, we looked into the subdomain issue and found that it was working fine and there was absolutely nothing wrong with the server, the actual issue was with your domain registrar's settings (the domain was pointing to the registrar's dns and the subdomain A record was missing). We provided proof of this as well and assisted in resolving this. Second, we also looked into the optimization issue again and found that you did not remove any of the plugins that we pointed out that were causing the huge speed issue. We also reviewed all the apache settings, traffic, server vitals such as mem, cpu, swap, processes, etc., and all are fine. If you do not want to remove the plugins that were causing the speed issue first and foremost, then changing to nginx won't resolve your issue. So up until now, we completed 23 Tickets so far in over 5 Weeks. Everything requested was answered properly and completely. We can not continue to provide ongoing free support indefinitely just because you paid for 1 month. Optimization, support and maintenance are not one time fixes. Technical support is an ongoing issue. To say we did not do our job is a gross misstatement, especially considering we completed 23 tickets and gave you an additional week free. As we found originally, you need to remove the plugins first that are causing a 13+ second delay, THEN it can be reviewed, monitored, and optimized/tweaked further. Thank you
Posted by cenii, 03-11-2016, 12:02 PM yes i didnt said that you did bad job but not very good job ,1 ticket is about 5 days or more open still didnt reply now i cant login , p. s you need to do those from yourself because i dont know to much about servers you know what is better for a server for example to install cache etc
Posted by ServerManagement, 03-11-2016, 01:02 PM None of your tickets were unresolved for 5 days, the ticket you a referring to was a duplicate continuation of the optimization issue which we closed and referred you back to the original ticket where we left off last week and was answered with the following in the original ticket -- "The report link you provided does not work http(urlremoved). We need the details of where you are seeing the issues so we can replicate it and check further into this. Additionally, please let me know if you have made any of the previously recommended changes yet. If you want us to do them for you just let us know. The vitals, load, mem, swap, process count are all completely normal and within the acceptable range" -- The reason why your account login doesn't work anymore today is because the extra free week has expired, the free week was given to you on Mar 2nd, it expired on Mar 9th. The plugins we told you were causing the issues were inside your WP, we did not ask you to make any server side changes, these plugins can be disabled right inside your WP script. If you want us to do it for you simply give us permission to do so. Last edited by ServerManagement; 03-11-2016 at 01:08 PM.
Posted by cenii, 03-11-2016, 01:57 PM check ticket install nginx he said will check performance and didnt get any reply
Posted by Localnode, 03-13-2016, 05:13 AM Did you install a caching plugin for your Wordpress websites? You should always try that before doing anything else... @OlgaSeCom and @UNIXy have given sound advice as well. Last edited by Localnode; 03-13-2016 at 05:16 AM.
Posted by cenii, 03-13-2016, 05:59 AM no i didnt and server doesnt have mem cache or similar
Posted by tech-for-you, 03-15-2016, 03:26 AM Hi, My suggestion would be the below to increase the speed of the site. +++++ 1) Install any caching plugins like wp-supercache, wp-totalcache as this would increase the speed of the site. 2) Install any caching modules like memcache, apc. 3) Check the site in pidgin and determine what is causing the slowness. If it is the static files such as images,html causing the slowness, nginx would be a better call as it caches static files.
Posted by sleddog, 03-16-2016, 04:49 PM Nginx also provides an awesome, built-in caching mechanism of its own. You might choose this instead of Wordpress plugins like WP-Supercache... https://www.nginx.com/blog/nginx-caching-guide/ And for Wordpress, there's a plugin to help manage the nginx cache: https://wordpress.org/plugins/nginx-helper/ Using its cache Nginx serves completely static HTML pages, PHP & MySQL not required, you can shut them down It is (IMO) the most efficient caching mechanism for Wordpress.
Posted by cenii, 03-17-2016, 04:08 AM but for e-commerce are those plugins good ?
Posted by tech-for-you, 03-21-2016, 05:51 AM Hi, You can use cache plugins with eCommerce stores, however you need to ensure that you exclude the cart and other areas from caching. They need to remain dynamic. Most cache plugins will have a FAQ section that explains how to use their plugin with an eCommerce website.
Add to Favourites Print this Article