Solved Postfix version 3.7.2 - maxqlen - public/pickup

Hi )

How fix this ?

Code:
Nov 16 13:51:59 solar-east kernel: sonewconn: pcb 0xfffff80289bbd700 (local:public/pickup): Listen queue overflow: 76 already in queue awaiting acceptance (8 occurrences)
Nov 16 15:06:05 solar-east kernel: sonewconn: pcb 0xfffff80289bbd700 (local:public/pickup): Listen queue overflow: 76 already in queue awaiting acceptance (50 occurrences)
Nov 16 15:57:54 solar-east kernel: sonewconn: pcb 0xfffff80289bbd700 (local:public/pickup): Listen queue overflow: 76 already in queue awaiting acceptance (23 occurrences)

I try

Code:
# sysctl net.link.ifqmaxlen

net.link.ifqmaxlen: 2048


But now 50, no 2048.

Code:
# netstat -Lan

Current listen queue sizes (qlen/incqlen/maxqlen)

unix  0/0/50                           private/spf-policy

unix  0/0/50                           private/dovecot

unix  0/0/50                           private/scache

unix  0/0/50                           private/anvil

unix  0/0/50                           private/lmtp

unix  0/0/50                           private/virtual

unix  0/0/50                           private/local

unix  0/0/50                           private/discard

unix  0/0/50                           private/retry

unix  0/0/50                           private/error

unix  0/0/50                           public/showq

unix  0/0/50                           private/relay

unix  0/0/50                           private/smtp

unix  0/0/50                           private/proxywrite

unix  0/0/50                           private/proxymap

unix  0/0/50                           public/flush

unix  0/0/50                           private/verify

unix  0/0/50                           private/trace

unix  0/0/50                           private/defer

unix  0/0/50                           private/bounce

unix  0/0/50                           private/rewrite

unix  0/0/50                           private/tlsmgr

unix  0/0/50                           public/qmgr

unix  0/0/50                           public/cleanup

unix  0/0/50                           public/pickup

unix  0/0/50                           private/spamassassin


When server is heavy load, this status

Code:
# netstat -Lan

unix  76/0/50                           public/pickup


How change maxqlen for Postfix, tell please.
 
It's usually an indication that your application can't handle the amount of incoming connections fast enough. Increasing kern.ipc.soacceptqueue[*] might help, but it may only postpone the inevitable. You will need to restart postfix after increasing soacceptqueue. And also double check that Postfix doesn't have its own limit.

[*] The old sysctl was called kern.ipc.somaxconn, you may have seen it mentioned in various older documentation.

# sysctl net.link.ifqmaxlen
That's the send queue size. It has nothing to do with receiving (listen(2)) connections.
 
Code:
# sysctl kern.ipc.soacceptqueue
kern.ipc.soacceptqueue: 1024

Code:
service postfix restart

Code:
# netstat -Lan
unix  0/0/50                           public/pickup

Yes, may be limits have Postfix.
May be you know what limits have Postfix ?
 
When server is heavy load, this status
You probably want to investigate where this heavy load is coming from. You may just be getting hammered by spammers, blocking those should be your first concern. And there's always the possibility of load-balancing your incoming mail over multiple servers (which is a good idea to do anyway).

Try to fix the problem, not the symptoms.
 
Back
Top