# TCP connection keep old process UP on soft reload

**URL:** <https://discourse.haproxy.org/t/tcp-connection-keep-old-process-up-on-soft-reload/2905>\
**Category:** Help!\
**Created:** [August 23, 2018, 9:22am UTC](https://discourse.haproxy.org/t/tcp-connection-keep-old-process-up-on-soft-reload/2905 "2018-08-23T09:22:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhada](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/rhada/32/585_2.png) [@rhada](https://discourse.haproxy.org/u/rhada)\
**Post date:** [August 23, 2018, 9:22am UTC](https://discourse.haproxy.org/t/tcp-connection-keep-old-process-up-on-soft-reload/2905/1 "2018-08-23T09:22:28Z")

</div>

Hello,

I just update my haproxy from v1.7.5 to 1.8.13. I have several backend (http and tcp) and now when i reload through systemd, the old process never goes as tcp app have a keepalive mechanism. So old process remains until hard restart.

Is there any way to force the process to leave during a soft reload ?

```
[Prod/MT] root@haproxy01 /root # haproxy -v
HA-Proxy version 1.8.13 2018/07/30
Copyright 2000-2018 Willy Tarreau <willy@haproxy.org>

[Prod/MT] root@haproxy01 /root # ps afux | grep haprox[y]
root 17635 0.0 0.2 83964 10784 ? Ss 09:13 0:00 /usr/sbin/haproxy -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -sf 17638
haproxy 17638 0.9 0.3 90652 14300 ? Ss 09:13 1:09 \_ /usr/sbin/haproxy -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid
haproxy 2758 1.0 0.3 88544 12624 ? Ss 11:00 0:12 \_ /usr/sbin/haproxy -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -sf 17638

[Prod/MT] root@haproxy01 /root # ss -laputen | grep 17638
tcp ESTAB 0 0 xxx.xxx.x.xx:42082 196.29.171.6:6200 users:(("haproxy",pid=17638,fd=68)) timer:(keepalive,112min,0) uid:188 ino:1900378683 sk:ffff88011b1f1f00 <->
tcp ESTAB 0 0 192.168.1.43:5020 192.168.1.135:49702 users:(("haproxy",pid=17638,fd=69)) uid:188 ino:1900378684 sk:ffff88011b1f4d80 <->
tcp ESTAB 0 0 192.168.1.43:6200 192.168.101.135:35296 users:(("haproxy",pid=17638,fd=66)) uid:188 ino:1900378681 sk:ffff88011b1f2e80 <->
tcp ESTAB 0 0 xxx.xxx.x.xx:48920 91.213.191.66:5020 users:(("haproxy",pid=17638,fd=70)) timer:(keepalive,112min,0) uid:188 ino:1900378686 sk:ffff88011b1f1740 <->
```

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [August 23, 2018, 9:50am UTC](https://discourse.haproxy.org/t/tcp-connection-keep-old-process-up-on-soft-reload/2905/2 "2018-08-23T09:50:40Z")

</div>

Configure [hard-stop-after](https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#hard-stop-after).

---

<div class="post-metadata">

**Author:** ![rhada](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/rhada/32/585_2.png) [@rhada](https://discourse.haproxy.org/u/rhada)\
**Post date:** [August 23, 2018, 10:09am UTC](https://discourse.haproxy.org/t/tcp-connection-keep-old-process-up-on-soft-reload/2905/3 "2018-08-23T10:09:30Z")

</div>

How i have missed this option …

it works well now.

Thanks for your help !
