Forum very slow today [SOLVED]

Ideas and discussion


User avatar
rockedge
Site Admin
Posts: 6539
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2748 times
Been thanked: 2620 times
Contact:

Re: Forum very slow today

Post by rockedge »

Please report how it's working now.........they tell me it's fixed. But I am still seeing a big lag

User avatar
pemasu
Posts: 35
Joined: Sun Dec 12, 2021 2:01 pm
Been thanked: 5 times

Re: Forum very slow today

Post by pemasu »

It is not fixed. There is still lag, about 10 seconds.

User avatar
rockedge
Site Admin
Posts: 6539
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2748 times
Been thanked: 2620 times
Contact:

Re: Forum very slow today

Post by rockedge »

Today Nawaz Ahmed from Bluehost tech support helped us out tracking down the problems that are slowing the sites and causing errors when pages are rendering.

Several steps were taken to improve the situation and we now await to see how the fixes migrate.

So a shout out to Nawaz for sticking to the problem and finding possible solutions! :thumbup:

User avatar
fredx181
Posts: 3059
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 373 times
Been thanked: 1301 times
Contact:

Re: Forum very slow today

Post by fredx181 »

Still lagging a bit, but I can live with that (it's good test for being patient :D )
Just to report, I see also "Ajax error" sometimes e.g. when clicking on 'Notifications' and select from the list.
edit: and the sql error message comes up frequently too.

tosim
Posts: 480
Joined: Thu Jul 23, 2020 1:13 pm
Has thanked: 929 times
Been thanked: 57 times

Re: Forum very slow today

Post by tosim »

Still very slow here @1014 MST, USA

User avatar
Flash
Moderator
Posts: 976
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 51 times
Been thanked: 125 times

Re: Forum very slow today

Post by Flash »

>10 second lag here.

Chaos coordinator :?
User avatar
Grey
Posts: 2023
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 76 times
Been thanked: 376 times

Re: Forum very slow today

Post by Grey »

rockedge wrote: Tue Nov 08, 2022 1:52 pm

I have a good friend who does pretty much the same thing I do for a company that pays him $100,000+ per year. And he calls me for advice. Ahhhhh the world works in mysterious ways

Such a familiar situation. My friend also calls me quite often and I ask every time: "how have you not been fired yet?!"
Maybe that's why everything is so slow. An employee of the provider's company simply cannot contact his friend.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 107 times
Been thanked: 67 times

Re: Forum very slow today

Post by keniv »

Seems to have got slower over the day. Just logged in and got another sql error.

Ken.

williwaw
Posts: 1939
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 368 times

Re: Forum very slow today

Post by williwaw »

rockedge wrote: Tue Nov 08, 2022 1:52 pm

I have looked at many many possible reasons from our end. Nothing jumps out and no configuration has changed. DNS resolves fine. Strange is that even a very simple single index.html page is throwing Internal Server Error's.

frustrating. Has anything been updated recently on your end recently that can be reverted as a test?

Has anything been updated recently on their end that might not play well with your setup?
(I know you have to take on faith their answer to this question.)

User avatar
bugnaw333
Posts: 341
Joined: Wed Jul 20, 2022 11:04 pm
Location: Cebu, Philippines
Has thanked: 529 times
Been thanked: 68 times

Re: Forum very slow today

Post by bugnaw333 »

This is just like Windows now--slows over time... :mrgreen: :thumbdown:

Attachments
Screenshot(38).png
Screenshot(38).png (16.82 KiB) Viewed 879 times
User avatar
bigpup
Moderator
Posts: 6985
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 906 times
Been thanked: 1522 times

Re: Forum very slow today

Post by bigpup »

No improvement for me.

Still takes 8 to 10 seconds to work.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bugnaw333
Posts: 341
Joined: Wed Jul 20, 2022 11:04 pm
Location: Cebu, Philippines
Has thanked: 529 times
Been thanked: 68 times

Re: Forum very slow today

Post by bugnaw333 »

16 seconds here. :?

User avatar
bigpup
Moderator
Posts: 6985
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 906 times
Been thanked: 1522 times

Re: Forum very slow today

Post by bigpup »

In Pale Moon browser with the Developer Tools -> Debugger turned on.

Every time I select something in the forum i get this response before it shows what I selected.

Notice the second entry about stylesheet having a 404 status.

Maybe a clue :idea:
.

Screenshot(4).jpg
Screenshot(4).jpg (102.03 KiB) Viewed 1002 times

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

dogcat
Posts: 262
Joined: Fri Feb 18, 2022 11:14 pm
Has thanked: 70 times
Been thanked: 121 times

Re: Forum very slow today

Post by dogcat »

just thinking out loud here

this feels like an overloaded memory issue, you have probably already checked to make sure they didn't upgrade or change mysql version & check the phpbb version against mysql versions for compatibility and checked phpbb plugin compatibility. Very odd having two separate phpbb and sql databases having similar issues when they were both fine, no such thing as a coincidence

Μακάριοι οι καθαροί στην καρδιά * επειδή, θα δουν τον Θεό.

Mercedes350se
Posts: 80
Joined: Tue Nov 24, 2020 3:34 am
Has thanked: 44 times
Been thanked: 1 time

Re: Forum very slow today

Post by Mercedes350se »

greengeek wrote: Tue Nov 08, 2022 6:32 am
Mercedes350se wrote: Tue Nov 08, 2022 3:19 am

'zilla browsers are as slow as cold molasses - palemoon seems normal.

Which version of Palemoon please? (And 32bit or 64bit?) Cheers!

Version 31.1.0 64 bit

BUT this morning it is exactly the same - slow as cold molasses.

User avatar
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: Forum very slow today

Post by wiak »

https://firstrib.rockedge.org remains fast, but it is admittedly a very small forum, but I think same software but local rockedge host?

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
rockedge
Site Admin
Posts: 6539
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2748 times
Been thanked: 2620 times
Contact:

Re: Forum very slow today

Post by rockedge »

@wiak
rockedge.org is using iFastnet. Which also was the original home on another account of this forum. We got kicked off that because of a DDoS attack on our site.

I tend to also think it's a memory and cache problem. But still nothing was changed on our end at all and the sites went to running well to really badly in a matter of minutes and has now continued to give us grief.

I still have the escalated ticket to 2nd tier admin's going which I will check on soon. I see problems with the mention BBCode responding in the editor, which indicates an AJAX problem meaning something is amiss on the server end.

User avatar
AntonioPt
Posts: 217
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 95 times
Been thanked: 37 times

Re: Forum very slow today

Post by AntonioPt »

Mysql connection dont close who ever is in control need to check that script

Attachments
Screenshot_2022-11-09-00-44-51-771_com.android.chrome.jpg
Screenshot_2022-11-09-00-44-51-771_com.android.chrome.jpg (49.63 KiB) Viewed 927 times

Why astronauts use Linux
Because you can't open windows in space

User avatar
rockedge
Site Admin
Posts: 6539
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2748 times
Been thanked: 2620 times
Contact:

Re: Forum very slow today

Post by rockedge »

There are hundreds of background processes being generated calling viewtopic.php. This is bogging everything down. The Bluehost admin's killed those processes but they regenerated immediately again!

I am trying to take the oldforum offline for a moment to find out what can cause this to happen. I fear a vulnerability is being exploited by someone who approached us about these and wanted money to point this out. Which since we are not a company or really an organization there is no money I explained and I have not heard anything since. Just putting things out there to brainstorm a fix

I have contacted phpBB on their forum for some help. Bluehost says it's not their system and the servers are OK so we're on our own.

UPDATE:
diving deep into logs and configurations I noticed all the majority of network traffic is coming through murga-linux.com. The massive load of page requests are coming through murga-linux.com where a URL rewrite corrects the domain name and sends the request to the correct URL for oldforum.puppylinux.com.

To test my theory I have disabled the URL rewrite and isolated the page requests coming through those old links to kill the processes caused by the excessive requests via murga-linux.com. It is sort of like a DDoS attack or caused by a bad or broken Bot.

Does anyone notice any improvement to the page response and load speeds? Does it work?

I kept repeating to IT support that the logs indicate to me that rapid page requests to the oldforum via a domain name only used for backward compatibility seems to be the cause of the hundreds of processes clogging our server.

I have now successfully logged in via SSH and can run commands again. Before I couldn't do anything at all. Too many processes running to kill the processes running. So now I can look at htop and see how our 26 CPU cores are doing.....which looks OKAY now.

So I think I found the problem and my short term fix seems to be working.

I understand now that the IT admin's don't really know systems and how to troubleshooting one. They kept trying to get me to "optimize" the site. I kept saying that makes no sense. Something is requesting pages or not? They never really told me BUT they did turn on SSH access for me which isn't usually part of this package. That comes from asking the right questions to get the clues. Finally the webalizer and AWStats told the story in red about all of the requests coming through murga-linux.com and I turned off the URL rewrite engine for now which sends the page to an error page

Keep your fingers crossed.

Screenshot_2022-11-09_00-35-25.png
Screenshot_2022-11-09_00-35-25.png (287.93 KiB) Viewed 881 times
User avatar
rcrsn51
Posts: 1389
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: Forum very slow today

Post by rcrsn51 »

That's better now. Thanks.

Of course, any link on a page at oldforum.puppylinux.com that points to murga-linux is now broken, but you can still reach the content by manually fixing the URL in your browser address bar.

Is it finally time to move any essential content out of the old forum and retire it?

User avatar
greengeek
Posts: 1383
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 534 times
Been thanked: 192 times

Re: Forum very slow today

Post by greengeek »

All good here now. Thanks!

User avatar
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: Forum very slow today

Post by wiak »

Fine for me now too. Sounds hopeful you fixed it rockedge. Surprised Bluehost IT couldn't trace the issue themselves - would have thought it was obvious at their end, but maybe not.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: Forum very slow today

Post by williams2 »

Seems OK at Wed Nov 09, 2022 2:15 am

I think the denial of service attack causes the max_connections_per_hour value to exceed the maximum limit
which automatically sets max_connections_per_hour to a value of 1
which is very slow

Other things like SEF (Search Engine Friendly) rewrites URLs
which accesses the database more times
increases the max_connections_per_hour value
which causes the max_connections_per_hour to be set to 1.for an hour,
and then resets the value to the default value.
So the database works properly for a while,
then slows down a lot for the rest of the hour
then at the end of the hour resets itself.

So it works for a while
then works very slowly
then works for a while
then works very slowly
etc etc

So it should work ok as long as the connections_per_hour value does not exceed the max value.
Which is what the techs mean by optimizing.
They just read from a script anyway.

User avatar
user1234
Posts: 414
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 155 times
Been thanked: 90 times

Re: Forum very slow today

Post by user1234 »

@rockedge-

The forums seem to be alright for me now. No errors, no delays, its just alright now. Thanks :thumbup:!

By the way, old forums are also working for me alright. What's the case? I thought you closed them down?

PuppyLinux 🐾 gives new life to old computers ✨

keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 107 times
Been thanked: 67 times

Re: Forum very slow today

Post by keniv »

Just logged on this morning and the forum seems to be back to normal for me here in the UK. Glad you appear to have found the source of the problem.

Ken.

User avatar
fredx181
Posts: 3059
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 373 times
Been thanked: 1301 times
Contact:

Re: Forum very slow today

Post by fredx181 »

Thanks @rockedge ! Fast for hours already.

User avatar
mikewalsh
Moderator
Posts: 6155
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 793 times
Been thanked: 1979 times

Re: Forum very slow today

Post by mikewalsh »

@rockedge :-

Mm-hm. Seems you've cracked it, Erik. Everything appears back to normal now...

Well done, mate. Took a while, but it sounds like this may all simply be part of the learning process connected with being a "Webmaster". Could have been a beginner's mistake, which has miraculously lasted this long, then got triggered by a specific combination of events? Who knows?

Cheers, anyway! First-class detective work...thanks! :D

Mike. :thumbup:

User avatar
rockedge
Site Admin
Posts: 6539
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2748 times
Been thanked: 2620 times
Contact:

Re: Forum very slow today

Post by rockedge »

Surprised Bluehost IT couldn't trace the issue themselves - would have thought it was obvious at their end, but maybe not.

All the clues were there but it took 3 conversations to get each piece of the puzzle. I knew that some thing was causing page requests. But the extent of the processes that were going and then immediately regenerated after being killed and then looking at logs the answer began to appear.

Once I analyzed all of the logged data with Webalizer and AWStats it was clear that while every other puppylinux.com request was very balanced and no strains at all there was Gigabytes of bandwidth coming in requests for pages, which calls viewtopic.php (parses all the data to make the page you see) with the referrer URL being murga-linux.com.

So I because now I have a real terminal via SSH I could run htop and watch the processes. But the incoming requests had flooded the RAM to the point we were deep into the swap partition with use and no commands worked and errors of no more resources were all I could see.

But the analytics were pointing to something like a DDoS attack was occurring and seemed to be coming in via the murga-linux.com domain.

Had the Bluehost tech in the first conversation told me that there was heavy traffic I would have known instantly what to do to stop it. I kept asking for them to look at the incoming requests and what the referrer's were. I understood what was happening to the MySQL server but had to eliminate the possibility of a memory leak from phpBB.

All the tech's kept telling me was to optimize but first the flood of page requests needed to be halted I told them. Then they said we are server admin's and don't do code and you are on your own and good luck.

So a combination of looking at the November access data that is put into graphs and charts I saw were the page requests were coming from, and the tech's informing me that there were hundreds processes that I saw then requesting viewtopic.php, and Bluehost granting me SSH access to the server. Finally it tool seconds to turn off the Apache URL rewrite engine for murga-linux.com and the problem stopped immediately!

I turned it off, spun my chair and on another computer clicked on the forum and it was already back to normal speeds and the many processes shutdown and disappeared.

Now what to do with murga-linux.com links? I want to trace back to find the source of the requests gone wild. Our system of rewriting murga-linux.com worked perfectly for 2+ years until now.......now something or someone kept sending those page requests through that domain name.

This I find odd so perhaps it isn't a human behind it. Don't know yet. Maybe some Bot got stuck on the murga-linux.com domain. At some point I will try to turn on the rewrite engine to see if the flood is actually continuing but deflected off into cyberspace when turned off.

@mikewalsh It's a matter of putting the clues together from bits and pieces of info from each different support tech checking from the server side and me pouring over the logs in detail. 15+ years now running public websites. 20+ running local servers like Apache and Hiawatha and some NGINX kept me on the pitch and in the game. Really the Bluehost people could have said "we see lots of traffic coming from XX and requesting pages so and so from this referrer" and this could have been tried on Saturday.

Anyway we will hold on to the murga-linux.com and try to ease it back into shape and perhaps a more complex rewrite could help out.

User avatar
rcrsn51
Posts: 1389
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: Forum very slow today

Post by rcrsn51 »

Is it possible to do a wholesale search-and-replace of the old forum's data that changes "murga-linux.com/puppy" to "oldforum.puppylinux.com"?

User avatar
rockedge
Site Admin
Posts: 6539
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2748 times
Been thanked: 2620 times
Contact:

Re: Forum very slow today

Post by rockedge »

rcrsn51 wrote: Wed Nov 09, 2022 2:06 pm

Is it possible to do a wholesale search-and-replace of the old forum's data that changes "murga-linux.com/puppy" to "oldforum.puppylinux.com"?

Yes I believe it is.

Here is a graph and chart that shows the story.

Notice the daily average of 817697 page requests per day for 9 days in November. Compare that to September's 14893 hits which is around plus or minus a few thousand, what the levels of traffic usually are that come through murga-linux.com links. (October the entire account was moved to a new data center / server farm which reset the statics that month)

Screenshot(46).jpg
Screenshot(46).jpg (17.68 KiB) Viewed 900 times
Screenshot(47).jpg
Screenshot(47).jpg (109.67 KiB) Viewed 900 times
Post Reply

Return to “Forum Organization & Structure Council”