Hi all,

>> Aug 14 19:52:01 smtp01 postfix/postsuper[2634]: fatal: setuid(103):
>> Resource temporarily unavailable

Looks like the issue was with the maximum number of user processes, as
per /etc/security/limits.conf. It was set to 160, and apparently the
new kernel and one of the other changes I made to support the new
kernel, caused postfix to require more than 160 processes running at
one time on the system.

For reference, there was nothing further in the system or postfix
logs, dmesg, or even by increasing the postfix logging level to the
best of my ability.

SELinux was also disabled on this system (security=0) since I'm sure
the policy would be quite different from how I currently have the
system configured, so that also wasn't an issue.

> The error details suggest that there was some resource limit
> violation when the postsuper process attempted to change from "root"
> to "postfix" privileges.

This is good to know. I was able to su to postfix without difficulty,
apparently because I was running as another root user, and not the one
that spawned postfix.

My investigation also involved using lsof to determine the number of
open files for the master process (I have two instances of postfix
running):

# ps ax | grep master
14352 ?        Ss     0:08 /usr/libexec/postfix/master
14368 ?        Ss     0:00 /usr/libexec/postfix/master

# lsof -p 14352 -p 14368 | wc -l
188

Thanks for everyone's help!

Thanks,
Alex

Reply via email to