Skip to content

Khandaker Toihidul Islam

Frontend Developer

  • Home
  • Symfony
    • Symfony
    • Easy Admin Bundle
  • WordPress
  • Server
    • Nginx
  • Vue JS
  • React
  • Software Testing
    • Manual Testing
    • Test Automation
  • Languages
    • Swedish
  • Tips
    • Driving in Sweden
    • Swedish
  • Database
    • Mysql
February 13, 2022 Uncategorized

How to low disc space in Nginx ubuntu

Posted by toihid
  1. Empty tmp log file by
sudo truncate -s0 /var/log/btmp.1

2. Check file size by

sudo du -h --max-depth=1 -x

3. Delete mysql log

  • Expire log file in 3 days : Go to /etc/mysql/mysql.conf.d/mysqld.cnf and set the following parameter and restart mysql
binlog_expire_logs_seconds	= 259200

Purge log files

4.

Post navigation

Previous Post

How to detect home page in iphone and safari

Next Post

Purge mysql log file in nginx

Recent Posts

  • Configure route in react
  • Install Composer in ubuntu 22.04 ngnix
  • How to call a method dynamically in Java
  • Configure log4j in selenium
  • Selenium table exmple

Recent Comments

    Archives

    • March 2023
    • February 2023
    • January 2023
    • November 2022
    • September 2022
    • August 2022
    • July 2022
    • May 2022
    • April 2022
    • March 2022
    • February 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020

    Categories

    • API
    • c#
    • Continuous Intrgration
    • Covid-19 and IT jobs
    • Devops
    • Divi
    • Driving in Sweden
    • Driving in Sweden
    • Driving Licence Bangla
    • Easy Admin Bundle
    • Encore
    • ErLang
    • Fiverr
    • General
    • git
    • Java
    • Jenkins
    • Jquery
    • Languages
    • laravel
    • Manual Testing
    • Motivations
    • Mysql
    • Nginx
    • Outsourcing
    • PHP
    • PWA
    • React
    • Selenieum Webdriver
    • Selenium Webdriver Java
    • SEO
    • Server
    • Software Testing
    • Swedish
    • Symfony
    • Test Automation
    • Tips
    • troubleshooting
    • Tutorials
    • Uncategorized
    • Vue JS
    • Woocommerce
    • Wordpress

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    WordPress Theme: Maxwell by ThemeZee.