i just beginning to learn some stuff on linux,i have virtual machin on Centos and suddenly my website does not coming up since morning and i get et internal 500 error while trying to login my plesk panel,but after some research and using this command through putty root@vps ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 50G 47G 0 100% / tmpfs 1.0G 0 1.0G 0% /dev/shm
i found out that disk space avail is 0%, i deleted some files at my var/log,after that by and using this command:
du -h --max-depth=1 / | sort -n -r
i find out that my information on the disk is only 1.8G at httpdocs folder while there is a folder at var/lib/php/session that get over 40G of my space!!!!!! what is that thing at all!? How can is fix that? where is the probleme?! thanks