Want to subscribe to topics you're interested in?
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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    3:18 AM
    Nginx 1.21.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

    3,989
    414
    83
    May 31, 2014
    Ratings:
    +804
    Local Time:
    8:18 PM
    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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    3:18 AM
    Nginx 1.21.x
    MariaDB 10.x
    already in ram PHP: Runtime Configuration - Manual
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,989
    414
    83
    May 31, 2014
    Ratings:
    +804
    Local Time:
    8:18 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Ok thanks a lot George !!!!!! :)
     
  5. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    1:18 AM
    Mainline
    10.2
    I got this warning by the way:
     
  6. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    3:18 AM
    Nginx 1.21.x
    MariaDB 10.x
    Last edited: Apr 8, 2015
  7. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    1:18 AM
    Mainline
    10.2
    And so, back to old settings :D
    Thanks!
     
  8. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    1:18 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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    3:18 AM
    Nginx 1.21.x
    MariaDB 10.x
    using fastcgi_cache for xenforo ?
     
  10. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    1:18 AM
    Mainline
    10.2
    Yes.
    My main forum uses it.
     
  11. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    3:18 AM
    Nginx 1.21.x
    MariaDB 10.x