postfix-users September 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: postfix/local: Too many open files when openi

Re: postfix/local: Too many open files when opening .forward

From: Alexander 'Leo' Bergolth <leo_at_nospam>
Date: Wed Sep 22 2010 - 18:35:31 GMT
To: Wietse Venema <wietse@porcupine.org>

On 09/22/2010 01:22 AM, Wietse Venema wrote:
> Alexander 'Leo' Bergolth:
>> On 09/21/2010 10:57 PM, Wietse Venema wrote:
>>> Alexander 'Leo' Bergolth:
>>>> Since yesterday I am experiencing big problems when delivering mail to
>>>> an alias-list. (Yes, I have set up an owner-listname alias. :-))
>>>
>>> Do you have the RIGHT owner-listname alias.
>>
>> This seems to be the problem.
>>
>> I have set up two owner- aliases, none of both seems to work...
>
> As documented, the owner-alias feature exists ONLY
> IN main.cf:alias_maps NOT IN VIRTUAL ALIAS MAPS.

You are talking about virtual alias maps as configured with the
"virtual_alias_maps" config directive?

I don't use them. I am using alias_maps:

# postconf | grep ldap
alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf,
ldap:/etc/postfix/ldap-groups.cf

My owner- address is defined in hash:/etc/aliases and my list address in
ldap:/etc/postfix/ldap-groups.cf.
Do both the list address and the owner- alias have to be in the same
alias-map?

>>> To avoid running out of file handles reduce the number of Postfix
>>> processes or increase your kernel tables.
>>>
>>> http://www.postfix.org/postconf.5.html#default_process_limit
>>> http://www.postfix.org/master.5.html
>>
>> I don't think that this should be a problem. default_process_limit is at
>> 100 and there is virtually no load on the server. Could this setting
>> really interfere with the local daemons behavior?
>
> If you run fewer local processes then **BIG SURPRISE** they
> will use fewer file handles.

The local(8) process is running into a *PER PROCESS* limit, not a user
or system limit. (The system limit is 1182752.)

Cheers,
--leo
-- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 location ::: IT-Services | Vienna University of Economics | Austria