Discover Centmin Mod today
Register Now

Install Where are the log files located?

Discussion in 'Centmin Mod Insights' started by pamamolf, Jun 27, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    4:58 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Hi

    Which files i must check for kernel/system mysql and php and nginx limits?

    Thanks

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,858
    Local Time:
    11:58 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Log limits or your mean which config files for system limits ?

    For system limits

    Code:
    /etc/sysctl.conf (only editing on non-OpenVZ servers)
    /etc/security/limits.conf
    /etc/security/limits.d/90-nproc.conf
    for config files

    • Nginx is at /usr/local/nginx/conf/nginx.conf
    • PHP-FPM you have PHP include file at /usr/local/nginx/conf/php.conf accessed via command shortcut = phpinc and php-fpm.conf at /usr/local/etc/php-fpm.conf accessed via command shortcut = fpmconf
    • MySQL at /etc/my.cnf accessed via command shortcut = mycnf
    For other command shortcuts and their paths check FAQ 16 at http://centminmod.com/faq.html
     
    Last edited: Jun 27, 2014
  3. pamamolf

    pamamolf Well-Known Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    4:58 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    I mean which log files to check for errors related to limits from kernel/system nginx mysql and php-fpm :)

    Sorry for my bad english ...
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,858
    Local Time:
    11:58 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Oh for log files FAQ 19 at http://centminmod.com/faq.html :)

    Highly recommend to re-read FAQ if you haven't already http://centminmod.com/faq.html ;)