[Web-cyradm] Password length and max # of MySQL connections

Kevin Curran kcurran at aniworld.com
Thu Apr 29 12:45:05 CEST 2004


> 2. I had to set max-connections parameter for MySQL startup, because
> default value "100" caused a lot unsuccessful logins into 
> IMAP and POP3
> daemons (PAM logger reported this: "MySQL:too many 
> connections"). IS there
> a better workaround of this ?

I don't know about the rest but this worked for me on too many connections error
configure proxymap
http://www.postfix.org/proxymap.8.html
	To consolidate the number of open lookup tables  by
    sharing  one  open  table among multiple processes.
    For example, making mysql  connections  from  every
    Postfix daemon process results in "too many connec-
    tions" errors. The solution:

proxy_read_maps= proxy:unix:passwd.byname
        proxy:mysql:/etc/postfix/mysql-virtual.cf
        proxy:mysql:/etc/postfix/mysql-transport.cf
virtual_maps = proxy:mysql:/etc/postfix/mysql-virtual.cf
transport_maps = proxy:mysql:/etc/postfix/mysql-transport.cf 



More information about the Web-cyradm mailing list