Mark Martinec wrote:
> Kevin,
>
>   
>> We have a virtual machine and adding more RAM is going to be expensive.
>>
>> The server only does email and only looks after the email for a single
>> domain - maybe at the very most a couple of thousand incoming and
>> outgoing emails per day.
>>
>> Is there any advice on setting the system up so is doesn't run out of
>> resources - the default settings have resulted in an error of
>>
>> (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the
>> initial server greeting) amavis postfix
>>     
>
> How much RAM does your virtual machine have?
> Does it have swap space?
>
> Running out of memory usually results in fork() failing, which should
> be logged (but it depends on where this happens). It is possible, but
> not typical, that you would see the above error message from Postfix
> because of this.  Try running amavisd as:
>
>   # amavisd debug 2>&1 | tee 0.log
>
> until the problem happens, see what is logged.
>
>   

Thanks Mark - the debug line looks very useful.

I think I might have a handle on it.

The fork error does not happen on this box - but it does happen on a 
test box which has hardly ant swap space.

The errors I'm seeing are probably not terminal - just not enough 
resources as it seems to happen when a user sends an email to 10 or so 
people at the same domain - i.e. they use the server to send out emails 
(which is normal) and cc the rest of the company - and there are not 
enough processes available.

Kev


>   Mark
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/amavis-user 
>  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
>  AMaViS-HowTos:http://www.amavis.org/howto/ 
>
>   

-- 
*Kevin Bailey*
Director/Programmer - Freeway Projects Limited
Web: www.freewayprojects.com <http://www.freewayprojects.com/>
Email: kbai...@freewayprojects.com <mailto:kbai...@freewayprojects.com>
Phone: +44 (0)1752 267090
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to