# Slow login times

**URL:** <https://discourse.openondemand.org/t/slow-login-times/3961>\
**Category:** Get Help\
**Tags:** question\
**Created:** [January 14, 2025, 5:07pm UTC](https://discourse.openondemand.org/t/slow-login-times/3961 "2025-01-14T17:07:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GKlouse](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gklouse/32/1046_2.png) [@GKlouse](https://discourse.openondemand.org/u/GKlouse)\
**Post date:** [January 14, 2025, 5:07pm UTC](https://discourse.openondemand.org/t/slow-login-times/3961/1 "2025-01-14T17:07:32Z")

</div>

We have noticed that our web site load time has gotten slower over the years. We ran a test where we removed all of the custom apps we’ve created from /pun/sys/ and the web page loads in 2seconds. Incrementally enabling the apps again showed a steady increase in load time around about 1-2seconds per app.

Is there anything we can do to speed up the initialization time of the PUN when logging into our domain?

We are currently on 3.1.7 release of OOD.

Thank you!  
Greg - Corvid HPC

---

<div class="post-metadata">

**Author:** ![mjbludwig](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mjbludwig/32/684_2.png) [@mjbludwig](https://discourse.openondemand.org/u/mjbludwig)\
**Post date:** [January 15, 2025, 6:45pm UTC](https://discourse.openondemand.org/t/slow-login-times/3961/2 "2025-01-15T18:45:25Z")

</div>

Do you have any custom initializers? Are you doing anything in the user\_map\_cmd.sh shim?

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [January 15, 2025, 7:20pm UTC](https://discourse.openondemand.org/t/slow-login-times/3961/3 "2025-01-15T19:20:09Z")

</div>

Yea unfortunately there’s not much you can do here if you have a lot of ERB in your `form.yml.erb`. Things like `auto_accounts ` or `auto_queues` are supposed to help reduce the amount of ERB folks need, but it’s ongoing to add them.

---

<div class="post-metadata">

**Author:** ![GKlouse](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gklouse/32/1046_2.png) [@GKlouse](https://discourse.openondemand.org/u/GKlouse)\
**Post date:** [January 16, 2025, 1:40pm UTC](https://discourse.openondemand.org/t/slow-login-times/3961/4 "2025-01-16T13:40:11Z")

</div>

negative, this is just a trend we noticed when adding OOD apps which we have written.

---

<div class="post-metadata">

**Author:** ![GKlouse](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gklouse/32/1046_2.png) [@GKlouse](https://discourse.openondemand.org/u/GKlouse)\
**Post date:** [January 16, 2025, 1:44pm UTC](https://discourse.openondemand.org/t/slow-login-times/3961/5 "2025-01-16T13:44:12Z")

</div>

Thanks Jeff,  
So the erb that’s in the forms is the culprit? We assumed this was only processed when the app was called and the form page loaded. I have used a good amount of erb in my app forms. I will try to parse it down and see if this helps.

Are there any other items like this we should be aware of that could effect load times of the dashboard when logging in at first?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [July 15, 2025, 1:44pm UTC](https://discourse.openondemand.org/t/slow-login-times/3961/6 "2025-07-15T13:44:35Z")

</div>

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