Tagged articles
14 articles
Page 1 of 1
Efficient Ops
Efficient Ops
Oct 23, 2023 · Operations

Why Redis Failed: Jedis Misconfigurations That Spark Service Avalanches

This article examines a Redis 3.x cluster failure caused by a master‑slave switch, detailing how improper Jedis timeout and retry settings triggered a service avalanche, and provides step‑by‑step analysis of the incident, code paths, and recommended configuration adjustments to prevent recurrence.

JedisService Avalancheconnection timeout
0 likes · 12 min read
Why Redis Failed: Jedis Misconfigurations That Spark Service Avalanches
Code Ape Tech Column
Code Ape Tech Column
Aug 21, 2023 · Backend Development

Understanding Default Tomcat Settings in Spring Boot 2.7.10 and Tuning Connection Parameters

This article explains the default Tomcat configuration bundled with Spring Boot 2.7.10, details key parameters such as accept‑count, max‑connections, thread pool sizes and timeouts, shows how Tomcat’s internal threads work, provides sample YAML configurations and testing results, and offers practical tuning guidance for Java backend services.

connection timeoutspring-bootthread-pool
0 likes · 13 min read
Understanding Default Tomcat Settings in Spring Boot 2.7.10 and Tuning Connection Parameters
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 5, 2022 · Databases

Investigation of DBLE "no handler" Log Entries and MySQL Connection‑Timeout Error Handling

This article investigates why DBLE repeatedly logs "no handler" messages by analyzing DBLE and MySQL logs, using Arthas to trace the call chain, reproducing the scenario with timeout settings, capturing network traffic, and explaining the MySQL 8.0.24 error‑packet behavior that leads to the observed logs.

ArthasBackend DevelopmentDBLE
0 likes · 12 min read
Investigation of DBLE "no handler" Log Entries and MySQL Connection‑Timeout Error Handling
Efficient Ops
Efficient Ops
Mar 5, 2019 · Operations

Why Your Redis and MySQL Connections Time Out on Alibaba Cloud—and How to Fix Them

This article explains how idle TCP connections are silently dropped by Alibaba Cloud security groups, causing Redis client timeouts and MySQL JDBC CommunicationsExceptions, and provides step‑by‑step diagnostics and configuration changes—including TCP keepalive and wait_timeout tweaks—to prevent the failures.

Alibaba CloudHikariCPconnection timeout
0 likes · 20 min read
Why Your Redis and MySQL Connections Time Out on Alibaba Cloud—and How to Fix Them
Ctrip Technology
Ctrip Technology
Oct 17, 2018 · Databases

Root Cause Analysis and Resolution of Intermittent Redis Connection Failures

This article presents a detailed investigation of occasional Redis connection errors in a large‑scale production environment, analyzing network packets, TCP backlog behavior, Redis internal client‑cron logic, jemalloc memory reclamation, and ultimately resolving the issue by adjusting query‑buffer handling and upgrading Redis to a newer version.

connection timeoutjemallocnetwork analysis
0 likes · 19 min read
Root Cause Analysis and Resolution of Intermittent Redis Connection Failures
37 Interactive Technology Team
37 Interactive Technology Team
Aug 16, 2018 · Backend Development

Investigating Intermittent Memcache set/add Failures in PHP Memcache Extension 2.2.7

The intermittent set/add failures observed with PHP’s Memcache extension 2.2.7 are caused by its built‑in 15‑second retry interval (MMC_DEFAULT_RETRY = 15) that marks the connection permanently failed after a poll timeout, and can be resolved by specifying the hidden fourth ‘timeoutms’ parameter, adjusting php.ini, or migrating to the newer Memcached extension.

BackendPHPconnection timeout
0 likes · 6 min read
Investigating Intermittent Memcache set/add Failures in PHP Memcache Extension 2.2.7
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 22, 2018 · Backend Development

Why Short TCP Connections Fail: Decoding Errors 110 & 99 and Fixes

When clients frequently use short TCP connections they often encounter error 110 (connection timeout) and error 99 (cannot assign requested address), which stem from TIME‑WAIT port exhaustion and server listen‑queue overflow, and this article explains the causes and practical solutions.

EADDRNOTAVAILLinux kernelTCP
0 likes · 9 min read
Why Short TCP Connections Fail: Decoding Errors 110 & 99 and Fixes
21CTO
21CTO
Aug 30, 2017 · Databases

9 Classic MySQL Errors and How to Fix Them

This article presents nine classic MySQL error cases—from connection limits and replication conflicts to installation permission issues, forgotten passwords, auto‑increment resets, character‑set garbling, binlog misconfiguration, timeout problems, and file‑open limits—each accompanied by clear diagnosis steps and practical solutions.

Character SetDatabase ErrorsPermissions
0 likes · 16 min read
9 Classic MySQL Errors and How to Fix Them
WeChat Client Technology Team
WeChat Client Technology Team
Jan 4, 2017 · Backend Development

How WeChat Optimizes Mobile TCP Connections: Timeout, Strategies, and IP Sorting

This article examines WeChat's Mars STN module, detailing TCP connection timeout handling, the trade‑offs between serial, concurrent and composite connection strategies, and the evolution of IP‑Port sorting algorithms—from random combinations to history‑aware and forgetting mechanisms—to achieve high performance, low load, and high availability on mobile networks.

IP sortingMarsMobile Networking
0 likes · 18 min read
How WeChat Optimizes Mobile TCP Connections: Timeout, Strategies, and IP Sorting
Tencent Music Tech Team
Tencent Music Tech Team
May 20, 2016 · Fundamentals

In‑Depth Analysis of TCP Connection Timeout, TIME_WAIT, Nagle Algorithm and Kernel Parameters

This article examines three common TCP issues—missing client‑side socket timeouts leading to monitor‑killed processes, excessive TIME_WAIT sockets after service failures and their kernel tunables, and 40 ms keep‑alive latency caused by Nagle and delayed ACK—explaining kernel behavior and offering practical configuration fixes.

Linux kernelNagle algorithmTCP
0 likes · 19 min read
In‑Depth Analysis of TCP Connection Timeout, TIME_WAIT, Nagle Algorithm and Kernel Parameters