Hi,

I'm running an older version of postfix and a 2.6.35 Linux kernel, and
recently started seeing these messages:

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

How can I troubleshoot this? I searched for this error and wasn't able
to find anything recent or directly related, so I'm not sure where to
look. Could this be a file allocation issue? This is on a relatively
busy system with probably a hundred thousand messages per day, but
seems to happen only a few hours after restarting the system. How can
I determine how many open files the current postsuper process has?
This error also appears with cleanup, smtp, and showq.

The output from ulimit is this:

# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 64923
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

I also tried increasing the open files to 2048, then restarting
postfix in the same shell, but it still happens.

Maybe it's a kernel compile-time variable, or some kernel tunable via sysctl?

Thanks,
Alex

Reply via email to