Announcement

Collapse
No announcement yet.

Error writing file /tmp -- how big should /tmp be?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Error writing file /tmp -- how big should /tmp be?

    Once every day or so, I get an error writing /tmp. It's not always the same vBulletin query. When we look at /tmp (not always immediately after the error, because I don't see the alert right away), /tmp has plenty of space, so it must either be certain peak conditions or maybe some searches creating a large amount of temp tables.

    My forum is running 4.21. There are 424,000 threads, and 1,600,000 posts.

    I'm on a dedicated server and my /tmp is currently 2GB. Do you have a recommendation of how big /tmp should be? Or, should I just increase it by some arbitrary amount and see if the errors go away?

    Thanks
    BroncosForums.com - Broncos Fan Forum
    Total Broncos - Denver Broncos Blog and News

  • #2
    It should be a minimum of three times the size of your largest MySQL Table.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      Originally posted by Wayne Luke View Post
      It should be a minimum of three times the size of your largest MySQL Table.
      Great, thanks.

      - - - Updated - - -

      Originally posted by Wayne Luke View Post
      It should be a minimum of three times the size of your largest MySQL Table.
      Ok, I have multiple tables (post & searchcore_text) in the ~930 MiB range. So, that would be 2.7GB minimum. Do you think 3GB is enough, or go with 4GB? What would you recommend.
      BroncosForums.com - Broncos Fan Forum
      Total Broncos - Denver Broncos Blog and News

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X