Ralf Hildebrandt: > I'm encountering frequent qmgr crashes with postfix-2.10-20120630: > > Jul 4 19:20:27 mail postfix/qmgr[25825]: panic: vstream_buf_alloc: attempt > to shrink non-empty buffer
This was the result of false alarms in a new safety check (this was for new VSTREAM code that I added to implement haproxy support). Such safety checks are all over the place in Postfix, and their purpose is to pull the emergency brake before something bad happens. In this case the safety check was at fault, not the code that it was trying to keep out of trouble. Thanks to Ralf for bearing with me as I simplified the code and made the problem go away. Postfix snapshots 20120713 and later are OK. Wietse