# Server start is very very long in dev mode

**URL:** <https://discuss.elastic.co/t/server-start-is-very-very-long-in-dev-mode/81705>\
**Category:** Kibana\
**Created:** [April 9, 2017, 8:36am UTC](https://discuss.elastic.co/t/server-start-is-very-very-long-in-dev-mode/81705 "2017-04-09T08:36:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastien\_ROUL](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@Sebastien\_ROUL](https://discuss.elastic.co/u/Sebastien_ROUL)\
**Post date:** [April 9, 2017, 8:36am UTC](https://discuss.elastic.co/t/server-start-is-very-very-long-in-dev-mode/81705/1 "2017-04-09T08:36:16Z")

</div>

Hi,

Anybody know why the server (npm start) takes very long time to start ?

server log [13:49:49.838] [info][status][ui settings] Status changed from red to green - Ready  
optmzr log [14:01:07.493] [info][optimize] Lazy optimization success in **745.49** seconds  
optmzr log [14:01:12.777] [info][optimize] Lazy optimization started  
optmzr log [14:02:03.768] [info][optimize] Lazy optimization success in **50.99** seconds  
optmzr log [14:08:33.800] [info][optimize] Lazy optimization started

Working with the simple guide : [https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md)  
OS : Linux Ubuntu 16

I tried optimize.unsafeCache: false or optimize.unsafeCache: true : It doesn(t change anything.

Bye

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 10, 2017, 12:52pm UTC](https://discuss.elastic.co/t/server-start-is-very-very-long-in-dev-mode/81705/2 "2017-04-10T12:52:37Z")

</div>

Hi,  
There is currently and open issue regarding this problem and it's actively worked on. You can follow it here:

> <https://github.com/elastic/kibana/issues/10908>

---

<div class="post-metadata">

**Author:** ![Sebastien\_ROUL](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@Sebastien\_ROUL](https://discuss.elastic.co/u/Sebastien_ROUL)\
**Post date:** [April 10, 2017, 8:52pm UTC](https://discuss.elastic.co/t/server-start-is-very-very-long-in-dev-mode/81705/3 "2017-04-10T20:52:23Z")

</div>

OK, I found some parameters to put in the kibana.dev.yml, the server starts now in 10 seconds...

```
optimize:
  sourceMaps: '#cheap-source-map'
  unsafeCache: false
  lazyPrebuild: true
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 8, 2017, 9:03pm UTC](https://discuss.elastic.co/t/server-start-is-very-very-long-in-dev-mode/81705/4 "2017-05-08T21:03:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
