# Aerospike persitent connection issue when node is down

**URL:** <https://discuss.aerospike.com/t/aerospike-persitent-connection-issue-when-node-is-down/3553>\
**Category:** PHP Client Library\
**Tags:** php\
**Created:** [October 25, 2016, 10:06am UTC](https://discuss.aerospike.com/t/aerospike-persitent-connection-issue-when-node-is-down/3553 "2016-10-25T10:06:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dutchak](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@dutchak](https://discuss.aerospike.com/u/dutchak)\
**Post date:** [October 25, 2016, 10:06am UTC](https://discuss.aerospike.com/t/aerospike-persitent-connection-issue-when-node-is-down/3553/1 "2016-10-25T10:06:37Z")

</div>

Hello. We are using aerospike with php client (php-fpm) with persistent connections. When node is down all clients wait for aerospike operations is complete until reach timeout. It’s continue about 5-10minutes. How we can avoid this?

---

<div class="post-metadata">

**Author:** ![rbotzer](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/rbotzer/32/2114_2.png) [@rbotzer](https://discuss.aerospike.com/u/rbotzer)\
**Post date:** [October 26, 2016, 10:06pm UTC](https://discuss.aerospike.com/t/aerospike-persitent-connection-issue-when-node-is-down/3553/2 "2016-10-26T22:06:58Z")

</div>

The server should become aware of the node going down within [`interval`](http://www.aerospike.com/docs/reference/configuration#interval) \* [`timeout`](http://www.aerospike.com/docs/reference/configuration#timeout) milliseconds. The client’s cluster-tending thread should catch up to the state change within the 1s interval time it has on the PHP client.

Do you enable [shared-memory cluster tending](https://github.com/aerospike/aerospike-client-php/blob/master/doc/aerospike_construct.md) in the PHP client?

---

<div class="post-metadata">

**Author:** ![dutchak](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@dutchak](https://discuss.aerospike.com/u/dutchak)\
**Post date:** [October 27, 2016, 5:49am UTC](https://discuss.aerospike.com/t/aerospike-persitent-connection-issue-when-node-is-down/3553/3 "2016-10-27T05:49:04Z")

</div>

Yes. We was enabled it in php-fpm config. aerospike.shm.use=1
