LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Sendmail : Error in writing into device (https://www.linuxquestions.org/questions/linux-enterprise-47/sendmail-error-in-writing-into-device-565995/)

KaZaF 07-02-2007 05:00 AM

Sendmail : Error in writing into device
 
There's problem in sending mails in the system. The system will display on the screen "Error in writing into device" whenever the inodes are 100% used up.
Kindly give a solution to this issue.

wjevans_7d1@yahoo.co 07-03-2007 02:02 PM

This seems to have nothing to do with sendmail as such. It's a problem with running out of inodes, period.

Very broadly speaking, you use up one inode in a filesystem every time you create a file, directory, symbolic link, etc. in that filesystem. You release an inode for re-use every time you delete a file, directory, symbolic link, etc. The difficulty is that you determine the total number of inodes in a partition when you format it, and that will never change until you reformat the filesystem.

As I see it, you have four alternatives here.
  1. See to it that your mail goes to a different filesystem. That would be a different partition on the same disk drive, or some partition on some other disk drive.
  2. Delete some files on the filesystem in question.
  3. Investigate whether you're in some sort of loop that's filling your filesystem with files without end.
  4. Completely reformat the partition. Choose a higher number of inodes. Maybe one inode per 1024-byte block.

If alternative #3 wasn't of use, then alternative #4, painful as it is, will be the most useful in the long run.

Hope this helps.

KaZaF 07-05-2007 03:01 AM

lots of mini files taking up space inside clientmqueue
 
i did some investigation on the disk full problem as the inodes are fully used up.
i found out that within the folder'clientmqueue', there are lots of 20,000+ mini files and the amount of space taken by them is very huge.
the path is /var/spool/clientmqueue.
Why these 20,000+ mini files come from and kindly give a solution to this issue.

wjevans_7d1@yahoo.co 07-06-2007 08:17 AM

If you don't get any response from someone on this new question within a day or two, you might want to post the question again with a subject line that focuses on that question, to attract those who might know the answer.

Good luck.


All times are GMT -5. The time now is 10:48 PM.