Why a Too‑Long /etc/hosts Line Stalled My Spring Boot Service (and How to Fix It)
A Spring Boot application on CentOS 6.x hung while fetching Apollo configuration because a single /etc/hosts entry listed dozens of domain names, causing hostname resolution to fail; splitting the entry into multiple lines restored normal startup and highlighted a kernel‑specific hosts parsing bug.