LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 07-02-2007, 05:00 AM   #1
KaZaF
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
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.
 
Old 07-03-2007, 02:02 PM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 31
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.
 
Old 07-05-2007, 03:01 AM   #3
KaZaF
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 07-06-2007, 08:17 AM   #4
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
device drivers writing ashagottipati Programming 2 06-01-2007 07:57 PM
sendmail not writing logs ZAMO Linux - Server 4 04-03-2007 12:57 AM
Writing Device Driver... okeyla Programming 3 05-18-2005 07:41 AM
writing a loopback device ebh1 Linux - Newbie 2 03-12-2004 05:12 PM
writing device dummyagain Programming 2 10-18-2003 04:50 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration