# Error running yb-tserver, unexpected 'stop' message

**URL:** https://forum.yugabyte.com/t/error-running-yb-tserver-unexpected-stop-message/589
**Category:** General
**Created:** [December 19, 2019, 2:21pm UTC](https://forum.yugabyte.com/t/error-running-yb-tserver-unexpected-stop-message/589 "2019-12-19T14:21:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![divingdiana](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@divingdiana](https://forum.yugabyte.com/u/divingdiana)
#### Post date: [December 19, 2019, 2:21pm UTC](https://forum.yugabyte.com/t/error-running-yb-tserver-unexpected-stop-message/589/1 "2019-12-19T14:21:24Z")

</div>

I ran yugabyte using yb-ctl and see that the yb-tserver shows as “Stopped” in the status message. The tserver logs show some errors. How can I fix this?

```auto
F0726 21:04:42.803783 73018 replica_state.cc:465] Check failed: _s.ok() Bad status: IO error (yb/util/env_posix.cc:1494): Unable to write consensus meta file for tablet 22f779e2425b4a70a4033c1c2309b0f8 to path /home/centos/yugabyte-data/node-1/disk-1/yb-data/tserver/consensus-meta/22f779e2425b4a70a4033c1c2309b0f8: Call to mkstemp() failed on name template /home/centos/yugabyte-data/node-1/disk-1/yb-data/tserver/consensus-meta/22f779e2425b4a70a4033c1c2309b0f8.tmp.XXXXXX: Too many open files (error 24)

```

---

<div class="post-metadata">

### Author: ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)
#### Post date: [December 19, 2019, 5:40pm UTC](https://forum.yugabyte.com/t/error-running-yb-tserver-unexpected-stop-message/589/2 "2019-12-19T17:40:54Z")

</div>

Too many open files is an ulimit error.  
See [Deploy | YugabyteDB Docs](https://docs.yugabyte.com/latest/deploy/manual-deployment/system-config/#setting-ulimits)  
Does that fix it ?
