On Friday 20 November 2009 14:14:03 Arora, Sumit wrote: > You are right Joost, 4KB will be the block size... > But my question is who is taking this disk space, because email is deleted > already. > > Is this any log or what.... I just have to stop consumption of any kind of > disk space except mail logs. > > Please help.... > > -Sumit Arora
4K on logs per email are quite a lot. Unless you have really verbose logging. Unless your system logger is duplicating messages over several logfiles? Possible places to look: /var/spool/..... /tmp/.... /var/tmp/.... Maybe something leave temporary files, or maybe your postfix is keeping files in a spool-directory. Maybe try the following to see where additional files are placed: du / > PRE-newemail.txt <have postfix parse a few emails> du / > POST-newemail.txt Then do a diff on these 2 text-files to see which directories had an increase. Hopefully, this will reduce the possible locations to check for possible locations. -- Joost > > -----Original Message----- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of J. Roeleveld Sent: > Friday, November 20, 2009 6:26 PM > To: postfix-users@postfix.org > Subject: Re: 4KB of disk space burning on a single email > > On Friday 20 November 2009 13:42:58 Arora, Sumit wrote: > > Hi folks, > > > > I'm just testing my postfix server for load and disk usage. > > I'm using content filter on some another server, and I don't feed the > > email back to postfix. > > > > Email data is getting deleted from my postfix server, but I don't know > > where 4KB of my disk space gone on every email my postfix server > > receives. If anybody have some idea, please tell me. > > > > -Sumit Arora > > My guess is that the filesystem has a block-size of 4KB. > > A file is stored over a set of blocks of this size. Which means that if a > file is smaller then 4KB, it will still use a 4KB block. > > As far as I know, only reiserfs has the "notail"option which will try to > stick multiple smaller files into a single block. > > -- > Joost >