# Gateway long time to get started

**URL:** <https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 16, 2024, 1:19pm UTC](https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831 "2024-02-16T13:19:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [February 16, 2024, 1:19pm UTC](https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831/1 "2024-02-16T13:19:42Z")

</div>

Hi all,  
I'm experiencing a very long time for Ignition to get started, **about 6 minutes**. As far as I can understand, what is slowing down the system are the _DisplayPath_ and _Priority_ fields of some alarms, where I have to use the `lookup` instruction, e.g.

`lookup({[.]../Config/AlmPriorities},{name},0,'almName','prio')`  
in the _Priority field_ and

`concat(lookup({[~]Setup/SourcesInPos},31,'','SourceID','Pos'),lookup({[~]Setup/SourcesInPos},32,'','SourceID','Pos'),translate('MPS3 - Blocked'))`  
in the _DisplayPath_ field.

(_AlmPriorities_ and _SourcesInPos_ are Gateway Memory tags of type `dataset`)

I'm on Ignition 8.1.36, but I'm quite sure that that same logic did not cause any harm some versions ago .

Any suggestion?  
Thanks in advance, regards

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 16, 2024, 3:14pm UTC](https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831/2 "2024-02-16T15:14:17Z")

</div>

> [@pgmo](#):
>
> As far as I can understand, what is slowing down the system

What lead you to that conclusion?  
Are you already working with our support department?  
What exactly takes six minutes - is that the time the gateway displays in it's "the gateway started successfully" log message?

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [February 16, 2024, 3:44pm UTC](https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831/3 "2024-02-16T15:44:54Z")

</div>

Hi @paul-griffith and thanks for your reply.

> [@paul-griffith](#):
>
> What lead you to that conclusion?

If I set static values for those properties, the gateway starts correctly

> [@paul-griffith](#):
>
> What exactly takes six minutes - is that the time the gateway displays in it's "the gateway started successfully" log message

Yes, that's it. More over if you try to start a Designer session, you cannot until the end of that 6 minutes wait.

A collegue of mine remembers that gateway starting up was running smoothly until version **8.1.33**

Thanks, regards

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 16, 2024, 3:47pm UTC](https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831/4 "2024-02-16T15:47:04Z")

</div>

Can you use `jstack` to take some thread dumps during the gateway startup?

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [February 16, 2024, 4:06pm UTC](https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831/5 "2024-02-16T16:06:56Z")

</div>

> [@Kevin.Herron](#):
>
> Can you use `jstack`

Thanks for your suggestion! How can I use `jstack`? - my development environment is based on docker.

Thanks, regards

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 16, 2024, 4:12pm UTC](https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831/6 "2024-02-16T16:12:50Z")

</div>

Hmm, not sure then. I don't think we include `jstack` with the embedded Java runtime either.

You'll have to restore the backup into a Gateway running in a normal environment, with a separate JDK installed so you have access to `jstack`.

Otherwise you can run it through support and provide them with a backup or something.

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [February 16, 2024, 4:19pm UTC](https://forum.inductiveautomation.com/t/gateway-long-time-to-get-started/85831/7 "2024-02-16T16:19:33Z")

</div>

Thanks @Kevin.Herron I'll ask my customer if he lets me hand a project backup over to Inductive's support.
