Hi
In old server i have:
max_use=180

in new serwer I have:
max_use=150

I don't know if it's that important
I have no idea what could be wrong.
after restarting postfix everything seems to be back to normal so I don't know........


W dniu 3.04.2025 o 10:32, natan via Postfix-users pisze:
Hi
Today I have this same problem with resources... for 4 houers works fine and I get many

....
Apr  3 10:07:07 node2 postfix/smtpd[426447]: warning: connect to private/policy-spf: Resource temporarily unavailable Apr  3 10:07:07 node2 postfix/smtpd[426447]: warning: problem talking to server private/policy-spf: Resource temporarily unavailable
....

This is debian11 (systemd)
Linux node2 5.10.0-34-amd64
This machine is ber metal (64 vcory+ 128GB ram)
Load average: 0.20 1.36 3.10
ii  postfix        3.5.25-0+deb11u1 amd64

nobody   4125051  0.0  0.0  23216 16628 ?        Ss   09:48   0:00 /usr/bin/python3 /usr/bin/policyd-spf

#cat /proc/4125051/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited unlimited            seconds
Max file size             unlimited unlimited            bytes
Max data size             unlimited unlimited            bytes
Max stack size            8388608 unlimited            bytes
Max core file size        0 unlimited            bytes
Max resident set          unlimited unlimited            bytes
Max processes             515047 515047               processes
Max open files            524288 524288               files
Max locked memory         65536 65536                bytes
Max address space         unlimited unlimited            bytes
Max file locks            unlimited unlimited            locks
Max pending signals       515047 515047               signals
Max msgqueue size         819200 819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited unlimited            us


The difference between the new and old server is:
New:
-debian11 (systemd)
-in main.cf I add dkim:
smtpd_milters = inet:localhost:12301
non_smtpd_milters = inet:localhost:12301
milter_default_action = accept
milter_protocol = 6

Old serwer
-debian10(init.d)


In old debian10 (sysinit) all works fine and never get "Resource temporarily unavailable"
Both servers do not have selinux

Both servers have apparmor (distribution)
node2:~# journalctl | grep -i apparmor
Find nothing

node2:~# aa-status
apparmor module is loaded.
11 profiles are loaded.
10 profiles are in enforce mode.
   /usr/bin/freshclam
   /usr/bin/man
   /usr/sbin/clamd
   /usr/sbin/unbound
   lsb_release
   man_filter
   man_groff
   nvidia_modprobe
   nvidia_modprobe//kmod
   tcpdump
1 profiles are in complain mode.
   /usr/sbin/chronyd
4 processes have profiles defined.
2 processes are in enforce mode.
   /usr/bin/freshclam (1345)
   /usr/sbin/clamd (1144)
2 processes are in complain mode.
   /usr/sbin/chronyd (1374)
   /usr/sbin/chronyd (1389)
0 processes are unconfined but have a profile defined.


And Realy I dont have any problem whats going on

I must mention that my traffic is about 40 requests per second



W dniu 27.03.2025 o 20:32, Wietse Venema via Postfix-users pisze:
natan via Postfix-users:
W dniu 27.03.2025 o?14:44, Wietse Venema via Postfix-users pisze:
natan via Postfix-users:
Hi
I dont have selinux
Hi
I dot have and use apparmor to
Then perhaps your kernel does not have enough memory for file
handles, network connections, etc. Is this some kind of a 'minimal'
system like some people love to use for containers?

    Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

--

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

--

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to