cupsd using 100% CPU

Somehow cupsd using 100% CPU, creating large (80GB+) error_log in /var/log/cups/. Deleting the log-files could solve the problem permanently, a new error_log files would be created by progress cupsd again and its size kept increasing, and full of the space finally.

Solution:

For Ubuntu 14.04 what worked for me was:

1
2
3
4
5
sudo service cups stop
sudo rm /etc/cups/subscriptions.conf*
sudo rm -r /var/cache/cups
sudo rm -r /var/log/cups/*
sudo service cups start

then restart your computer to make it work

NOTE:

if you cannot stop cups, try:

1
ps aux | grep cups

get Process ID (PID) from output and:

1
kill -9 (PID you have learned here)

Contents
  1. 1. Solution:
    1. 1.1. NOTE:
|