Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11833
Latest: playwyourlifenotme
New This Month: 1
New This Week: 1
New Today: 1
Stats
Total Posts: 42303
Total Topics: 7379
Most Online Today: 31
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 31
Total: 31

Author Topic: Server Issues  (Read 184 times)

0 Members and 1 Guest are viewing this topic.

Offline PapaFrizArcade

  • Awesome Post Ratings
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
Server Issues
« on: May 12, 2022, 09:01:51 am »
This last weekend we experienced some server issues...

I was told:

Quote
I found that the site was hitting PHP-FPM pool limits. I have increased those considerably which should resolve the issue.


That seemed to resolve the issue for a few hours... but then the site went down again.  I re-inquired.  After a short while everything went back online and it has been since.  A day or two later my server admin emailed me:


Quote
How have things been performing since your last reply?

We ended up increasing the limits on another setting within an hour or so of your last reply. Have things been normal since then?

Another thing they mentioned is that there was a lot of traffic to a specific query that day that seemed like a possible indicator of a code-related issue. We're not 100% positive but something wasn't adding up that day.

The overall traffic isn't what was really concerning but the amount of requests for specific things were much higher than some of the other sites on the server that have a lot more traffic (as a comparison).

For example, here's one comment from the datacenter:

"When looking at traffic from 67.XXX.112.XXX, I found quite a few of the following requests:

67.XXX.112.XXX - - [09/May/2022:16:10:24 -0400] "GET /index.php?action=profile;area=alerts_popup;counter=6;u=436 HTTP/1.1" 200 486 "https://www.NOFOLLOW.com/index.php?action=badgeawards;sa=badgedetail&id=699" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"

You may want to run that by the site developer to see if there have been recent changes."

That particular IP (user) above had about 5000 requests in the timeframe that day we were reviewing.

The IP in question above is one of my BADGEMASTERS.  I asked him about that day... if he noticed anything... and asked what he was doing.  He replied:

Quote
That's odd for sure.

I was browsing around the master badge list looking at previous badges I have missed as I'm thinking of starting a thread of Zombie badge hunting for stuff that I may have missed being late to the AHA game.

I probably had 15 or so tabs open with various badges from the list and the threads they came from. It certainly didn't feel like much of anything excessive though.

I cannot begin to imagine how I could have generated 5000 requests for anything from the site over a particular time period though, unless that period was days to weeks long.

I had a fair number of problems on Monday when the site was having issues, but so did everyone.

Anything I can do to assist in troubleshooting though, let me know.

It seems that messing around in the MASTER BADGE list may have caused too many PHP calls or something?!? I have no idea... hence my post here.  Keep in mind we are nearly at 1000 badges now.

Any way to prevent this in the future?  Is my hypothesis correct?  Am I going to have to start DELETING badges? (say it isn't so!!!)

:D

Anyway,  whatever they did on their side seems to have worked as the site is up and we've not had any more issues since...

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16037
    • View Profile
Re: Server Issues
« Reply #1 on: May 12, 2022, 09:37:53 am »
It looks like it is with the alert mod based on if all the requests start with
 /index.php?action=profile;area=alerts_popup;counter=6;u=436 and if the badge id is the same.
I think the alerts mod got struck in a loop or something similiar.


That page on the badges system just shows badge details.





Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PapaFrizArcade

  • Awesome Post Ratings
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
Re: Server Issues
« Reply #2 on: May 12, 2022, 10:29:05 am »
Ah,  but the alerts "mod" is no longer a mod but part of SMF.  I guess I need to report this issue over there?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16037
    • View Profile
Re: Server Issues
« Reply #3 on: May 12, 2022, 10:32:14 am »
Yeah would like to see more of the requests to see if there is a pattern or what happened.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PapaFrizArcade

  • Awesome Post Ratings
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
Re: Server Issues
« Reply #4 on: May 12, 2022, 11:15:48 am »
I can ask the server admin ... or if you can direct me to where I may be able to create such a log in Cpanel (if doable) I can do it myself.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16037
    • View Profile
Re: Server Issues
« Reply #5 on: May 12, 2022, 11:19:56 am »
Haven't used cpanel in a long time. There should be a logging section though. Like apache logs.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PapaFrizArcade

  • Awesome Post Ratings
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
Re: Server Issues
« Reply #6 on: May 12, 2022, 11:50:04 am »
Found a bunch of different ways to access historical data,  unfortunately it appears to typically only go back a couple days or so.  I'll ask the server admin for more info if possible.
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
3770 Views
Last post June 07, 2007, 09:02:02 pm
by SMFHacks
12 Replies
15391 Views
Last post August 18, 2008, 10:51:15 am
by gibbs
3 Replies
3750 Views
Last post December 31, 2008, 08:44:53 am
by SMFHacks
Few Issues

Started by shuban « 1 2 » Support

27 Replies
9944 Views
Last post June 03, 2012, 03:08:17 pm
by shuban
6 Replies
3203 Views
Last post November 03, 2018, 12:00:12 am
by SMFHacks

+- Recent Topics

Trying to access array offset on value of type null by SMFHacks
June 30, 2022, 03:58:54 pm

SMF forum by davejo
June 27, 2022, 01:16:25 am

Quick-moderation checkboxes by davejo
June 22, 2022, 09:27:24 am

Add option to Main Menu bar by Shades
June 21, 2022, 12:23:00 am

Logo and Category? by SMFHacks
June 12, 2022, 03:43:31 pm

prettyurls - TroubleShooting.wiki by GhostHunting
June 12, 2022, 02:52:57 pm

[Mod]Modification Update Version Checker by SMFHacks
June 06, 2022, 09:25:39 pm

Profile Gallery Link by SMFHacks
June 02, 2022, 05:17:45 pm

SMF Store 5.0 Beta Errors - Trying to access array offset on value of type null by Michael Vail
June 01, 2022, 12:48:48 pm

Upgrade Issues? by SMFHacks
May 30, 2022, 06:24:03 pm

Powered by EzPortal