rundeck icon indicating copy to clipboard operation
rundeck copied to clipboard

No more "Whale of logs" ?

Open xavier8854 opened this issue 2 years ago • 6 comments

Describe the bug When trying to see huge logs (> 1GB), I don't have the alert "Wahle of logs", instead Rundeck crashes

My Rundeck detail

  • Rundeck version: 4.16
  • install type: RPM
  • OS Name/version: RHEL 8
  • DB Type/version: mysql

To Reproduce Steps to reproduce the behavior:

  1. Go to Activity
  2. Click on a node to display logs
  3. See Rundeck crashing

Expected behavior The alert "Wale of logs" which prevented loading huge logs in memory

Desktop (please complete the following information):

  • OS: Any
  • Browser Any
  • Version Any

Additional context The variable rundeck.feature.legacyExecOutputViewer.enabled (if not deprecated) is anyway set to false

Xavier

xavier8854 avatar Sep 21 '23 07:09 xavier8854

This happens for me for logs much smaller than 1GB.

padraiglennon avatar Sep 21 '23 08:09 padraiglennon

@padraiglennon are you also on 4.16?

@xavier8854 - The feature should still be in place. Do you have a more specific error message or stack trace you can post?

fdevans avatar Sep 25 '23 23:09 fdevans

No message at all, log keeps charging until Rundeck crashes. I'll try to crash a qualification env to provide the stack trace

xavier8854 avatar Sep 26 '23 08:09 xavier8854

The whale of logs message happens also with small logs (3-4MB), with a large number of lines. Still not fixed in 4.17.0.

mshedsilegx avatar Sep 27 '23 23:09 mshedsilegx

Hi @xavier8854 I have tested using a huge log on 5.0

Screenshot_2024-01-16_11-28-37

Could you test in a non-prod env?

MegaDrive68k avatar Jan 16 '24 14:01 MegaDrive68k

Also confirming issue in 4.16.0 with logs around 125MB in size. @fdevans @MegaDrive68k is there a future 4.x release in which this might be fixed? I can't migrate to any higher version until #8574 is fixed.

thedoc31 avatar Jan 29 '24 19:01 thedoc31