Advertisement:

Author Topic: Applying Settings Take Ages  (Read 364 times)

Offline coolindark

  • Semi-Newbie
  • *
  • Posts: 21
Applying Settings Take Ages
« on: March 14, 2019, 10:22:38 AM »
Hello everyone,

I'm working on my new forum (Link : https://lezzet.li [nofollow] )
The problem is if i make some changes in admin board (for example SMTP settings), the GUI acts like nothing changed and my written information turned as before. Also if i check the site; i see that my changes was not applied. However, after in 1-2 minutes my last changes applied by itself. I tried everything, even changed my server and moved the site but it's still same.

This forum has massive separated boards, can it be related with that? It looks like my entries are waiting in queue and then applied.
By the way, i can easily make changes with user panel, add/remove topics etc in lighting speed.

If you will help me how can i track the problem, i'm going to continue my investigation with your help.

Thanks!

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,140
  • Gender: Male
    • Kindred-999 on GitHub
Re: Applying Settings Take Ages
« Reply #1 on: March 14, 2019, 10:25:08 AM »
sounds like your host is running some sort of caching...


as for "massive separated boards"

no sure what you mean by separated.... but I have worked on forums with over a billion posts....
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: Applying Settings Take Ages
« Reply #2 on: March 14, 2019, 10:31:14 AM »
In SMF out of the box, settings are cached for (I think) 90 seconds even on level 1 (and if it isn’t 90 seconds, it’s 60 seconds)

Also, a billion posts? The largest SMF I’ve seen got to around 90 million posts.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,251
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Applying Settings Take Ages
« Reply #3 on: March 14, 2019, 10:34:41 AM »
That still feels to me like an odd default setting, since it looks like everything you did was not saved.

Offline coolindark

  • Semi-Newbie
  • *
  • Posts: 21
Re: Applying Settings Take Ages
« Reply #4 on: March 14, 2019, 10:35:24 AM »
In SMF out of the box, settings are cached for (I think) 90 seconds even on level 1 (and if it isn’t 90 seconds, it’s 60 seconds)

Also, a billion posts? The largest SMF I’ve seen got to around 90 million posts.

That is interesting. I have an another SMF forum and changing settings takes in seconds. How can i check/change of it?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: Applying Settings Take Ages
« Reply #5 on: March 14, 2019, 10:39:47 AM »
That depends mostly how big your forum is. If it’s big, you do not want to turn caching off since it will make everything else be much slower.

@Gwenwyfar, it is weird for sure. But caching is a voodoo subject anyway.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,251
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Applying Settings Take Ages
« Reply #6 on: March 14, 2019, 10:43:14 AM »
Wouldn't it make more sense to be off by default though? If you don't need it, it is either annoying, confusing, or both. And if you only need it for big forums, you're starting off with it empty.

I still don't know whether that's what I did early on in my first forum, because it took me a while to realize it when I saw it in my test installs, I thought it was server caching.

Offline coolindark

  • Semi-Newbie
  • *
  • Posts: 21
Re: Applying Settings Take Ages
« Reply #7 on: March 14, 2019, 10:44:17 AM »
That depends mostly how big your forum is. If it’s big, you do not want to turn caching off since it will make everything else be much slower.

@Gwenwyfar, it is weird for sure. But caching is a voodoo subject anyway.

Thank you for your time and answer... It's pretty weird by the way; everything works fast except admin settings lol...

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: Applying Settings Take Ages
« Reply #8 on: March 14, 2019, 10:46:32 AM »
@Gwenwyfar: That is, as ever, some good thinking and wisdom there. Let’s do that for 2.1 fresh installs.

@coolindark: it’s no mystery to me at all, SMF by default will store a copy of the settings for 90 seconds and use that instead of querying the database. But I don’t want to encourage you to turn that off unless I know that your forum will keep working. You describe it as big, but what that is varies from person to person. Let me know how big your forum is (number of topics/posts/members) and I’ll suggest whether I think it’s a safe idea to remove caching.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline coolindark

  • Semi-Newbie
  • *
  • Posts: 21
Re: Applying Settings Take Ages
« Reply #9 on: March 14, 2019, 10:51:31 AM »
@Gwenwyfar: That is, as ever, some good thinking and wisdom there. Let’s do that for 2.1 fresh installs.

@coolindark: it’s no mystery to me at all, SMF by default will store a copy of the settings for 90 seconds and use that instead of querying the database. But I don’t want to encourage you to turn that off unless I know that your forum will keep working. You describe it as big, but what that is varies from person to person. Let me know how big your forum is (number of topics/posts/members) and I’ll suggest whether I think it’s a safe idea to remove caching.

No no, i got your point; if it's a default feature I'm OK with that. I will not ruin the caching for my pleasure; stable system means everything. I was just worried if something wrong was going or not. So i got my answer. By the way, forum has around 90 boards and 900 sub-boards.

Thanks again.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: Applying Settings Take Ages
« Reply #10 on: March 14, 2019, 11:03:39 AM »
That didn’t actually answer my question, but if you’re happy to leave it, all is well.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.