惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cisco Talos Blog
Cisco Talos Blog
阮一峰的网络日志
阮一峰的网络日志
云风的 BLOG
云风的 BLOG
D
Docker
Vercel News
Vercel News
IT之家
IT之家
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
腾讯CDC
Google DeepMind News
Google DeepMind News
I
InfoQ
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
The GitHub Blog
The GitHub Blog
博客园 - Franky
The Cloudflare Blog
A
About on SuperTechFans
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
T
Tenable Blog
P
Proofpoint News Feed
Recorded Future
Recorded Future
Security Latest
Security Latest
H
Hackread – Cybersecurity News, Data Breaches, AI and More
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 聂微东
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Google Online Security Blog
Google Online Security Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Simon Willison's Weblog
Simon Willison's Weblog
The Last Watchdog
The Last Watchdog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
U
Unit 42
The Hacker News
The Hacker News
Martin Fowler
Martin Fowler
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
F
Full Disclosure
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
Project Zero
Project Zero

HAProxy

HAProxy 2.0 发布 - V2EX haproxy 小白请教一个问题,关于限制最大并发 maxconn 和 Linux 系统 limit -n 限制 - V2EX HAProxy 1.8.0 - V2EX 经过 HAProxy 后发现引入了很大的延迟? - V2EX HAProxy 可以基于请求的 SNI 域名配置 server 吗? - V2EX 为什么 HAProxy ( http://www.haproxy.org/ )被 Wall 了?不解…… - V2EX Load Balancing WordPress with HAProxy - V2EX 这个该怎么读呢? HAProxy - V2EX 关于动态网站的 LB(负载均衡)服务器 - V2EX HAProxy 1.5 PPA for Ubuntu - V2EX
haproxy 无法连接数据库 - V2EX
keramist · 2017-03-19 · via HAProxy

这是一个创建于 3374 天前的主题,其中的信息可能已经有所发展或是发生改变。

haproxy 又一个坑 搞了两天还没搞定 停下分析问题 怎么都不能成功连接数据库 不用 haproxy 可以远程连接数据库 与防火墙 系统 数据库 keepalived 无关 都测试过了 谁给点技术支持
debian centos67 测试了 1.7.3 1.7.2 。而网站 80 端口 负载均衡没问题 现在测试 centos7 yum install 自带 1.5.18

defunct9

1

defunct9      2017 年 3 月 19 日 via iPhone

后端 oracle 和 mysql 都用过,没问题。 so ,配置不对

notgod

2

notgod      2017 年 3 月 19 日 via iPhone

不就那么点事吗? 不会按标准流程进行排障?
一说就说 n 天、

你要明白这里的问题在多台机器 不要看 a 机器防火墙没问题就觉得所有机器防火墙没问题

善于看日志 99%的问题在日志层面都会体现出来

数据库的远程权限 测你 ha 的 master 到 backed 的远程
什么叫远程可以链接?

一个 /etc/hosts 里生成的指定
一个服务器 dns 的配置错误
一个配置文件里指定的 bind
都会有各种问题

配置文件也不贴 就让别人提供技术支持 这样好吗?
别人都是神 靠猜?

keramist

3

keramist      2017 年 3 月 19 日

的确是配置问题 defaults 里面设置了 mode http
defaults
#mode http
log global
option dontlognull
option redispatch
retries 3
timeout queue 45s
timeout connect 5s
timeout client 1m
timeout server 1m
timeout check 10s
maxconn 10

导致 数据库 backend
mode tcp 无法生效