Welcome! Log In Create A New Profile

Advanced

nginx on centos7 disk space

Posted by eladeb 
nginx on centos7 disk space
November 15, 2022 09:15AM
Hi All ,
im using Centos 7 with nginx latest on .
the nginx filling up my servers disk .
i read almost every link about how to maintain disl space with nginx with no success .
the weird thing is the nignx start growing at about 5 gigs a day until crashing .
i check any log and any /path but seems like im missing about 12gigs of space .
iv installed ncdu but i cant find the root cause there a 40 gigs of space
it starts filling up the /var/log/* are taking about 20 12 gigs when space is 100% full.
when i stop nginx server the disk space reduce in about 50-60%
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.4G 0 3.4G 0% /dev
tmpfs 3.4G 8.0K 3.4G 1% /dev/shm
tmpfs 3.4G 338M 3.0G 10% /run
tmpfs 3.4G 0 3.4G 0% /sys/fs/cgroup
/dev/mapper/centos-root 46G 25G 21G 55% /
/dev/sda1 1014M 270M 745M 27% /boot

whats am i missing ?
thanks
Elad
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready