[GH-ISSUE #1624] Editing a script in Script Manager is slow on Chrome based browsers #1017

Closed
opened 2026-03-02 02:20:38 +03:00 by kerem · 6 comments
Owner

Originally created by @NiceGuyIT on GitHub (Sep 6, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1624

Server Info (please complete the following information):

  • OS: Ubuntu 20.04.4 LTS (Focal Fossa)
  • Browser: Google Chrome Version 116.0.5845.96 (Official Build) (64-bit) (running in openSUSE Linux)
  • RMM Version (as shown in top left of web UI): v0.16.4

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): N/A
  • Agent OS: N/A

Describe the bug
Viewing a script in Script Manager takes several seconds, consumes 100% CPU and the memory footprint balloons vary large.

To Reproduce
Steps to reproduce the behavior:

  1. Open Google Chrome and perhaps other Chrome based browsers
  2. Open Chrome's Task Manager
  3. Go to Script Manager
  4. Edit or view a script
  5. Observe the Memory Footprint and CPU.
  6. Observe how long it takes to view script.

Expected behavior
The script should appear immediately. Perform the same tasks in Firefox and it works.

Screenshots
Guest profile with no plugins viewing a simple script.
image

Additional context
Others have reported the same issue in Discord.

Observations

By "creating" I mean create the script, save it and then edit the script again to experience the hang or slowness.

  1. The size of the script does not seem to matter.
  2. Creating a new script does not have the problem.
  3. Creating an empty script does not have the problem.
  4. Creating a PowerShell script with Get-Item "C:\" causes the slowness.
  5. Creating a Batch script with dir causes the slowness.
  6. Creating a Python script with #!/usr/bin/env python3 causes the slowness.
  7. Creating a shell script with #!/usr/bin/env bash causes the slowness.
Originally created by @NiceGuyIT on GitHub (Sep 6, 2023). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1624 **Server Info (please complete the following information):** - OS: Ubuntu 20.04.4 LTS (Focal Fossa) - Browser: Google Chrome Version 116.0.5845.96 (Official Build) (64-bit) (running in openSUSE Linux) - RMM Version (as shown in top left of web UI): v0.16.4 **Installation Method:** - [x] Standard - [ ] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): N/A - Agent OS: N/A **Describe the bug** Viewing a script in Script Manager takes several seconds, consumes 100% CPU and the memory footprint balloons vary large. **To Reproduce** Steps to reproduce the behavior: 1. Open Google Chrome and perhaps other Chrome based browsers 2. Open Chrome's Task Manager 3. Go to Script Manager 4. Edit or view a script 5. Observe the Memory Footprint and CPU. 6. Observe how long it takes to view script. **Expected behavior** The script should appear immediately. Perform the same tasks in Firefox and it works. **Screenshots** Guest profile with no plugins viewing a simple script. ![image](https://github.com/amidaware/tacticalrmm/assets/7763429/6ed62ea4-3118-47f3-ac3c-0858f86fff87) **Additional context** Others have reported the [same issue in Discord](https://discord.com/channels/736478043522072608/815123191458299934/1148270305396146268). ## Observations By "creating" I mean create the script, save it and then edit the script again to experience the hang or slowness. 1. The size of the script does not seem to matter. 2. Creating a new script does not have the problem. 3. Creating an empty script does not have the problem. 4. Creating a PowerShell script with `Get-Item "C:\"` causes the slowness. 5. Creating a Batch script with `dir` causes the slowness. 6. Creating a Python script with `#!/usr/bin/env python3` causes the slowness. 7. Creating a shell script with `#!/usr/bin/env bash` causes the slowness.
kerem closed this issue 2026-03-02 02:20:38 +03:00
Author
Owner

@NiceGuyIT commented on GitHub (Sep 6, 2023):

This seems to be an issue only for Linux. I could not reproduce this on Windows or Mac. That could be why I didn't report it the first time I experienced the issue.

<!-- gh-comment-id:1708228835 --> @NiceGuyIT commented on GitHub (Sep 6, 2023): This seems to be an issue only for Linux. I could not reproduce this on Windows or Mac. That could be why I didn't report it the [first time I experienced the issue](https://discord.com/channels/736478043522072608/992526588413489232/999734191493238815).
Author
Owner

@silversword411 commented on GitHub (Sep 6, 2023):

Linux...the red-headed stepchild without enough QA testing :(

<!-- gh-comment-id:1708676414 --> @silversword411 commented on GitHub (Sep 6, 2023): Linux...the red-headed stepchild without enough QA testing :(
Author
Owner

@NiceGuyIT commented on GitHub (Sep 6, 2023):

This is related to hardware acceleration as it pertains to the GPU. Check chrome://gpu/ or edge://gpu/ to see if hardware acceleration is enabled.

<!-- gh-comment-id:1708702310 --> @NiceGuyIT commented on GitHub (Sep 6, 2023): This is related to hardware acceleration as it pertains to the GPU. Check `chrome://gpu/` or `edge://gpu/` to see if hardware acceleration is enabled.
Author
Owner

@BMTTeam commented on GitHub (Sep 7, 2023):

Ubuntu LTS 20.04 here. Chrome Version 116.0.5845.179 (Official Build) (64-bit).
After jumping to TRMM v0.16.4, there is no more delay (didn't tweak the GPU or hardware acceleration).

<!-- gh-comment-id:1710567962 --> @BMTTeam commented on GitHub (Sep 7, 2023): Ubuntu LTS 20.04 here. Chrome Version 116.0.5845.179 (Official Build) (64-bit). After jumping to TRMM v0.16.4, there is no more delay (didn't tweak the GPU or hardware acceleration).
Author
Owner

@dinger1986 commented on GitHub (Mar 10, 2024):

has this been fixed?

<!-- gh-comment-id:1987354064 --> @dinger1986 commented on GitHub (Mar 10, 2024): has this been fixed?
Author
Owner

@NiceGuyIT commented on GitHub (Mar 11, 2024):

This is no longer happening.

<!-- gh-comment-id:1989575587 --> @NiceGuyIT commented on GitHub (Mar 11, 2024): This is no longer happening.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#1017
No description provided.