HAProxy 启动时出现错误 11 - 如何调试?

HAProxy 启动时出现错误 11 - 如何调试?

我在 ubuntu 14.04 上运行 HaProxy。系统运行正常,但我在启动时收到一条警报,我想对其进行调试:

sudo /etc/init.d/haproxy restart
 * Restarting haproxy haproxy  

[ALERT] 314/173551 (14318) : sendto logger #1 failed: Resource temporarily unavailable (errno=11)

不幸的是,它没有告诉您哪些资源不可用。配置由许多资源组成。

如何确定此警报的原因?感谢您对此提供的任何帮助。

答案1

我在以下链接上发现重新启动 syslog 可能会有帮助: http://comments.gmane.org/gmane.comp.web.haproxy/4716 (也许还检查 /proc/sys/net/unix/max_dgram_qlen)

我的 max_dgram_qlen 是 512,通过 systemd 重新启动 syslog 和 haproxy 后它就可以工作了。

相关内容