[GH-ISSUE #6388] [Issue]: Chat settings block or become very slow during active generation #3571

Closed
opened 2026-10-21 06:04:24 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Sep 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6388

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Viewing chat settings can become blocked or significantly slower while an agent generation is in progress. The issue appears intermittent and may also occur when an agent is stalled.

Expected behavior

Chat settings should remain accessible and load normally while an agent generation is in progress.

Actual behavior

Most chat settings cannot be viewed, or take much longer to load, during an active generation. The behavior is intermittent and has also been observed during agent stalling.

Steps to reproduce

  1. Open a chat in Marinara Engine on Android/Termux.
  2. Start an agent generation or open a chat with an active generation.
  3. Attempt to open or view the chat settings.
  4. Observe that settings may be blocked or load significantly more slowly.

Environment

  • Marinara Engine version: 2.4.6+aff69b3bd189
  • Install type: termux
  • OS + version: Server: Android / Termux 6.6.118-android15-8-g1831c2a45d9b-ab15739706-4k (arm64); Client: Android 17
  • Browser or app shell: MarinaraEngine/Android app shell using Chrome 152.0.7977.88 WebView on a Pixel 10 Pro

Logs, screenshots, or video

Support diagnostics: commit aff69b3bd1; active connection glm 5.2 through OpenRouter; model z-ai/glm-5.2; server heap 498.9 / 3296 MiB and RSS 369.5 MiB; last detected freeze was approximately 63 seconds. Screenshots: https://cdn.discordapp.com/attachments/1550967268391780402/1550967268769402880/iMarkup_20260919_132749.png, https://cdn.discordapp.com/attachments/1550967268391780402/1550967842474696784/IMG_1248.png, https://cdn.discordapp.com/attachments/1550967268391780402/1550967843011432538/IMG_1249.png

Additional context

The original reporter could not reproduce the issue consistently. A maintainer could not reproduce it and noted they were not using Termux. Another user confirmed experiencing the issue on Android/Termux, including when an agent is stalling, suggesting it may be Android-specific.

Discord thread: In-progress generation blocks or slows loading chat settings
Discord thread link: https://discord.com/channels/1417099416812392641/1550967268391780402
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (15 messages)
[2026-09-19T20:30:12.363Z] containerd | crow: I can't view most of my chat settings when there's a generation in progress. Lots of things seem blocked on an active generation or something else going on in the engine.

In attached screenshot, I can't view most chat settings because there's agent generation going on. Maybe it's not blocking, but it's definitely way, way slower.

Marinara Engine diagnostics
Version: 2.4.6
Build: 2.4.6+aff69b3bd189
Commit: aff69b3bd189
Server OS: Android / Termux 6.6.118-android15-8-g1831c2a45d9b-ab15739706-4k (arm64)
Server memory: heap 498.9 / 3296 MiB; RSS 369.5 MiB
Background wake lock: acquired
Last detected freeze: ~63s suspension, thawed at 2026-09-19T20:16:45.086Z
Previous session: ended without shutting down - last alive 2026-09-19T18:18:18.584Z (up 12h 28m, RSS 539.1 MiB); device rebooted before next launch: no
Sessions ended without shutdown: 3 recorded
Client OS: Android 17
Browser / app shell: Mozilla/5.0 (Linux; Android 17; Pixel 10 Pro Build/CP2A.260805.005; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/152.0.7977.88 Mobile Safari/537.36 MarinaraEngine/Android
Client runtime: {"build":"2.4.6+aff69b3bd189","page":"mu8qlerw-9b2v0loq","persistence":"local","navigation":"navigate","standalone":false,"view":[970,0,970,0],"events":[{"at":1789845045079,"page":"mu8qlerw-9b2v0loq","build":"2.4.6+aff69b3bd189","kind":"message-edited","view":[970,0,970,0]},{"at":1789845095748,"page":"mu8qlerw-9b2v0loq","build":"2.4.6+aff69b3bd189","kind":"message-edited","view":[970,0,970,0]},{"at":1789848527376,"page":"mu8qlerw-9b2v0loq","build":"2.4.6+aff69b3bd189","kind":"message-edited","view":[970,0,970,0]},{"at":1789849393059,"page":"mu8qlerw-9b2v0loq","build":"2.4.6+aff69b3bd189","kind":"message-edited","view":[970,0,970,0]}]}
GPU: PowerVR D-Series DXT-48-1536
Active connection: [or] glm 5.2
Connection provider: openrouter
LLM model: z-ai/glm-5.2
Mari last acted on: none recorded this session

[attached image 1: https://cdn.discordapp.com/attachments/1550967268391780402/1550967268769402880/iMarkup_20260919_132749.png?ex=6ab04254&is=6aaef0d4&hm=065e1425f6f22c5aa6c10a3184aa184ec530ae4d1fd9f5814923c802372d3c9f&]
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967268391780402]

[2026-09-19T20:30:16.037Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967283801661504]

[2026-09-19T20:31:58.549Z] containerd | crow: In-progress generation blocks or slows loading chat settings
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967713768276010]

[2026-09-19T20:32:21.444Z] Marinara: Hm.
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967809796870225]

[2026-09-19T20:32:29.503Z] Marinara: Can’t replicate.

[attached image 1: https://cdn.discordapp.com/attachments/1550967268391780402/1550967842474696784/IMG_1248.png?ex=6ab042dd&is=6aaef15d&hm=204b5869a801d98175594512e2654218b417d6374a95ebeca71b21efdb4323e9&]
[attached image 2: https://cdn.discordapp.com/attachments/1550967268391780402/1550967843011432538/IMG_1249.png?ex=6ab042dd&is=6aaef15d&hm=99ccbd36c96b0d3c60ea9e1c73bc0709fd3232f7139a8b1085527a23956b7b80&]
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967843598639276]

[2026-09-19T20:32:45.546Z] Marinara: @DSBwizzard all good for you?
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967910887985253]

[2026-09-19T20:32:50.051Z] Marinara: You’re on Termux so.
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967929783193783]

[2026-09-19T20:34:44.264Z] containerd | crow: ugh it might have a more complicated repro or be non deterministic because i'm not always hitting it. will try to figure out more
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550968408827363419]

[2026-09-19T20:36:43.227Z] Marinara: Check on other chats, too.
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550968907794350131]

[2026-09-19T20:37:00.752Z] Marinara: Also keep in mind I’m not on T*rmux.
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550968981299404904]

[2026-09-19T20:48:13.899Z] DSBwizzard: I can check this soon!
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550971804682690571]

[2026-09-19T20:48:23.296Z] Marinara: Thank you, king.
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550971844096688180]

[2026-09-19T21:14:28.365Z] Leytra: I'm having this issue too, it goes this way when the agent stalling happens too
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550978408471728240]

[2026-09-19T21:14:34.046Z] Leytra: also android/termux
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550978432299565077]

[2026-09-19T21:25:14.109Z] Marinara: So probably Android issue alone.
[Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550981116918497321]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6388 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Viewing chat settings can become blocked or significantly slower while an agent generation is in progress. The issue appears intermittent and may also occur when an agent is stalled. ## Expected behavior Chat settings should remain accessible and load normally while an agent generation is in progress. ## Actual behavior Most chat settings cannot be viewed, or take much longer to load, during an active generation. The behavior is intermittent and has also been observed during agent stalling. ## Steps to reproduce 1. Open a chat in Marinara Engine on Android/Termux. 2. Start an agent generation or open a chat with an active generation. 3. Attempt to open or view the chat settings. 4. Observe that settings may be blocked or load significantly more slowly. ## Environment - Marinara Engine version: 2.4.6+aff69b3bd189 - Install type: termux - OS + version: Server: Android / Termux 6.6.118-android15-8-g1831c2a45d9b-ab15739706-4k (arm64); Client: Android 17 - Browser or app shell: MarinaraEngine/Android app shell using Chrome 152.0.7977.88 WebView on a Pixel 10 Pro ## Logs, screenshots, or video Support diagnostics: commit aff69b3bd189; active connection glm 5.2 through OpenRouter; model z-ai/glm-5.2; server heap 498.9 / 3296 MiB and RSS 369.5 MiB; last detected freeze was approximately 63 seconds. Screenshots: https://cdn.discordapp.com/attachments/1550967268391780402/1550967268769402880/iMarkup_20260919_132749.png, https://cdn.discordapp.com/attachments/1550967268391780402/1550967842474696784/IMG_1248.png, https://cdn.discordapp.com/attachments/1550967268391780402/1550967843011432538/IMG_1249.png ## Additional context The original reporter could not reproduce the issue consistently. A maintainer could not reproduce it and noted they were not using Termux. Another user confirmed experiencing the issue on Android/Termux, including when an agent is stalling, suggesting it may be Android-specific. Discord thread: In-progress generation blocks or slows loading chat settings Discord thread link: https://discord.com/channels/1417099416812392641/1550967268391780402 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (15 messages)</summary> ```text [2026-09-19T20:30:12.363Z] containerd | crow: I can't view most of my chat settings when there's a generation in progress. Lots of things seem blocked on an active generation or something else going on in the engine. In attached screenshot, I can't view most chat settings because there's agent generation going on. Maybe it's not blocking, but it's definitely way, way slower. Marinara Engine diagnostics Version: 2.4.6 Build: 2.4.6+aff69b3bd189 Commit: aff69b3bd189 Server OS: Android / Termux 6.6.118-android15-8-g1831c2a45d9b-ab15739706-4k (arm64) Server memory: heap 498.9 / 3296 MiB; RSS 369.5 MiB Background wake lock: acquired Last detected freeze: ~63s suspension, thawed at 2026-09-19T20:16:45.086Z Previous session: ended without shutting down - last alive 2026-09-19T18:18:18.584Z (up 12h 28m, RSS 539.1 MiB); device rebooted before next launch: no Sessions ended without shutdown: 3 recorded Client OS: Android 17 Browser / app shell: Mozilla/5.0 (Linux; Android 17; Pixel 10 Pro Build/CP2A.260805.005; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/152.0.7977.88 Mobile Safari/537.36 MarinaraEngine/Android Client runtime: {"build":"2.4.6+aff69b3bd189","page":"mu8qlerw-9b2v0loq","persistence":"local","navigation":"navigate","standalone":false,"view":[970,0,970,0],"events":[{"at":1789845045079,"page":"mu8qlerw-9b2v0loq","build":"2.4.6+aff69b3bd189","kind":"message-edited","view":[970,0,970,0]},{"at":1789845095748,"page":"mu8qlerw-9b2v0loq","build":"2.4.6+aff69b3bd189","kind":"message-edited","view":[970,0,970,0]},{"at":1789848527376,"page":"mu8qlerw-9b2v0loq","build":"2.4.6+aff69b3bd189","kind":"message-edited","view":[970,0,970,0]},{"at":1789849393059,"page":"mu8qlerw-9b2v0loq","build":"2.4.6+aff69b3bd189","kind":"message-edited","view":[970,0,970,0]}]} GPU: PowerVR D-Series DXT-48-1536 Active connection: [or] glm 5.2 Connection provider: openrouter LLM model: z-ai/glm-5.2 Mari last acted on: none recorded this session [attached image 1: https://cdn.discordapp.com/attachments/1550967268391780402/1550967268769402880/iMarkup_20260919_132749.png?ex=6ab04254&is=6aaef0d4&hm=065e1425f6f22c5aa6c10a3184aa184ec530ae4d1fd9f5814923c802372d3c9f&] [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967268391780402] [2026-09-19T20:30:16.037Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967283801661504] [2026-09-19T20:31:58.549Z] containerd | crow: In-progress generation blocks or slows loading chat settings [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967713768276010] [2026-09-19T20:32:21.444Z] Marinara: Hm. [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967809796870225] [2026-09-19T20:32:29.503Z] Marinara: Can’t replicate. [attached image 1: https://cdn.discordapp.com/attachments/1550967268391780402/1550967842474696784/IMG_1248.png?ex=6ab042dd&is=6aaef15d&hm=204b5869a801d98175594512e2654218b417d6374a95ebeca71b21efdb4323e9&] [attached image 2: https://cdn.discordapp.com/attachments/1550967268391780402/1550967843011432538/IMG_1249.png?ex=6ab042dd&is=6aaef15d&hm=99ccbd36c96b0d3c60ea9e1c73bc0709fd3232f7139a8b1085527a23956b7b80&] [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967843598639276] [2026-09-19T20:32:45.546Z] Marinara: @DSBwizzard all good for you? [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967910887985253] [2026-09-19T20:32:50.051Z] Marinara: You’re on Termux so. [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550967929783193783] [2026-09-19T20:34:44.264Z] containerd | crow: ugh it might have a more complicated repro or be non deterministic because i'm not always hitting it. will try to figure out more [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550968408827363419] [2026-09-19T20:36:43.227Z] Marinara: Check on other chats, too. [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550968907794350131] [2026-09-19T20:37:00.752Z] Marinara: Also keep in mind I’m not on T*rmux. [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550968981299404904] [2026-09-19T20:48:13.899Z] DSBwizzard: I can check this soon! [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550971804682690571] [2026-09-19T20:48:23.296Z] Marinara: Thank you, king. [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550971844096688180] [2026-09-19T21:14:28.365Z] Leytra: I'm having this issue too, it goes this way when the agent stalling happens too [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550978408471728240] [2026-09-19T21:14:34.046Z] Leytra: also android/termux [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550978432299565077] [2026-09-19T21:25:14.109Z] Marinara: So probably Android issue alone. [Discord message: https://discord.com/channels/1417099416812392641/1550967268391780402/1550981116918497321] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:04:24 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Sep 19, 2026):

Investigated in the #6383 sweep. I held a real HTTP provider stream open during both a main-model generation and a custom agent's pre-generation call. The agent fixture verifies that its prompt reached the provider. On desktop Chromium, mobile Chromium and mobile WebKit, the chat settings opened; the connection, translation and chat-name sections expanded; and renaming the chat saved while the provider was still waiting.

This does not reproduce the reported intermittent Android/Termux slowdown, so I am leaving this issue open. No speculative settings change is included. The original Discord screenshot URLs currently return 403. The next useful details are which settings section stalls, whether more than one chat is generating, and a fresh recording/network timing or server log from the affected device. Physical Android/Termux suspension and resource pressure were not tested here.

Re-runnable synthetic fixture, screenshots and scope notes.

<!-- gh-comment-id:5745575199 --> @SpicyMarinara commented on GitHub (Sep 19, 2026): Investigated in the #6383 sweep. I held a real HTTP provider stream open during both a main-model generation and a custom agent's pre-generation call. The agent fixture verifies that its prompt reached the provider. On desktop Chromium, mobile Chromium and mobile WebKit, the chat settings opened; the connection, translation and chat-name sections expanded; and renaming the chat saved while the provider was still waiting. This does not reproduce the reported intermittent Android/Termux slowdown, so I am leaving this issue open. No speculative settings change is included. The original Discord screenshot URLs currently return 403. The next useful details are which settings section stalls, whether more than one chat is generating, and a fresh recording/network timing or server log from the affected device. Physical Android/Termux suspension and resource pressure were not tested here. [Re-runnable synthetic fixture, screenshots and scope notes](https://gist.github.com/SpicyMarinara/c7564cc5ed04dcf3a5d4aa6311a9352e).
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
Pasta-Devs/Marinara-Engine#3571
No description provided.