Skip to main content


PHP-FPM


The Instance went down again. Instead of rushing to get the instance back up I check some logs and it appears that when I increased the values I did not increase the pm.max_spare_servers. I allowed more to be generated but did not allow them to exist 😉. Which of course took php-fpm down.

I increased pm.max_spare_server so hopefully this time I have enough to handle the load. As you can see in the screenshot below as soon as more spare servers were added that brought it above 100, the whole service shutdown bringing the site down.

The setting still may need massaging. Time will show.

in reply to Unus Nemo

@Unus Nemo
I dug 'way back to 2023 to recall the error messages I was originally getting on QOTO and Dr. Freemo was telling me I was the only one encountering them. It was a Rate Limit error, and the reason for that problem was that I was going straight to the Federated tab instead of the Home tab (the equivalent would be the Friendica "Conversations on this and other servers" circular tab, then choosing Other Servers. It turned out that I was indeed exceeding the Qoto rate limit by accessing the Fediverse. Dr. Freemo fixed that, once we nailed down what it was, but I've been getting the 500 error ever since. Hope this helps.
in reply to Radio Free Trumpistan

@Radio Free Trumpistan

Thank you I appreciate the effort you have put in to help. I am waiting for the next HashTagGame event to see if the Instances crashes or not. I found a logic error in my configuration and I am hoping that my updates fixes the issue. If not I will keep working on it 😉.

in reply to Unus Nemo

@Unus Nemo
Unless there's a technical disaster at Paul's end, it's always going to be at 9 pm Eastern...and even when his server goes down as it did recently, he's got a team to start it anyway. 😁
I did play Hashtag Games on Qoto with no problem, though--just sayin'. Just fishin' out possible clues when I find 'em.
in reply to Radio Free Trumpistan

@Radio Free Trumpistan

I am fishing as well. It is the only thing that is new. I have been up for months at a time without a crash and suddenly it starts. Now of course just because two things happen at the same time does not mean it is related. There could be something else I am overlooking. Though I do know:


  • PHP-FPM started running out of idle server processes just as the game started being played. Now maybe it is just a coincidence I do not know.
  • I only had on other such glitch a month ago and it did not reoccur for a quite a while.
  • Error logs point to the server going down around the event time.


None of this is definite. And I may be barking up the wrong tree. Though I suspect that surviving the event without a crash will be a good indicator.

This entry was edited (2 days ago)
in reply to Unus Nemo

@Unus Nemo
I guess the think to do is to keep after it until we find "the red X"....that is, narrow it down to the actual culprit. I do know that the thing here and Qoto have in common is that handling traffic from all those other servers in the Fediverse is like trying to drink from a fire hose, so it's not surprising that systems can get overwhelmed.
Default display on this Friendica account is 40 messages and I dropped that down to 20. If you think dropping it down to 10 might be helpful, I'll certainly change that setting.
I also have automatic refresh turned off because there's no way I can read or reply to stuff that comes in as fast as all that. I tried it before and it was frustrating, so I don't want to change that one....but that'll give you an idea of the fire hose effect is experienced at the user end when reading Global Other Servers.
in reply to Radio Free Trumpistan

in reply to Unus Nemo

@Unus Nemo
Happy to do what I can. Okay, put 'er thru the paces it is, then. Will do!
in reply to Radio Free Trumpistan

@Radio Free Trumpistan

Friendica is supposed to able to operate with far less resources than I have available on my VPS. I have dedicated that VPS to nothing but Friendica and support services for Friendica. I have only had this Instance up for a few months. So in time I will get it right 😉.