CodeWalrus

CodeWalrus Website => Site Discussion => Site News & Announcements => Topic started by: Yuki on September 19, 2017, 06:26:54 PM

Title: Unscheduled maintainance, site should work slightly better now
Post by: Yuki on September 19, 2017, 06:26:54 PM
Well, as you might know, the site ran into quite a bunch of issue these days, including PHP-FPM starting to ramp the CPU up to 100% for no reson, so this morning I upgraded our LAMP stack to newer versions, including PHP 7.1 (which should be faster than our old PHP 5). We also enabled Cloudflare for additional speed and to mitigate a possible DDoS. For admins, the IPs should still be properly shown in the forum logs. So, as this was a pretty major change, if you run into any issues, please contact staff and we'll look this up.
Title: Re: Unscheduled maintainance, site should work slightly better now
Post by: Dream of Omnimaga on September 19, 2017, 10:19:16 PM
I was starting wondering if we were being DDoS'ed or something. The site was brutally slow earlier and crashed on the 3rd page load or so
Title: Re: Unscheduled maintainance, site should work slightly better now
Post by: Yuki on September 19, 2017, 10:44:29 PM
Yeah, seems I fixed it when I added some Cloudflare, which does mean the load became a bit too high. I noticed a lot of requests on this thread (https://codewalr.us/index.php?topic=1847.0), though.
Title: Re: Unscheduled maintainance, site should work slightly better now
Post by: _iPhoenix_ on September 19, 2017, 10:51:39 PM
The topic name reminds me of Elon Musk's rapid unscheduled disassemblies.
Title: Re: Unscheduled maintainance, site should work slightly better now
Post by: Yuki on September 19, 2017, 10:56:37 PM
Oh, by the way, the only issue we had with PHP 7 is the URL shortener, it used one function that was removed in PHP 7. Not bad.
Title: Re: Unscheduled maintainance, site should work slightly better now
Post by: p2 on September 22, 2017, 09:09:47 AM
aah so that explains the reported failure of shortened URLs ^^
glad it was only a minor problem
Title: Re: Unscheduled maintainance, site should work slightly better now
Post by: Dream of Omnimaga on September 25, 2017, 03:05:17 PM
On a side note, we got 488504 forum page hits on that day, compared to 16000-25000 a day. I think that we were not only having issues with our server config, but the forum might also have been victim of a direct DDoS attack.