Patent ID: 8427692

Claim:
An image processing apparatus comprising: a hard disk device which conducts reading or writing of image data during execution of a job, the job using the image data; an acquisition section which acquires information indicating a state of deterioration of the hard disk device; and a control section which executes the job, the control section being configured to perform operations comprising: setting a condition for a retrial treatment, the retrial treatment comprising trying to write the image data on a second sector of the hard disk device that is different from a first sector of the hard disk device that was previously used in an attempt to write the image data, the condition comprising at least one of: an upper limit to repeat retrial treatments, or a retrial interval for repeat retrial treatments; detecting a writing error during a writing of the image data on the hard disk device; and conducting the retrial treatment based on the set condition, wherein if the hard disk device is determined to have deteriorated more than a standard threshold, the control section: sets the upper limit to a number greater than a number that would be used for the upper limit if the hard disk device were determined not to have deteriorated more than the standard threshold, or sets the retrial interval to be longer than the retrial interval that would be used if the hard disk device were determined not to have deteriorated more than the standard threshold.