Software :: Postfix - Cache - Logging - Taking Up All Disk Space - Limit / Turn Off?
Feb 22, 2010
I'm working on a few servers running centos and using postfix. I don't know what the exact problem is, but we are having problems with the disk space being maxed out at 100 gigs. What we think the problem is...is that postfix is either caching or logging all the emails we send out. We sent 250k emails (500kb apiece) over the weekend and we were having trouble with that quantity. It seems some of those email were queued up for retry sending...but we didn't have sufficient disk space for that? Something broke - I'm not sure what.
What I want to do is to find and change the config file that has to do with postfix email retrying - possibly limit this (not sure if this will fix my problem). Or, turn off /limit any way that postfix logs/caches emails so that it won't take up all the disk space when queued up for retry... Again, I'm totally lost here (on both what's going on, and how to fix it). I'm not sure what more information is needed to address this problem
View 1 Replies
ADVERTISEMENT
Sep 7, 2010
My /var/ partition continues to fill up on all my servers, and it is because the logs in /var/log/apache2 or /var/log/mysql are being deleted during log rotate, but their file handles are being held open. Thus, a "du -sh /var/log" shows the correct values, but "df | grep /var" shows something much different.
It seems that the log files rotate, however if I run "lsof | grep deleted" it returns lots of files that are no longer visible in the directory, however refuse to clear themselves off the disk.
The only way I have found to make these log files go away (and thus clear up the disk space on the partition I should have) is to restart either apache or mysql, depending on which process has huge sized log files being held open.
Is it just me, or is this a big flaw in the way linux works, that it can't figure out how to release file handle for a log so the disk space can be reclaimed? This is happening to me a lot lately.
Here is some output from one of my web servers so you can see what I am seeing...
root@web49:~# df -h | grep /var$
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 9.2G 6.1G 2.7G 70% /var
root@web49:~# du -sh /var
[Code]....
View 9 Replies
View Related
Mar 13, 2011
I used photorec to recover lost files and it brought up 70gb worth of files, when I was done looking through them I deleted these files. but these files still seem to be taking up my disk space. When I try to access my trash bin with root I get a message that reads...."The folder contents could not be displayed. sorry, could not display all the contents of "trash": operation not supported." if I open my trash bin when I'm not in root, the bin is empty.
How do I free up my disk space?
View 8 Replies
View Related
Oct 15, 2010
I have BackInTime backing up my computer to a RAID cluster. The problem is that BackInTime doesn't have an option to limit disk space used. I also use this drive as a fileserver, and need to be able to keep some space open for that.
Is there a way that I can limit the amount of space a specific folder can take up? Alternately, is it possible to create a disk image that will only take up the amount of space in the image, but can automatically expand to a certain size? It would work similar to the Mac SpaseBundle format.
View 7 Replies
View Related
Aug 21, 2011
There I was, trying to update the package lists in a fresh install of Knoppix, when:
View 8 Replies
View Related
Mar 15, 2010
I just recently reinstalled (clean) Ubuntu 9.10 Karmic Koala last week. In that time, over 40GB of log files were created until the FileSystem was full. I then received a low disk space message and ran disk usage analyzer to find out that almost all of the 44GB I had free were taken up by the /var/log directory. I then preceded to delete the 5 largest files which freed up over 40 GB of space.
Basically I believe that I have two problems:
1.) The log files are logging too much information (40 GB in one week).
2.) I need a way to automatically limit the size of the log files. I have tried searching online for this solution and briefly came across logrotate but I don't believe that this will completely solve my problem as it only compresses and backs up older logs. I need something that will remove old log entries altogether. If logrotate is capable of this can someone please walk me through the process? I do not remember all five log files that were in question but they did include: messages, syslog, and daemon.log. I believe kern.log may have been involved too.
View 2 Replies
View Related
Nov 4, 2010
When adding repositories, I ran up past the default apt cache limit of 25165824. I found a couple of sources - one that treats apt.conf.d as an individual file, and another that treated it as a folder - which my system does.
Following those guidelines, I went into /etc/apt/apt.conf.d/debconf70 to add a line of code that sets the default to 2x and 4x that limit, and... well, apt doesn't seem to recognize the difference.
Here's the code I added at the end:
So, is there somewhere else that I need to change things? Am I completely off on this? I found a year-old thread on this error in the ubuntu forums, where a gentleman who is now a member of the staff simply suggested to the op "take out that debian repository you listed". It kinda negated the premise for me, you know? I'm kinda hoping there's more that I can do.
View 5 Replies
View Related
May 31, 2011
I'm recently receiving error message: Eynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf), E:Error occurred while processing libguile-ltdl-1 (NewFileVer1), Eroblem with MergeList /var/lib/dpkg/status, E:The package lists or status file could not be parsed or opened.'
I have tried to increase the cache by adding the line
It is apparently getting the value from elsewhere.
View 1 Replies
View Related
May 25, 2010
i used gddrescure to clone an 80gb harddrive and this is the result ROFL.i guess you can only do this making sure the target drive is the same size, you see i didnt know lol so..i now have THIS problem.can anyone tell me how to turn my unallocated space into a usable 'free' space? i could play with gparted right now but i dont wanna do anything wrong, so if theres anyone who can tell me how to do this.
View 1 Replies
View Related
Jul 26, 2010
I am trying to configure linux printer Server.
Setup : Using Centos 5.3
Printer : hp 4350
At present we are using windows print server getting user name and authenticated from domain server. I need your suggestion to configure linux printer server and how to share the printer to users and how to limit the user in taking printouts.
View 1 Replies
View Related
Aug 29, 2010
I have ubuntu install on a 500 gb drive. It says i have 409 gb free. I've been able to account for 40 gb, but when I try to check the folder proc, it lists 128 tb. How much space is this folder actually taking up?
View 1 Replies
View Related
Jun 23, 2010
Desktop couchdb builds up a pair of log files in:~/.cache/desktop-couchdb.log.1~/.cache/desktop-couchdb.stdout.1It appears they then get rotated to *.2 and *.3 before disappearing.In my case, having uninstalled Ubuntu One, I think the desktop couch DB is only there supporting Gwibber. Both log files seem to be HTTP access logs - referring to HEAD and GET - not much value really.If the machine is up for several days, these logs get quite large. I think they were up to a combined 700MB after 12 days uptime before I rebooted today.There's a settings file /etc/couchdb/local.ini but the log level therein only seems to affect the log under /var/log/couchdb.Anyone know how to stop this logging under ~/.cache?
View 1 Replies
View Related
Jun 17, 2011
I've just found that one of my email addresses with an auto-reply gets stuck in a loop when it receives email from senders who also have an auto-reply set up.Is there an easy way for me to set Postfix so that it only sends one auto-reply email or so that it only sends a maximum of 1 auto-reply message per day to the sender?
View 1 Replies
View Related
Jan 19, 2010
How to set outgoing mail limit? And what is the default value?
View 2 Replies
View Related
Sep 1, 2010
I have been trying to increase the message_size_limit on my Debian 2.4.26 box with postfix 2.3.8. For example, I set message_size_limit and mailbox_size_limit to 104857600 (100m) and restart postfix. Running postconf -n confirms that it has changed. However when I send a test message it kicks it back saying the message size limit is 16777216 (16m, which is, incidentally, the default value of the berkeley_db_create_buffer_size parameter)
View 10 Replies
View Related
Apr 27, 2010
I notice that when someone sends a message from my Postfix server & it can't find the destination server or if there is a incorrect domain recipient entered by mistake, it sits in my Postfix queue for days. I think perhaps 4-5 days for some reason. I was wondering if I could shorten the time so the sender gets a delivery failure message kicked back to them in 24 hours rather than waiting 4 or so days.
Code:
View 1 Replies
View Related
May 16, 2010
I recently made the dumb mistake of using tar to make a backup of my "/" on my "/" when my "/" didn't have near enough space to store the backup. I received a warning message, so I canceled the terminal process and used nautilus to delete what amount of the backup had already been saved. That didn't seem to free up any space on my "/" like it should have, though. In an effort to find any hidden trash files that needed to be deleted, I used this terminal command:
[Code]...
View 9 Replies
View Related
Jul 16, 2010
how to disable postfix logging? I can obviously set a macro to purget the logs but I am trying to reduce the IO of the logging altogether.
how to disable it?
View 1 Replies
View Related
Sep 15, 2009
I have and IBM e-Server, with 256RAM, however when I force the fedora installation to be perfomr in grapgical mode, Anaconda return a message that say that I dont have enoght Memory to perform the graphical installation. To my uderstanding It requiere 192MB of Memeory for a graphical installation.
What I'm doing wrong?, or is that the vmlinuz is booting into RAM and taking most of the space?
View 1 Replies
View Related
Sep 13, 2010
Ubuntu 10.04.1 I was just tidying up my panel when I notice the Volume icon is taking up the space of two icons: I can right-click and Move it to the left or right
View 6 Replies
View Related
Jan 9, 2011
How much space does Ubuntu 10.04 take?
I have a 320 GB HDD I use for data apart from the regular HDD for the OS. Of course when you go to format it, it's actually 298GB. So I made a 248 GB partition, ext4 for ubuntu data, and a 50GB partition for Windows.
It shows as 248.01 GiB in size in GParted, with 217.27 GiB used. 30.75GiB unused.
When I go to Computer, right click on the partition, click Properties, it says Total capacity 244.1 GB, 18.3 GB free, 225.8 GB Used.
So:
1) Why does GParted show it as 248GB and the Properties as 244 GB?
2) More importantly: Why does Gparted show I've used 217.27 GBs, while the Properties show I've used 225.8 GB? What's going on there?
View 9 Replies
View Related
Jun 8, 2011
I have some confusion about one of my partition and the space it is taking. df -h output is given below;
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ddf1_ADVDTARTINGp1
494G 18G 452G 4% /
[code]....
above information is showing that /var/lib/mysql partition total size is 379 GB and it is 68% used. However when I execute command du -sh /var/lib/mysql it shows following output.
# du -sh /var/lib/mysql
45G /var/lib/mysql
Now I want to know what files are taking space to make the partition 68% used. I want to list down all files in that partition with size.
View 8 Replies
View Related
Jul 27, 2010
I had this come up in logwatch: /dev/sda5 4.8G 3.6G 960M 80%/
Any ideas how I can find which files are suddenly taking up the space?
View 17 Replies
View Related
Nov 29, 2010
My company recently started bouncing all .Gifs back to our linux server. Is there a way on my end that i can block this from happening so it stops taking up space?
View 3 Replies
View Related
Feb 24, 2011
root@localhost:~ $ df /dev/sdb1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 1922858352 23247088 1801935664 2% /mnt/external/sdb1
[code]....
View 1 Replies
View Related
May 20, 2011
When I reinstalled ubuntu I chose to encrypt my home folder (something that i've never done before) but now that I know it doesn't really make a difference i'd like to decrypt it because the .encryptfs folder is taking up so much space i'm getting notifications every time I log in.
View 7 Replies
View Related
Feb 14, 2011
turn up the level of logging that my DHCP Server is writing to SYSLOG?I can't seem to find a syslog.conf file to edit.
View 1 Replies
View Related
May 11, 2011
I upgraded postfix to 2.8 today after the security bulletin from the list.
now I get the following error:
'postfix/local[2442]: fatal: unable to determine open file limit'
I can receive/send mail, it just wont let me deliver locally
uname output: 2.6.37-1-686 #1 SMP Tue Feb 15 18:21:50 UTC 2011 i686 GNU/Linux
View 2 Replies
View Related
Jan 31, 2010
Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.
Here is the output of df -h:
Code:
As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?
If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(
In case you're curious, here's my /etc/fstab:
Code:
View 14 Replies
View Related
Aug 25, 2009
OS: RHEL AS 5 64-bit
HDD:300 GB Hardware mirror (HP blade bl460c)
While installing OS, in partition window after OS file system structure I've left 277 GB. But after installation it shows Size - 255GB and available disk space is 242 GB.
Isn't it weired? How can I use the total amount of space in Linux? I need the whole 277GB exactly. What should be my workaround?
View 6 Replies
View Related