BARF - Bay Area Riders Forum

Go Back   BARF - Bay Area Riders Forum > Community > Website / Geek Speak


Notices

Reply
 
Thread Tools Display Modes
Old 01-05-2021, 05:13 PM   #16
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: 2016 CB500XA
Name: Rod
I see BARF uses vBulletin 3.8.7, but there are later 3.8.x releases. Might be good to upgrade to the most recent of those; should be free right? The point of course is to take advantage of bug fixes.

Also make sure the PHP and MySQL versions used are compatible with the particular release.

Also see if the Admin control panel has a place to do things like re-sync the post counts.
rodr is offline   Reply With Quote
Old 01-29-2021, 07:54 AM   #17
Climber
Veteran
 
Climber's Avatar
 
BARF Community Partner
Contributor

Join Date: Jul 2004
Location: Clovis/Fresno
Motorcycles: 01 Goldwing GL1800
Name: Brett
Quote:
Originally Posted by rodr View Post
Also see if the Admin control panel has a place to do things like re-sync the post counts.
This.

I'm guessing they handle the normal user delete own post, but other actions might not be updating the postcount.
__________________
Northern and Central Cal Motorcycle incidents: Bay Area CHP Motorcycle Incidents.

Graph and Table I built for seeing state Covid19 data:
Covid19 Visualization graph and table. **NOTE** Using John Hopkins data data, shows State, Country & County data.
Climber is offline   Reply With Quote
Old 01-29-2021, 09:01 AM   #18
tzrider
Write Only User
 
tzrider's Avatar
 
BARF Admin
Contributor +

Join Date: Feb 2003
Location: Pleasanton, CA
Motorcycles: Kaw N1K
Name: Andy
FWIW, we've reset the counters several times. It works for a few posts and then the issue with the "thinking" thread pops up again.

I have a few other ideas, so will keep plugging away at them.
__________________
"Rudeness is the weak man's imitation of strength." - Eric Hoffer

California Superbike School • tzrider's blog
tzrider is offline   Reply With Quote
Old 01-29-2021, 10:16 AM   #19
NorCalBusa
Member #294
 
NorCalBusa's Avatar
 
Founding Member
Contributor

Join Date: Apr 2002
Location: .
Motorcycles: .
Name:
Quote:
Originally Posted by tzrider View Post
FWIW, we've reset the counters several times. It works for a few posts and then the issue with the "thinking" thread pops up again.

I have a few other ideas, so will keep plugging away at them.
I know nothing about such things Andy.

Oddly I do recall Andy (@SBR) emphatically stopping big threads at 500 (?) posts and would then create a second thread. Something about the database engine, the blinker fluid, flugal joint, search or some damn thing worked better. He's since switched to new Forum software a couple years ago now- not sure if they're still on it.
__________________
If you don't know where you are going, any road will take you there.
NorCalBusa is offline   Reply With Quote
Old 01-29-2021, 10:57 AM   #20
DataDan
Mama says he's bona fide
 
DataDan's Avatar
 
BARF Mod Alumni
BARFie winner 2010 & 2014
Contributor ++++

Join Date: Feb 2003
Location: San Luis Obispo
Motorcycles: Yamaha FJR1300
Name: Dan
^ Yeah, limiting post count seems like a reasonable workaround.

The "thinking" thread has more than 50,000 posts--twice as many as the next biggest one I found--and is the only one with more than 32,767 (upper limit of signed 16-bit integer). Programming intuition suggests that's a possible problem.

Since impact is so limited, splitting that thread would make sense. Maybe also keep an eye on "Animated GIFs" in Pics & Vids with more than 25,000.
__________________
How can I help seeing what is in front of my eyes? Two and two are four.
--Winston Smith

I see four lights!
--Jean Luc Picard

A is A.
--John Galt
DataDan is offline   Reply With Quote
Old 01-29-2021, 11:21 AM   #21
ctwo
Merely Rhetorical
 
ctwo's Avatar
 
Respectful Contributor

Join Date: Feb 2015
Location: auf der motobahn
Motorcycles: motato
Name: Heyou
Who would use a signed variable for a post counter?
__________________
The wise speak when they have something to say.
Fools speak when they have to say something.
ctwo is offline   Reply With Quote
Old 01-29-2021, 11:32 AM   #22
berth
Veteran
 
berth's Avatar
 

Join Date: Sep 2014
Location: Orange County
Motorcycles: KRS-1200
Name:
Quote:
Originally Posted by ctwo View Post
Who would use a signed variable for a post counter?
And would PHP even use a 16 bit integer in this day and age?
__________________
#69 #45 NP
berth is online now   Reply With Quote
Old 01-29-2021, 11:50 AM   #23
Abacinator
Unholy Blasphemies
 
Abacinator's Avatar
 
Contributor + + 1%

Join Date: Jun 2008
Location: Martinez
Motorcycles: 1997 Triumph Tiger 885 "The Tank"
Name: Chris
Quote:
Originally Posted by DataDan View Post
^ Yeah, limiting post count seems like a reasonable workaround.

The "thinking" thread has more than 50,000 posts--twice as many as the next biggest one I found--and is the only one with more than 32,767 (upper limit of signed 16-bit integer). Programming intuition suggests that's a possible problem.

Since impact is so limited, splitting that thread would make sense. Maybe also keep an eye on "Animated GIFs" in Pics & Vids with more than 25,000.
Isn't the Post Whore thread purged at some regular interval?
Abacinator is offline   Reply With Quote
Old 01-29-2021, 12:00 PM   #24
DataDan
Mama says he's bona fide
 
DataDan's Avatar
 
BARF Mod Alumni
BARFie winner 2010 & 2014
Contributor ++++

Join Date: Feb 2003
Location: San Luis Obispo
Motorcycles: Yamaha FJR1300
Name: Dan
Quote:
Originally Posted by berth View Post
And would PHP even use a 16 bit integer in this day and age?
vBulletin 3 was first released in 2004. It's not exactly a "this day and age" product.
__________________
How can I help seeing what is in front of my eyes? Two and two are four.
--Winston Smith

I see four lights!
--Jean Luc Picard

A is A.
--John Galt
DataDan is offline   Reply With Quote
Old 01-29-2021, 12:01 PM   #25
DataDan
Mama says he's bona fide
 
DataDan's Avatar
 
BARF Mod Alumni
BARFie winner 2010 & 2014
Contributor ++++

Join Date: Feb 2003
Location: San Luis Obispo
Motorcycles: Yamaha FJR1300
Name: Dan
Quote:
Originally Posted by ctwo View Post
Who would use a signed variable for a post counter?
You're welcome to use your own programming experience and intuition to guess at a solution.
__________________
How can I help seeing what is in front of my eyes? Two and two are four.
--Winston Smith

I see four lights!
--Jean Luc Picard

A is A.
--John Galt
DataDan is offline   Reply With Quote
Old 01-29-2021, 12:04 PM   #26
tzrider
Write Only User
 
tzrider's Avatar
 
BARF Admin
Contributor +

Join Date: Feb 2003
Location: Pleasanton, CA
Motorcycles: Kaw N1K
Name: Andy
The error that we're seeing is sometimes associated with certain plugins (we don't use the one that is most commonly an issue) as well as certain nginx versions.

While I don't know for sure, I don't think those causes are going to be the problem in this instance.

Trimming the thread is a possibility if it comes to that, though it would undermine one of the original purposes of the thread; to be able to easily scan back over years to see what you (or someone else) was thinking at the time.
__________________
"Rudeness is the weak man's imitation of strength." - Eric Hoffer

California Superbike School • tzrider's blog
tzrider is offline   Reply With Quote
Old 01-29-2021, 12:48 PM   #27
ctwo
Merely Rhetorical
 
ctwo's Avatar
 
Respectful Contributor

Join Date: Feb 2015
Location: auf der motobahn
Motorcycles: motato
Name: Heyou
Quote:
Originally Posted by DataDan View Post
You're welcome to use your own programming experience and intuition to guess at a solution.
wasn't meant as a dig. would be interested in the cause of the issue though.
__________________
The wise speak when they have something to say.
Fools speak when they have to say something.
ctwo is offline   Reply With Quote
Old 01-29-2021, 02:14 PM   #28
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: 2016 CB500XA
Name: Rod
Sounds oddly like a problem with concurrent access. Big threads are more likely to have 2 or more people posting in them at the same time.

I say "oddly" because PHP setups typically run a web request to completion before starting another one. If some optimization was installed to defeat this, I would start by undoing whatever that was.

Have you reached out to vBulletin support to see what they say?
rodr is offline   Reply With Quote
Old 01-29-2021, 02:41 PM   #29
tzrider
Write Only User
 
tzrider's Avatar
 
BARF Admin
Contributor +

Join Date: Feb 2003
Location: Pleasanton, CA
Motorcycles: Kaw N1K
Name: Andy
We have some unusual plug-ins that are probably over support's head and possibly related to the current problem. I'm working with our sysadmin to determine next steps.

We're definitely not ignoring this but the issue may persist for a little while.
__________________
"Rudeness is the weak man's imitation of strength." - Eric Hoffer

California Superbike School • tzrider's blog
tzrider is offline   Reply With Quote
Old 01-30-2021, 12:41 AM   #30
W800
Noob
 
W800's Avatar
 
Contributor + + +

Join Date: Aug 2020
Location: Richmond
Motorcycles: 2019 Kawasaki W800
Name: Dude
Ping shows 74.116.248.212.

We use Cloudflare so that we are not directly on the internet. Everything goes through Cloudflare before us, and the Cloudflare edge servers deliver most of our content. We also locked down our backend site management pages so that they require 2FA. Some days, we get literally hundreds of attempted intrusions. And this is for just a few small sites.

Another nice thing about Cloudflare is you can block (or force a CAPTCHA) based on country, browser, IP range, user agent, etc. . . For example, anyone visiting our sites using TOR is presumed to not be within our target markets, and gets a browser challenge. We also block most robots, since we aren't concerned about indexing.

The result of the above is that our server loads are minimal. Another thing that we do sometimes is run yet another CDN at AWS S3 for content that doesn't change a lot. This also makes pages load fast for a second reason - browsers will only open a number of simultaneous threads/connections to a single site. But if you load that single site from several locations, it will load faster.

ETA: we also get a second level of security. By running through Cloudflare, people don't actually know who hosts us. It's AWS - no big secret, but our attack surface is smaller.
__________________
Quote:
Originally Posted by afm199 View Post
You are an amazing blend of gifted visionary and cracked ceramic vessel.
-- Less than 800 posts.

Last edited by W800; 01-30-2021 at 12:43 AM..
W800 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.