Server crash

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #16
    Originally posted by Fleiding
    Thanks for your reply, Wayne.

    Date and Index Lengths:

    cache: 16384 & 16384
    cacheevent: 6602752 & 4653056
    searchlog: 170934272 & 11599872

    After a truncate of these tables the memory usage returns to normal.
    I suspect that for the time being the temporary fix is to regularly clear out those tables.
    The full fix for sites affected by this will (as Wayne says) be n 5.3.4.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Fleiding
      Senior Member
      • Jan 2012
      • 152
      • 5.3.x

      #17
      Thanks Mark, I will wait for 5.3.4. In the mean time, can I create a scheduled task like this? Advised to run this hourly?

      PHP Code:
      <?php if (!defined('VB_ENTRY')) die('Access denied.');

      $sql = new mysqli;
      mysqli_query($sql"truncate cache");
      mysqli_query($sql"truncate cacheevent");
      mysqli_query($sql"truncate searchlog");
      $sql->close();

      ?>
      Last edited by Fleiding; Sat 16 Sep '17, 3:13am.

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #18
        No reason why not, I'm not enough of a coder to know if that's the best code to use, but yes that ought to work.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • Fleiding
          Senior Member
          • Jan 2012
          • 152
          • 5.3.x

          #19
          I think I know what causes the issue. I use the link below to show the new posts on my forum. I just pressed the link and immediately hit return on my browser which caused the page to load again. At that moment, the server crashed.

          Code:
          search?searchJSON=%7B%22view%22%3A%22topic%22%2C%22unread_only%22%3A1%2C%22sort%22%3A%7B%22lastcontent%22%3A%22desc%22%7D%2C%22exclude_type%22%3A%5B%22vBForum_PrivateMessage%22%5D%7D
          Is this linked to the issue that will be fixed in 5.3.4.?

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74123

            #20
            That is a standard search based URL using JSON. It is no different than any other search on the system, including those used by every search module. The fix for the searchlog table would cover this as well. However, we would need more detailed information from your server logs (httpd, php, and mysql) including the time of the query and all error messages to determine if this actual query is the culprit.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            Related Topics

            Collapse

            Working...