Forum search permissions

All suggestions about TPFC should be posted here. Discussions about changes to TPFC will also be carried out here.
Message
Author
Joe
Posts: 46
Joined: Wed Apr 23, 2014 5:16 pm

Re: Restricted Searching

#16 Post by Joe »

I am Baas wrote:Just wait patiently...
Sure. We'll wait and see. No problem.

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Restricted Searching

#17 Post by Checker »

BTW: At "Members" the pulldown "Username begins with:"does not work :!:
Attachments
Username begins with.png

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Restricted Searching

#18 Post by I am Baas »

Eh Checker, stalking TPFC members? :P :lol:

User avatar
Andrew Lee
Posts: 3061
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Forum search permissions

#19 Post by Andrew Lee »

As of today, searches appear to be have been restricted exclusively to logged in visitors .

Temporary glitch or permanent policy change ?
Deliberate change. I implemented this patch recently because I found that the search function is putting a lot of strain on the database. Since implementing this change, the strain has largely been eliminated.

However, I am now trying a different approach by playing around with the "Guest search flood interval" value, so guest search is now back in action. Let's see how that goes...

Ditto with the active topics.

User avatar
Andrew Lee
Posts: 3061
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Forum search permissions

#20 Post by Andrew Lee »

I apologise that this change has inconvenienced some of you, which I did not expect, since I am always logged in and seldom access TPFC as a guest.

Anyway, as I mentioned, this was done as a experiment to find out if guest search is the reason for the strain on the database. I analyzed the mysql slow log and had a hunch that that was the case, and indeed it was.

So now guest search has been restored (along with active topics). But I have made the following changes to the search settings to test out another approach to this problem:

User search flood interval: 1s (0)
Guest search flood interval: 5s (0)
Search page system load limit: 1 (0)

*Values in brackets are the old values.

Will continue monitoring the situation and keep you guys posted.

User avatar
Andrew Lee
Posts: 3061
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Forum search permissions

#21 Post by Andrew Lee »

Sysadmin, could you kindly merge the two topics, and perhaps care to shed some light on this vexing subject, pretty please ?
Done.
BTW: At "Members" the pulldown "Username begins with:"does not work :!:
Fixed. This does not appear to be related to the guest search issue, but with the previous version of phpBB. Anyway, I updated to the latest version and it is working again.

User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Re: Forum search permissions

#22 Post by __philippe »

@Andrew

Thanks for elucidating this mystifying "restricted guest search" enigma and mending the underlying DB overload problem.
(merging of relevant overlapping topics also appreciated..;-))

__philippe

User avatar
Craunch
Posts: 54
Joined: Tue Jul 03, 2012 5:27 am
Location: UK

Re: Forum search permissions

#23 Post by Craunch »

To put the new search flood interval in perspective, the ArchLinux website forum search uses a 60s flood interval. This is rather frustrating when your search doesn't find what you were looking for and need to try again.

A brief experiment I tried there suggests that 15s would not cause any significant delay in doing two searches because it is likely to take that long to realise that the initial search failed and to amend the search criteria. Similarly, more than 15s might be needed to reduce the searching load on the database

Joe
Posts: 46
Joined: Wed Apr 23, 2014 5:16 pm

Re: Forum search permissions

#24 Post by Joe »

Oh well, so much for the bug theory :roll: . At least now we know what the problem was.

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Forum search permissions

#25 Post by I am Baas »

Joe wrote:Oh well, so much for the bug theory :roll: .
Oh, you are not just the clueless type but an unscrupulous one too. The one that was pushing the "bug theory" is you Joe. Let me help you with a couple of quotes:

Joe wrote:
joby_toss wrote:It's definitely a bug or a temporary setting
Anyway, do you really believe a bug would be intelligent enough to produce a nicely worded message like "Sorry but you are not permitted to use the search system"? Think again.
joby_toss wrote:It's just an automatic forum message, it doesn't need to be intelligent.
I'm confident it's just a temporary permission issue.
__philippe wrote:I'd rather tend to suspect some kind of (temporary) experiment

Thoughts?

Joe
Posts: 46
Joined: Wed Apr 23, 2014 5:16 pm

Re: Forum search permissions

#26 Post by Joe »

You're entitled to your opinion, I suppose, but so am I. This is the last I have to say on this thread.

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Restricted Searching

#27 Post by Checker »

I am Baas wrote:Eh Checker, stalking TPFC members? :P :lol:
Yes Image

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Forum search permissions

#28 Post by Checker »

Checker wrote:BTW: At "Members" the pulldown "Username begins with:"does not work :!:
Andrew Lee wrote:Fixed. This does not appear to be related to the guest search issue, but with the previous version of phpBB. Anyway, I updated to the latest version and it is working again.
Thanks :D

User avatar
Andrew Lee
Posts: 3061
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Forum search permissions

#29 Post by Andrew Lee »

A brief experiment I tried there suggests that 15s would not cause any significant delay in doing two searches because it is likely to take that long to realise that the initial search failed and to amend the search criteria. Similarly, more than 15s might be needed to reduce the searching load on the database
Thanks for the suggestion. If 5s doesn't work, I will slowly increase it until the desired result is obtained i.e. minimum restriction to eliminate the strain.

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Forum search permissions

#30 Post by I am Baas »

Joe wrote:This is the last I have to say on this thread.
Oh shite, Bəəs 2.0 needs an upgrade.

Post Reply