5

How do I point certain directory to /dev/null?

view full story
linux-howto

http://unix.stackexchange.com – I am running CentOS with cPanel, which creates a custom log directory and writes the logs there. The result is that the IO for the hard disk goes sky high. If I do lsof I got: hostsite.com httpd 2383 nobody 3779w REG 253,0 0 422463 /usr/local/apache/domlogs/mygamecardotcobnao.super hostsite.com-bytes_log httpd 2383 nobody 3780w REG 253,0 5265 420994 /usr/local/apache/domlogs/myfreefreedatixuua.super hostsite.com httpd 2383 nobody 3781w REG 253,0 36 422464 /usr/local/apache/domlogs/myfreefreedatixuua.su (HowTos)