Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4269
Latest: Gatux
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43593
Total Topics: 7567
Most Online Today: 185
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 80
Total: 80

Author Topic: Server Issues  (Read 1441 times)

0 Members and 1 Guest are viewing this topic.

Offline PapaFrizArcade

  • Jr. Member
  • **
  • Posts: 76
    • 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: 16584
    • 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

  • Jr. Member
  • **
  • Posts: 76
    • 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: 16584
    • 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

  • Jr. Member
  • **
  • Posts: 76
    • 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: 16584
    • 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

  • Jr. Member
  • **
  • Posts: 76
    • 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
4290 Views
Last post June 07, 2007, 09:02:02 pm
by SMFHacks
12 Replies
17398 Views
Last post August 18, 2008, 10:51:15 am
by gibbs
3 Replies
5024 Views
Last post December 31, 2008, 08:44:53 am
by SMFHacks
Few Issues

Started by shuban « 1 2 » Support

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

+- Recent Topics

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

quoting part of message by Lirorobert
October 04, 2024, 03:21:40 pm

Does SMF Gallery support by SMFHacks
October 02, 2024, 06:14:26 am

Item count on Gallery Tab shows double by SMFHacks
September 26, 2024, 12:59:20 pm

Forum post missing when image over 4000x pixels is uploaded to gallery by Michel68
September 24, 2024, 01:37:17 pm

Setting a photo as invisible by Monocero
September 17, 2024, 02:11:56 pm

Powered by EzPortal