Vucomir Ianculov <vukomir(at)os-ux(dot)com> writes:
> i'm seeing a lot of connection time out in postgresql log
> 2017-01-25 11:09:47 EET [6897-1] XXX(at)YYY FATAL: canceling authentication due to timeout
> 2017-01-25 11:10:15 EET [6901-1] XXX(at)YYY FATAL: canceling authentication due to timeout
> 2017-01-25 11:10:17 EET [6902-1] xxx(at)YYY FATAL: canceling authentication due to timeout
So ... what authentication method are you using?
regards, tom lane