Hi, I just found a large sized stat log file in this dir on my VPS: /home/httpd/xyzfolder/stats The file name is: xyzsite-custom_log It is 6.6 GB in size and is eating up my disk space usage. Is it okay to delete this file and free the space on the disk?
Um, yes. Google for 'rotate server logs' and the name of the software you're running as a server os. There should be ann option to save your logs every day and start over fresh. That way you don;t get these huge logs. hope this helps -drmike
Um, no. If it's an active log and you gzip it, the webserver will have to unzip it to access it, write to it and then zip it back up. That would be a waste. One the Debian and FreeBSD boxes we have, the log rotation script we use the previous days logs are gzipped when they are rotated and saved.