|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Andreas Grimm (grimm.andreas
yahoo.com)
Date: Tue Oct 30 2007 - 11:03:55 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Victor,
glibc version is 2.4
Kernel version 2.6.16
I think epoll is supported. How can i verify the postfix was compiled with epoll, resp. how can i compile postfix using epoll?
I' using postfix-2.5-20071006.
Victor Duchovni <Victor.Duchovni
MorganStanley.com> wrote: On Tue, Oct 30, 2007 at 08:36:21AM -0700, Andreas Grimm wrote:
> Hello Wietse,
>
> the problem is that, as far as i know, /proc/sys/fs/file-max limits the total open files for all processes. The open files per process is limited in the shown kernel headers. I think the problem is anvil. Every smptd process has a connection to anvil, and every connection is a file. Because of the per process limit anvil, which is a single process, stops the service. So /proc/sys/fs/file-max won't help here. Is there a way to turn off anvil in such stress situations (i.e. when there are more than 800 connections)? It might help.
> BTW:
Anvil helps reduce stress, so turning it off is not optimal. If you are
using Postfix 2.4 build on a system with a 2.6 kernel and a suitable
glibc, you have epoll() support, and anvil should easily handle more
than 1024 descriptors.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]