Join the community today
Become a Member

Can i use this path for better performance as tmp ?

Discussion in 'System Administration' started by pamamolf, Apr 1, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    51,985
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    1:02 AM
    Nginx 1.25.x
    MariaDB 10.x
    /tmp for mysql tmpdir needs at least 2x to 5x times the free disk space as your largest mysql database tables

     
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,056
    427
    83
    May 31, 2014
    Ratings:
    +828
    Local Time:
    6:02 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    My biggest table is 5,4 gb so if i do it x5 is 27gb so i think i am ok.....

    Now i have another idea to use the same thing for Zend opcache as cache will cleared anyway after restart...

    Is this ok?

    Is there any related setting to set the cache path on Zend Opcache?
     
  3. eva2000

    eva2000 Administrator Staff Member

    51,985
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    1:02 AM
    Nginx 1.25.x
    MariaDB 10.x
    already in ram PHP: Runtime Configuration - Manual
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,056
    427
    83
    May 31, 2014
    Ratings:
    +828
    Local Time:
    6:02 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok thanks a lot George !!!!!! :)
     
  5. rdan

    rdan Well-Known Member

    5,434
    1,395
    113
    May 25, 2014
    Ratings:
    +2,181
    Local Time:
    11:02 PM
    Mainline
    10.2
    I got this warning by the way:
     
  6. eva2000

    eva2000 Administrator Staff Member

    51,985
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    1:02 AM
    Nginx 1.25.x
    MariaDB 10.x
    Last edited: Apr 8, 2015
  7. rdan

    rdan Well-Known Member

    5,434
    1,395
    113
    May 25, 2014
    Ratings:
    +2,181
    Local Time:
    11:02 PM
    Mainline
    10.2
    And so, back to old settings :D
    Thanks!
     
  8. rdan

    rdan Well-Known Member

    5,434
    1,395
    113
    May 25, 2014
    Ratings:
    +2,181
    Local Time:
    11:02 PM
    Mainline
    10.2
    Using tmpfs / tmp as my fastcgi_cache directory, my site fly for all guest request :).
     
  9. eva2000

    eva2000 Administrator Staff Member

    51,985
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    1:02 AM
    Nginx 1.25.x
    MariaDB 10.x
    using fastcgi_cache for xenforo ?
     
  10. rdan

    rdan Well-Known Member

    5,434
    1,395
    113
    May 25, 2014
    Ratings:
    +2,181
    Local Time:
    11:02 PM
    Mainline
    10.2
    Yes.
    My main forum uses it.
     
  11. eva2000

    eva2000 Administrator Staff Member

    51,985
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    1:02 AM
    Nginx 1.25.x
    MariaDB 10.x