Discover Centmin Mod today
Register Now

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

    44,731
    10,196
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,804
    Local Time:
    12:48 PM
    Nginx 1.17.x
    MariaDB 5.5/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

    3,826
    370
    83
    May 31, 2014
    Ratings:
    +712
    Local Time:
    5:48 AM
    Nginx-1.17.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

    44,731
    10,196
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,804
    Local Time:
    12:48 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    already in ram PHP: Runtime Configuration - Manual
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,826
    370
    83
    May 31, 2014
    Ratings:
    +712
    Local Time:
    5:48 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Ok thanks a lot George !!!!!! :)
     
  5. rdan

    rdan Well-Known Member

    4,962
    1,183
    113
    May 25, 2014
    Ratings:
    +1,797
    Local Time:
    10:48 AM
    Mainline
    10.2
    I got this warning by the way:
     
  6. eva2000

    eva2000 Administrator Staff Member

    44,731
    10,196
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,804
    Local Time:
    12:48 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Last edited: Apr 8, 2015
  7. rdan

    rdan Well-Known Member

    4,962
    1,183
    113
    May 25, 2014
    Ratings:
    +1,797
    Local Time:
    10:48 AM
    Mainline
    10.2
    And so, back to old settings :D
    Thanks!
     
  8. rdan

    rdan Well-Known Member

    4,962
    1,183
    113
    May 25, 2014
    Ratings:
    +1,797
    Local Time:
    10:48 AM
    Mainline
    10.2
    Using tmpfs / tmp as my fastcgi_cache directory, my site fly for all guest request :).
     
  9. eva2000

    eva2000 Administrator Staff Member

    44,731
    10,196
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,804
    Local Time:
    12:48 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    using fastcgi_cache for xenforo ?
     
  10. rdan

    rdan Well-Known Member

    4,962
    1,183
    113
    May 25, 2014
    Ratings:
    +1,797
    Local Time:
    10:48 AM
    Mainline
    10.2
    Yes.
    My main forum uses it.
     
  11. eva2000

    eva2000 Administrator Staff Member

    44,731
    10,196
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,804
    Local Time:
    12:48 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x