Delay when adding new posts



  • I'm experiencing very strange delay when posting new post or topic.
    This isn't happening when I click "preview"!
    I have latency 20-30ms to sites, however it takes very long time (sometimes) to post something.
    First guess: is Your storage in good condition?
    This isn't related to single station, since same thing happends on another (via another ISP).
    Don't know anyone experienced this also..

    update: Even while adding this topic I had 10-15 second delay ;/ same thing on another browser.


  • Netgate Administrator

    I have been experiencing this for some time also. It can take up to a minute to complete.
    However I don't think it's actually a problem posting the message since if you get board waiting and just refresh the thread again the message is actually posted almost instantly.
    This doesn't happen if you modify an existing post or use preview as mentioned.
    The difference seems to be that modifying or previewing returns you to the thread or post view where as posting a new message or thread returns you to the sub-forum view where the browser seems to be waiting for some element that never appears.

    Steve



  • i'm experiencing the same thing. At first I thought it was because I started to use squid again but I get the same delay when not using a proxy. Stephen is right now, it will post instantly.. I usually wait 5-10 secs then refresh the page and my post is there.



  • I do have the same problem.

    If I remember correct then it is a board problem. JimP answered this in another thread some weeks ago.



  • was just going to check into this again and now I can't replicate it, where it used to happen almost every post.

    It seemingly happens to everyone from time to time, we just haven't had time to look into it.



  • I am an admin on an SMF based forum that has done  the same thing in the past…  In fact Ive seen this on a couple others also...  I don't know what we did to fix it other than possibly a full reboot of the server.    I would suggest you guys upgrade to 2.0.2 when you have some time to do so...  Make sure your present theme will work first.


  • Netgate Administrator

    It's not really a problem, it's just odd.

    Steve



  • For me,
    it looks like array/filer/hard drive/just storage timeout (overloaded?) since this is happening when We are going to update database and not always.



  • Server reboot? It doesn't run on Windows. ;) Actually the server has rebooted since this started happening.

    I've ruled out database delays and any possible network issues, something's not right within SMF itself. Apache and PHP in general are fine, a few other sites run in the same jail with no issue. I turned off SMF's reverse DNS lookups as it felt like possibly that kind of delay even though I didn't see PTR lookups being issued, no diff there. I turned on logging of all PHP errors, and it hasn't logged anything relevant.

    Definitely want to get upgraded to SMF 2.0.x soon, hopefully that resolves it, and without creating too much chaos in general with the theme and other things.



  • Server reboot? It doesn't run on Windows

    Yea I shoulda known better…    ;D

    Im watching for it on all the (known to me) forums and version numbers...  See if there's a correlation...  Im curious if its caused by the constant bot hits and possibly related to the "security issues" the newer versions are supposed to fix.

    Ive not seen it on our forums lately though...    All on 2.0.2 now.



  • @chpalmer:

    Im watching for it on all the (known to me) forums and version numbers…  See if there's a correlation...  Im curious if its caused by the constant bot hits and possibly related to the "security issues" the newer versions are supposed to fix.

    Shouldn't be any unpatched security issues in SMF 1.x, it's gotten updates as needed and is still supported until the end of this year at least. While we do get nailed with bots and stupid crawlers on occasion that at rare times go to the extent of DoSing the entire site with huge floods of requests, that's rare and it's definitely not related to the post delay.



  • @cmb:

    @chpalmer:

    Im watching for it on all the (known to me) forums and version numbers…  See if there's a correlation...  Im curious if its caused by the constant bot hits and possibly related to the "security issues" the newer versions are supposed to fix.

    Shouldn't be any unpatched security issues in SMF 1.x, it's gotten updates as needed and is still supported until the end of this year at least. While we do get nailed with bots and stupid crawlers on occasion that at rare times go to the extent of DoSing the entire site with huge floods of requests, that's rare and it's definitely not related to the post delay.

    Really just thinking out loud…    Just started going down the Bug Tracker Page and will see if anything obvious jumps out…



  • And by the way…  Running Firefox 11 here this happens to me every post I make...

    Seems like any computer I use. Ill pay more attention.



  • Well- after noticing that my Java was slightly outdated and updating it I no longer have the issue…    Not so sure that was the fix but for now Ive tested several times and its gone.

    Remoted into my desktop at the shop and could not duplicate it there either...

    As soon as I can pry my laptop out of my son's hands Ill try it.



  • It's not specific to any one machine or browser, I use several browsers across several machines with 3 different OSes and they all do it periodically. Judging by the network traffic I've captured on several occasions when it happens, it's definitely not client-related.

    I believe it started when we upgraded to 1.1.16 or not long after. We also added an AAAA right around the same time, but that doesn't appear to be related, m0n0wall's forum has had an AAAA for a long time on the same SMF versions with no such issues, and it's the same whether I'm on v4 or v6 and most of the people here are on v4.


  • Netgate Administrator

    Just thinking out load here because I'm not an admin on any forum  ;) but…

    It seems to me that the fact there is never a delay when modifying or previewing a post must be a clue. Especially because when modifying a post the browser is redirected back to the post in the thread where as when posting a new post it redirects to the sub-forum index. This behaviour always seemed to be slightly inconvenient to me since I almost always then go back to check my post (and correct the terrible spelling!). Looking at the SMF docs I see there is a variable to control this: redirectexit
    I wonder whether this still at the default setting, redirects to the forum index, or is trying to redirect to some thing non-existant?
    Either way it would be my preference to redirect to the post.

    Steve

    Edit: No delay on this post.  ::)


  • Netgate Administrator

    And now I see that there is a setting for doing the above in user profile, 'Return to topics after posting by default'.

    Steve

    Edit: And it works like a champ!  :)

    Edit2: Doesn't effect the delay though.


  • LAYER 8 Global Moderator

    This has been bugging me for some time, I made the change to return to topics, and also setup quick reply.  Lets see if that makes any difference?

    That was instant - and now this modify went? Fast as hell as well!  Lets see how it goes in other sections.


  • LAYER 8 Global Moderator

    still see delays now and then, have to check my settings again.  But reporting posts just seems broke!

    Those damn gibberish spam posts – try to report one, and just sits there saying connecting.  So not sure its actually reported or not?



  • they are getting reported.


  • LAYER 8 Global Moderator

    So why does it just sit there and saying connecting?  Seems like there is something not quite right with the forum – there can not be that many users when Im on at 1:30am in the morning you would think a post would be pretty much instant ;)

    edit:  That one was instant..  Will wait and see what happens with next post that needs to be reported.



  • it greatly depends of your timezone



  • there are general locking problems in this version of SMF according to what I've found and heard from others. We'll get this upgraded to SMF 2.0 in the not too distant future which will fix.



  • I'm still experiencing delays..


  • LAYER 8 Global Moderator

    Yeah its very frustrating when it happens..  Especially on say reporting a post, since there is no way to verify that it went in or not. With normal post - I just make sure I have a copy of what I posted and can move along - and can jump back into the thread and verify that it got posted.  But with reports kind of just have to sit there ;)

    So curious on not to distant future - since its been like 6 weeks since that statement ;)

    edit:  It seems to be random to be honest, this one went through right away no hang.



  • I have and currently am having this problem too.

    Post a reply to a thread and it take nearly 2 minutes.

    Windows 7 Enterprise Edition
    IE 8

    If this one also delays, I'll resubmitt it with Safari to see if that makes any difference.



  • @NOYB:

    I have and currently am having this problem too.
     
    Post a reply to a thread and it take nearly 2 minutes.

    Windows 7 Enterprise Edition
    IE 8

    If this one also delays, I'll resubmitt it with Safari to see if that makes any difference.

    Yup the post using IE 8 was delayed.  If fact I got here with Safari and opened the post be for IE returned to the forum.

    So here is this reply post using Safari.  Will it delay too?  Let see.



  • @NOYB:

    @NOYB:

    I have and currently am having this problem too.
     
    Post a reply to a thread and it take nearly 2 minutes.

    Windows 7 Enterprise Edition
    IE 8

    If this one also delays, I'll resubmitt it with Safari to see if that makes any difference.

    Yup the post using IE 8 was delayed.  If fact I got here with Safari and opened the post be for IE returned to the forum.

    So here is this reply post using Safari.  Will it delay too?  Let see.

    Went through immediately, without delay, using Safari.



  • @NOYB:

    @NOYB:

    @NOYB:

    I have and currently am having this problem too.
     
    Post a reply to a thread and it take nearly 2 minutes.

    Windows 7 Enterprise Edition
    IE 8

    If this one also delays, I'll resubmitt it with Safari to see if that makes any difference.

    Yup the post using IE 8 was delayed.  If fact I got here with Safari and opened the post be for IE returned to the forum.

    So here is this reply post using Safari.  Will it delay too?  Let see.

    Went through immediately, without delay, using Safari.

    Seems the pfSense Boards are not IE 8 friendly.


  • Netgate Administrator

    The delay is not browser related, it happens at random. I have experienced it with multiple browsers and OSs and also experienced no delay under the same conditions.
    Like Chris said earlier it's a backend problem.

    Steve



  • Well how about that.  It just happened to me a moment ago with Safari.


  • Netgate Administrator

    As of yesterday this issue seems to have gone away. For me at least. With various OS/browser/device combinations posting new posts is fast.

    Steve


  • LAYER 8 Global Moderator

    test post speed

    edit: that was fast, but clearly they have not updated to latest smf

    Powered by SMF 1.1.16

    I do believe 2.02 is the latest



  • it's hit and miss, nothing has changed. It's a lot more annoying to me than many of you, definitely a priority to get fixed, but at the moment it's a bit down on the list. Upgrading to SMF 2.x is a pain, but we'll get there in the next month or so.


  • Netgate Administrator

    Hmm, weird I've had no slow posts at all for at least two days vs probably 90% slow posts before.
    Not any sort of problem really.  :)

    Steve



  • It annoys me, but it's at least easily worked around. I just hit "show unread posts" for a new tab after submitting a post and let the old tab sit there in the background.

    We'll have a job post up soon for a full time web developer (seeing this and you're an experienced front end web developer and designer interested in working with us full time? Email me - cmb at pfsense dot org). One of his/her first tasks will be upgrading us to SMF 2.0, as none of the rest of us have time.



  • Does this server run in virtual env + snapshots?
    Are there additional plugins?

    Source for SMF 2.0:
    http://download.simplemachines.org/

    I see many queries to this server (because many people read / post), are You sure Your hardware is capable to serve it? And will with SMF 2.0?



  • @TooMeeK:

    Does this server run in virtual env + snapshots?
    Are there additional plugins?

    Source for SMF 2.0:
    http://download.simplemachines.org/

    I see many queries to this server (because many people read / post), are You sure Your hardware is capable to serve it? And will with SMF 2.0?

    This is a known problem with SMF 1.1.16…  It is not a problem with SMF 2.0.2 which I can confirm...


Log in to reply