Down State Flush Feature
Down State Flush Feature
==========================================================
Citrix NetScaler Down State Flush Feature
https://support.citrix.com/article/CTX124710
Information
This article contains information about the NetScaler Down State Flush feature.
Background
The Down State Flush feature is enabled by default, which indicates that whenever a service is disabled on a NetScaler appliance, all the in-flight connections are flushed and clients must retry these connections again to get to some other server or service in the pool. The request or response which is processed at that time is honored by the appliance.
Disabling the Down State Flush feature changes this behavior; when the service is disabled all the in-flight connections are honored and no new connections are serviced by this service. If there is a persistent connection from the client, that also is not be honored.
The service can be disabled and set a timer (say 10 seconds), which indicates that the service honors all the existing connections including the persistent connections until the timer times out, and no new connections are honored. The Down State Flush starts after the timer times out.
Down State Flush Enabled (default)
The following connections are flushed:
-
Services that have pending connections (TCP handshake not complete)
-
Existing connections (TCP handshake complete)
-
Pending requests (HTTP request received but not responded to)
-
In-flight requests (HTTP request received, some response data is transmitted but request is not complete)
-
Surge Queue
Down State Flush Disabled
All of the preceding are served and only the persistent connections are not served.
The setting can be changed on individual services and this controls the behavior when the services are going Down. The VIP setting takes care of the client side connections when the VIP is going Down. This setting also flushes the client as well as the server side connections when they are linked when the VIP goes Down. If the connections are not linked, only the client side connections are flushed.
========================================================
NetScaler downStateFlush Parameter Explained
https://support.citrix.com/article/CTX140147
Information
downStateFlush
The parameter ‘-downStateFlush’ is set to ON by default for any service. If a monitor probe fails the number of configured retries, the monitor marks the service DOWN. At the time the service is marked DOWN, one of the two outcomes can be expected by the client depending on the setting of the downStateFlush parameter as follows:-
If downStateFlush is set to ON, any established connections are freed by a zombie cleanup process. This process generates a reset with a window size of 9301 sent from the VIP to the client immediately terminating that connection.
-
If downStateFlush is set to OFF, connections will not reset, but instead might become unresponsive or get a response depending on what state the back-end server is exactly in. That is, it might be DOWN from the monitoring criteria perspective, but still alive and capable of sending a response.
========================= End
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南