If your disk is starting to run out of space due to an excess of mysql-bin.XXXXXXXX files here's what to do to fix that.
under 'log-bin=mysql-bin' (the destination could be different in your my.cnf) put:
expire_logs_days = 10
Change 10 to whatever you're comfortable with.
or you can simply disable the binary log files by uncommenting the line:
You'll also want to remove all the excessive binary log files like so:
mysql -u root -p -e "PURGE BINARY LOGS BEFORE '2012-02-15 09:00:00';"
In case you can't shutdown mysqld do the following:
kill -9 NUMBEROFPROCESS