Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-2006, 09:15 PM
Intermediate Member
 
Posts: 22
Default /dev/shm full due to amavisd

Hi,

Some time today we stopped receiving mails. A further check concluded that /opt/zimbra/amavisd-new-2.3.3/tmp filled up /dev/shm to the brim. I immediately moved half of the folders there elsewhere and restarted zimbra. It took some time to clear all the mails in the queue but we can receive emails again.

Problem is, the folder size of /opt/zimbra/amavisd-new-2.3.3/tmp has remained stagnant ever since the restart. What are those files for? And why aren't they being cleared. Since amavisd is the virus scanner, I would assume that those are files in the queue for scanning. I would also like to know whether I should move back the files I moved previously.

Also, how do I increase the tmpfs partition size for /dev/shm?

thanks!
wong
Reply With Quote
  #2 (permalink)  
Old 08-07-2006, 09:36 PM
Intermediate Member
 
Posts: 22
Default

hi,

I just modified the /etc/fstab and pushed the partition size for /opt/zimbra/amavisd-new-2.3.3/tmp to 500MB (half my available RAM). Have already remounted it. Is that a good move? And will this setting persist through zimbra restarts?

thanks
wong


Quote:
Originally Posted by lilwong
Hi,

Some time today we stopped receiving mails. A further check concluded that /opt/zimbra/amavisd-new-2.3.3/tmp filled up /dev/shm to the brim. I immediately moved half of the folders there elsewhere and restarted zimbra. It took some time to clear all the mails in the queue but we can receive emails again.

Problem is, the folder size of /opt/zimbra/amavisd-new-2.3.3/tmp has remained stagnant ever since the restart. What are those files for? And why aren't they being cleared. Since amavisd is the virus scanner, I would assume that those are files in the queue for scanning. I would also like to know whether I should move back the files I moved previously.

Also, how do I increase the tmpfs partition size for /dev/shm?

thanks!
wong
Reply With Quote
  #3 (permalink)  
Old 08-11-2006, 03:53 PM
Zimbra Employee
 
Posts: 4,792
Default

You can if you want move it to a physical disk but you'll lose some perf.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #4 (permalink)  
Old 08-11-2006, 04:04 PM
Zimbra Employee
 
Posts: 604
Default

This issue is somewhat known and is being tracked via bug 8081.
Reply With Quote
  #5 (permalink)  
Old 09-21-2006, 01:24 AM
Active Member
 
Posts: 44
Default Amavisd stopped accepting mail due full tmpfs

Something similar just happened to us. A well-compressed tar file expanded to fill the entire 150MB tmpfs partition, amavisd stopped accepting mail, and thus nothing could be delivered or sent.

Code:
Sep 20 18:34:28 otto amavis[26201]: (26201-01) (!) ESMTP ABORTING: Can't write to mail file: No space left on device at (eval 56) line 584, <GEN4> chunk 91.
Sep 20 18:34:28 otto amavis[26201]: (26201-01) (!) ESMTP: NOTICE: ABORTING the session: Can't write to mail file: No space left on device at (eval 56) line 584, <GEN4> chunk 91.
Sep 20 18:34:36 otto amavis[26209]: (26209-01) (!!) ESMTP TROUBLE: 451 4.5.0 Can't flush mail file: No space left on device at (eval 56) line 619, <GEN4> line 76.
Maybe the amavisd-new parameter "$MAX_EXPANSION_QUOTA = 300*1024*1024" is somewhat too large when the tmpfs partition is only 150MB.
__________________
Scott Hanson
Media Ventures GmbH
Cologne, Germany
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.