Hi Nick, This problem continues in FreeBSD with guacd randomly signal 6 aborting approximately once a week.When this happens I need to log in and restart the guacd service. We had a crash last night and here are the last few lines of /var/log/messages:
Aug 15 11:53:14 guacamole guacd[17699]: Client did not terminate in a timely manner. Forcibly terminating client and any child processes. Aug 15 15:35:14 guacamole guacd[17752]: Client did not terminate in a timely manner. Forcibly terminating client and any child processes. Aug 15 15:59:19 guacamole guacd[32874]: User is not responding. Aug 16 00:09:22 guacamole guacd[65139]: User is not responding. Aug 16 03:05:28 guacamole guacd[79034]: User is not responding. Aug 16 03:25:22 guacamole kernel: pid 75166 (guacd), jid 0, uid 899: exited on signal 6 (no core dump - other error) Aug 16 03:25:22 guacamole kernel: pid 1758 (guacd), jid 0, uid 899: exited on signal 6 (no core dump - other error) Aug 16 03:25:22 guacamole guacd[67047]: Unable to shutdown internal socket for connection $2bbbb77e-d090-441a-b2d5-c337bf55b13c. Corresponding process may remain running but inactive. Aug 16 08:20:40 guacamole login[1783]: ROOT LOGIN (root) ON ttyv0 You can see it aborted at 3:25 this morning and I restarted the service at 8:20. Also here are some lines from the debug.log if helpful: Aug 16 03:05:28 guacamole guacd[79034]: Requesting termination of client... Aug 16 03:05:28 guacamole guacd[79034]: CLIPRDR (clipboard redirection) channel disconnected. Aug 16 03:05:28 guacamole guacd[79034]: SVC "rdpdr" disconnected. Aug 16 03:05:28 guacamole guacd[79034]: SVC "rdpsnd" disconnected. Aug 16 03:05:28 guacamole guacd[79034]: Client terminated successfully. Aug 16 03:05:28 guacamole guacd[1758]: Unable to request termination of client process: No such process Aug 16 03:05:28 guacamole guacd[1758]: All child processes for connection "$e242b101-dc6a-48c8-9ede-eb256ef2472a" have been terminated. Aug 16 03:25:22 guacamole guacd[75166]: ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server. Aug 16 03:25:22 guacamole guacd[75166]: rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_LOGOFF_BY_USER [0x0001000C] Aug 16 03:25:22 guacamole guacd[75166]: Disconnect reason code: 0xC. Aug 16 03:25:22 guacamole guacd[75166]: CLIPRDR (clipboard redirection) channel disconnected. Aug 16 03:25:22 guacamole guacd[75166]: SVC "rdpdr" disconnected. Aug 16 03:25:22 guacamole guacd[75166]: SVC "rdpsnd" disconnected. Aug 16 03:25:22 guacamole guacd[1758]: Unable to request termination of client process: No such process Aug 16 03:25:22 guacamole guacd[1758]: All child processes for connection "$315622cb-41ce-4726-876d-7e2908161755" have been terminated. Aug 16 03:25:22 guacamole guacd[67047]: Requesting termination of client... Aug 16 03:25:22 guacamole guacd[67047]: CLIPRDR (clipboard redirection) channel disconnected. Aug 16 03:25:22 guacamole guacd[67047]: SVC "rdpdr" disconnected. Aug 16 03:25:22 guacamole guacd[67047]: SVC "rdpsnd" disconnected. Aug 16 03:25:22 guacamole guacd[67047]: Client terminated successfully. Aug 16 08:20:46 guacamole guacd[1740]: Successfully bound AF_INET socket to host 127.0.0.1, port 4822 I can send you more parts of the debug.log if you need. This is running Guacamole server 1.5.4 on FreeBSD 14.1. Let me know if there's anything we can adjust. Thank you! On 2023/07/10 18:10:55 Nick Couchman wrote: > On Mon, Jul 10, 2023 at 2:06 PM Brian Filipek > <bf...@betterworldbooks.com.invalid> wrote: > > > Hi Nick, > > > > Yes last week I enabled debug logging so we'll see what it says next time > > this happens. > > > > Sounds good. > > > > > > We used to have Guacamole running on Debian but the experience was awful. > > Anytime a user attempted to RDP to a Windows server in which they had a > > running but disconnected session Guacamole would not allow them to connect > > to it. I would then have to remote into whichever Windows server and log > > the user off. Then they would be able to connect to it with Guacamole. It > > works great in FreeBSD other than this problem which seems to happen every > > few weeks. > > > > > Interesting - I'm not sure why running on Linux would cause this, unless > it's something to do with the FreeRDP version. Personally I run on both > CentOS7 and CentOS Stream 8 and routinely disconnect from sessions and > reconnect with no issue at all. > > > > Memory is definitely not an issue here. We aren't doing anything fancy > > with it. According to top each session only uses a few MB. > > > > > Yeah, sounds like a pretty low-traffic use-case. > > -Nick >