Users

All Posts (2)

avatar

paalgarb

When tailing log messages or extracting a file, or viewing a file and large amounts of text scrolls across the screen, the SSH terminal session hangs

avatar
avatar
avatar
avatar
avatar

Hi,

It seems that the problem is really in the escape characters.

To reproduce the issue with a normalized text I did the following:

1) collected normalized syslog files with

zcat syslog.*.gz >> BIGLOG.txt

several times (like 20 or so)

and got a .txt file that is over 700 MB

2) tried to look inside the file with

cat BIGLOG.txt

and the terminal worked fine.

Please could you tell whether it is possible to disable starting ZMODEM transfer or ignore its escape sequence in a normal SSH session by any settings in RDM?

Thanks for the logs and information !

We have reviewed them and we think we may have a clue as to what the problem is. It looks like the terminal is attempting to start a ZMODEM transfer and that is failing. Apparently, ZMODEM transfers are started when the output in the terminal contains one of ZMODEM's escape sequence ( something like **B00 ). When the output reaches that, it thinks the next part will be a file transfer, but it's not so it causes an error. Please try doing the steps that you described as causing the hang with a log file containing only normal letters and let us know if that works. If it does, consider sanitizing your logs so that they won't contain escape sequences.

We will look into a way to improve this in the future, but for now hopefully this will fix your issue.

Best regards,

When tailing log messages or extracting a file, or viewing a file and large amounts of text scrolls across the screen, the SSH terminal session hangs

avatar
avatar
avatar
avatar
avatar

Hi, I faced a similar situation and can say a little bit more:

After running tail -f /var/log/* I get first several lines of logs and then there are 2 variants of the issue:

1) Whole RDM just hangs and I cannot do anything within the interface. The only way out is to force quit the application and start it again.

I use default settings for SSH connections except font and colours. However, the issue appears also on full default settings.

2) Only the active session hangs and I need to close the tab with the connection and start a new session.

As I noticed, this happens when logging is enabled. If I disable the logging the first sceenario happens.

RDM version 2024.1.8.6 on MacOS Sonoma 14.4.1

1 - 2 of 2 items