New VPS: Posting problem

Discussion in 'vBulletin' started by djbaxter, Sep 10, 2017.

  1. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    Running vBulletin Suite 4.2.5

    I recently downgraded from a dedicated server to a VPS to save costs:
    • CENTOS 7.3
    • WHM v66.0.18
    • running PHP 7.1.9
    • 48 processors, each listed as: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz, Cache 30720 KB
    • RAM: 6GB
    • Storage: 150GB
    • Bandwidth: 5TB

    Settings (these have been tweaked and produced some improvement but intermittent problem still exists):
    • PHP Max Post Size 1.00 GB
    • PHP Maximum Upload Size 1.00 GB
    • PHP Memory Limit 1.00 GB
    • MySQL Version 10.2.8-MariaDB
    • MySQL Packet Size 512.00 MB

    Problem: When starting a new thread or posting a reply to an existing thread, it is very slow with the post taking several seconds to complete. Often it then pops up a warning message saying I am asking to leave the page - stay on page? leave page? If I dismiss that and refresh the page, the post is there.

    However, many members faced with the slow posting or the warning click submit again, resulting in double or even triple posts.

    None of these were issues on my previous dedicated server.

    Additional information: This is most likely to happen on the first post/reply of the day. After that, the posts seem to go through normally with no errors or double posts (at least for me on a desktop with a high speed connection).

    Question: Any idea what is likely to be causing this and what I can do to fix it?
     
  2. we_are_borg

    we_are_borg Moderator

    3,495
    707
    +1,270
  3. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    Thank you. I don't think that's my problem though. The were only 6 entries in the searchlog table but I did a truncate, repair, and optimize on that table anyway.
     
  4. BirdOPrey5

    BirdOPrey5 #Awesome

    4,002
    812
    +1,600
    I'd say check your email sending diagnostic in the Admin CP -> Maintenance -> Diagnostics.

    My guess is email settings weren't updated or weren't updated properly on server change.
     
  5. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    SMTP: localhost
    sendmail_from: None
    sendmail_path: /usr/sbin/sendmail -t -i

    Results
    No errors were returned while attempting to send the email.


    You are receiving this email because your email address was entered as an email test at Psychlinks Self-Help & Mental Health Support Forum.



    The first step of this email test script has been completed. However, a formatting test is still necessary:



    A paragraph break.

    A single line break.



    Another paragraph break.

    Another single line break.

    Another single line break.



    If the above lines look correct, you are finished. The email features on your server are setup correctly.

    If this email is run together on one line, there is possibly a configuration error with your mail server. Please ensure it is configured correctly.
     
  6. BirdOPrey5

    BirdOPrey5 #Awesome

    4,002
    812
    +1,600
    Hmm did the test email send quickly or was there a noticeable lag (seconds?) after clicking send?
     
  7. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    No lag. Test ran quickly and the email arrived in my in box in a minute or less.
     
  8. BirdOPrey5

    BirdOPrey5 #Awesome

    4,002
    812
    +1,600
    Out of ideas, I would post on the VB Support forums or ticket support if you have it. Sorry.
     
  9. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    Actually, I did that too. Wayne Luke just replied with this so I will try his suggestion:

    I also turned off persistent connections for MySQLi in the PHP.ini file to see if that could help.
     
  10. Paul M

    Paul M Dr Pepper Addict

    3,348
    1,097
    +1,562
    Were you running PHP 7 on the previous server ?

    Do you have any posting or editing type mods installed ?
     
  11. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    Yes I was. The same versions of everything. The same configurations. The only change I've made on the new server was to bump up MySQL packet size to see if that made a difference.

    Yes but nothing that has changed since the move from the previous server:

    Asset Manager Multiple File Upload Fix by BOP5

    DoublePost Timestamp

    DragonByte Tech: Advanced Post Thanks / Like (Lite

    Hidden Image Check by BOP5

    MarkFL: Quote Breaker

    MarkFL: Star Posts

    Title Replace for PHP7

    Word Links FREE by BOP5 VB4

    [CKEditor] MARCO1 Advanced Quick Reply And Edit
     
  12. Echo

    Echo Runs with grenades

    1,603
    972
    +562
    Well if you can't get this sorted through asking, I'd be in touch with the host, maybe the server itself has issues.
     
  13. Paul M

    Paul M Dr Pepper Addict

    3,348
    1,097
    +1,562
    If all the software is the same, then it does kinda point to some sort of server related issue.

    Its hard to really say anymore with out being able to reliably reproduce and degug such an issue.

    What VPS are you using ?
     
  14. BirdOPrey5

    BirdOPrey5 #Awesome

    4,002
    812
    +1,600
    My Hidden Image Check certainly has the potential to slow down posting and I never never tested it on PHP 7. Wouldn't hurt to try disabling it.
     
  15. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    Posted in the OP - host is InMotion - plan is VPS-2000HA-S:

    • CENTOS 7.3
    • WHM v66.0.18
    • running PHP 7.1.9
    • 48 processors, each listed as: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz, Cache 30720 KB
    • RAM: 6GB (I had 8GB on the previous dedicated server)
    • Storage: 150GB
    • Bandwidth: 5TB

    Settings (these have been tweaked and produced some improvement but intermittent problem still exists):
    • PHP Max Post Size 1.00 GB
    • PHP Maximum Upload Size 1.00 GB
    • PHP Memory Limit 1.00 GB
    • MySQL Version 10.2.8-MariaDB
    • MySQL Packet Size 512.00 MB

     
  16. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    Thanks. I have disabled that to see if it helps.
     
  17. Echo

    Echo Runs with grenades

    1,603
    972
    +562
    Which version of vB are you running? perhaps it doesn't play well with PHP 7.
     
  18. djbaxter

    djbaxter Tazmanian Veteran

    10,082
    917
    +163
    Also stated in the OP:

    Running vBulletin Suite 4.2.5
     
  19. Echo

    Echo Runs with grenades

    1,603
    972
    +562
    I missed that part, need more coffee!
     
  20. Paul M

    Paul M Dr Pepper Addict

    3,348
    1,097
    +1,562
    Seriously ? That seems somewhat OTT.

    Did you change your Apache & MySQL configs to account for less memory ?

    How much memory are they using ? are you using a lot of swap ?
    That would slow posting occasionlly if the server was having to use the swap file.
     
Verification:
Draft saved Draft deleted