Forum Move From Apache - Page 1
Forum section: electronics / general

author: gnif
author_rank: Unknown
timestamp: October 29, 2014, 01:50:39 pm
content: Hi All,As many of you know we have been trying to deal with problems with Gateway Timeouts on the website, espessally since the slashdot/had/everything traffic for the FTDIgate. I have been working with Dave over the past few days to improive things on the server end, and I am proud to annouce that we have migrated away from reverse proxying requests to Apache, and we are now handing PHP requests direcly in Nginx.What does this mean?1) We can run php-fpm which performs much much faster then php-fcgi that comes with cPanel2) Nginx is much better at handing concurrent requests and absolutly kills Apache in performance.3) If we get slow scripts php-fpm can log the details so that I can track down what is going on.The reason why I am announcing this is because this is a rather major change to the server's configuration and if there is any strange behaviour since the change I would like to know about it. SMF is not nice when it comes to rewrite rules, and I may have missed the odd path/pattern and I need you to let me know if I have.I would also like some general feedback if people have noticed a general improvement in the forum performance.

author: EEVblog
author_rank: Unknown
timestamp: October 29, 2014, 02:12:52 pm
content: I've split this one from the other thread now.As per above, gnif has moved the forum away from Apache and now it's running.It should be much faster:http://tools.pingdom.com/fpt/#!/uuuQr/https://www.eevblog.com/forumfaster than 81% of all other tested websites it seemsPLEASE REPORT ANY ISSUES HERE.Missing URL links, errors, or anything else you notice.Thanks.

author: dr.diesel
author_rank: Super Contributor
timestamp: October 29, 2014, 02:16:29 pm
content: Quote from: gnif on October 29, 2014, 01:50:39 pmYes,, a noticeable improvement in performance.

author: robrenz
author_rank: Super Contributor
timestamp: October 29, 2014, 02:23:00 pm
content: Very noticeable improvement in response timeIt was getting annoyingly slow before

author: nanofrog
author_rank: Super Contributor
timestamp: October 29, 2014, 02:28:17 pm
content: FWIW, I'm still getting a 504 error when I click the show new replies link (cleared history on multiple occasions w/o success).

author: gnif
author_rank: Unknown
timestamp: October 29, 2014, 02:31:12 pm
content: Quote from: nanofrog on October 29, 2014, 02:28:17 pmCan you please PM me your IP address (whatsmyip.org) and I will see if I can identify what is going on.

author: BeJay
author_rank: Contributor
timestamp: October 29, 2014, 02:39:27 pm
content: That is crazy, how can a non apache server be faster? IIS is not even close

author: tggzzz
author_rank: Super Contributor
timestamp: October 29, 2014, 02:51:23 pm
content: Quote from: BeJay on October 29, 2014, 02:39:27 pmRead the principles used when designing nginx, and all will be clear.

author: gnif
author_rank: Unknown
timestamp: October 29, 2014, 02:51:51 pm
content: Quote from: BeJay on October 29, 2014, 02:39:27 pmNormally Apache is blindingly fast, but due to the nature of the solar friggen roadway cosmic galactic force Apache feels it can't keep up anymore and has decided to hand over the performance reigns to Nginx. I mean... Solar Friggen Roadways!Quote from: tggzzz on October 29, 2014, 02:51:23 pmI believe that was toung in cheek

author: tggzzz
author_rank: Super Contributor
timestamp: October 29, 2014, 02:58:05 pm
content: Quote from: gnif on October 29, 2014, 02:51:51 pmIrksome. Now I have to figure out why I didn't see the smiley.

author: gnif
author_rank: Unknown
timestamp: October 29, 2014, 03:00:18 pm
content: Well... just had an outage, but it wasn't the server this time... CloudFlare was reporting the server was offline... lies! I have an active SSH link to it, and lots of people were viewing the forum at the same time.

author: gnif
author_rank: Unknown
timestamp: October 29, 2014, 10:35:37 pm
content: Quote from: wilfred on October 29, 2014, 10:23:56 pmHaha, don't worry, even those of us that work with this stuff daily sometimes dont twig. I am still looking for how to pronounce Icinga.

author: RobertoLG
author_rank: Frequent Contributor
timestamp: October 29, 2014, 10:37:27 pm
content: yes, it's loading faster for me, sometimes I had to reload one or two times

author: BurtyB
author_rank: Regular Contributor
timestamp: October 29, 2014, 11:12:36 pm
content: For me the image is broken to the left of the text "Hello BurtyB" in the heading and when I view the image URL (https://www.eevblog.com/forum/index.php?action=dlattach;attach=44915;type=avatar) in a browser I get the following.QuoteWhich also has a broken image (https://www.eevblog.com/forum/wp-content/themes/gear/images/logo.png) which isn't an image but looks to be the HTML forhttps://www.eevblog.com/forum/so probably one of those rules gone wonky.ChrisB.

author: Nuno_pt
author_rank: Frequent Contributor
timestamp: October 29, 2014, 11:35:59 pm
content: Loading very fast here, noticeable improvement, job well done.

author: gnif
author_rank: Unknown
timestamp: October 29, 2014, 11:48:32 pm
content: Quote from: BurtyB on October 29, 2014, 11:12:36 pmThe first issue looks like it is your cache, please clear it and reload.The second issue is certainly a bad rule, I will correct this asap.

author: EEVblog
author_rank: Unknown
timestamp: October 30, 2014, 12:12:30 am
content: Everything seems fine except if I try to access the moderator page:https://www.eevblog.com/forum/moderate/It just takes me to the main forum.

author: orion242
author_rank: Unknown
timestamp: October 30, 2014, 12:23:42 am
content: Has anyone reported issues with the forum on Android?When I try to pull up the forum on my phone it bombs out with an error something to the effect of "too many server redirects".

author: Chris_PL
author_rank: Contributor
timestamp: October 30, 2014, 01:08:25 pm
content: Quote from: orion242 on October 30, 2014, 12:23:42 amHm, no problems here, I'd even say it runs quicker and more smoothly. Tested on both stock Android (4.4.4 KitKat) browser and Chrome mobile.

author: nanofrog
author_rank: Super Contributor
timestamp: October 30, 2014, 04:20:53 pm
content: Quote from: gnif on October 29, 2014, 02:31:12 pmJust saw this.PM sent.

author: SeanB
author_rank: Super Contributor
timestamp: October 30, 2014, 08:06:07 pm
content: Seems to be working well, and loading pages are faster too it seems. Looks like a lot of sites are moving to NgineX as well, saw the splash screen a few times while pages are loading when my connection was running at near capacity. Them being interviewed on Floss weekly surely helped.

author: gnif
author_rank: Unknown
timestamp: October 30, 2014, 09:44:22 pm
content: Quote from: SeanB on October 30, 2014, 08:06:07 pmHeh, it certainly has. I have been using NginX now since their website was sitll completely Russian, it was a PITA to configure as I don't read russian, but it was well worth persisting with it. I have deployed varnish and a few other proxies in different circumstances and in general find myself always gravitating back to NginX, it is truly excellent software and I wish cPanel would adopt it as the norm (I know, needs .htaccess support first, etc).

author: RobertoLG
author_rank: Frequent Contributor
timestamp: November 02, 2014, 01:39:40 am
content: I was geting the bad gateway error an hour or so ago, looks normal for now

author: gnif
author_rank: Unknown
timestamp: November 03, 2014, 02:51:33 am
content: Quote from: RobertoLG on November 02, 2014, 01:39:40 amThe server had run out of PHP processes, an oversight on my part, this should be fixed.

author: Yago
author_rank: Frequent Contributor
timestamp: December 29, 2014, 09:01:39 am
content: Been getting this gateway timeout error screen again(for last two days).Basically everytime I click main forum page (press back is ok).

author: Yago
author_rank: Frequent Contributor
timestamp: January 01, 2015, 09:46:19 pm
content: Turned out to be corrupted BIOS, clock eventually stopped.All works fine after reset.Sorry about that, caught me out!