fastrpc.cgi - High RAM consumption

Hi,

I installed Virtualmin on a new Server with Ubuntu 18.04 (serv1). My second Server is hosting a cloudmin instance (serv2). I added the new (serv1) Server to this cloudmin instance (serv2).

Every few minutes the process /usr/share/webmin/fastrpc.cgi consuming nearly all of my Ram (see Screenshot) and sometimes its going to swap. After a minute or two the process ends. Any Idea how I can fix that problem? Ram is not the problem (64 G). I cant find any message in the logs (Syslog, miniserv.log, daemon.log)

If you need more information, please let me know.

Best regards Jan

Status: 
Closed (won't fix)
Files: 

Comments

That does sound like a Virtualmin or Cloudmin bug that's causing infinite memory usage. Are you running the latest (1.900) version of webmin?

Hi, yes it is the lastet Version: On the Server with the memory problem: Webmin version 1.900 Usermin version 1.751 Virtualmin version 6.06-2 Pro

On the Server with Cloudmin: Webmin version 1.902 Usermin version 1.751 Virtualmin version 6.06 Pro Cloudmin version 9.4 Pro

Is there any way to debug it?

Hi, Can anyone help with that problem? With this problem, the Server is nearly unuseable. I'm not using the server productively yet, but would like to start soon. If required, I can also give the support access to the server. Greetings

I think we would need to login to your system to figure out what's happening inside of Virtualmin / Cloudmin when this happens.

Hi,

Ok, I enabled remote Support on both systems.

Yesterday I tried it on my own. First I installed cloudmin on the second server, so that both Servers have the same Webmin Version (1.902).

It looks like the problem only occurs when using "Refresh Status Fully". The problem does not occur with Refresh Status.

If you need more information, please let me know.

Best regards Jan

Thanks, but I wasn't able to SSH into that system - is your SSH server setup to accept logins using public keys?

Yeah I'm not able to connect either... when trying, it just closes the connection:

$ ssh root@78.46.198.137 -p 2222
Connection closed by 78.46.198.137

In addition to what Jamie asked, do any errors or messages appear in /var/log/auth.log or /var/log/syslog when attempting to access the server via SSH?

Hi, Both Server are listen on Port 22022 and are only accepting public Keys (I can connect via ssh) to both servers.

ssh root@78.46.198.137 -p 22022
Ubuntu 18.04.2 LTS

No errors in the Logs (beside a missing host Key for dsa with I removed now).

Hi,

I wanted to ask briefly if the login with SSH has worked in the meantime or if there are other problems?

Do you have the line DSAAuthentication no in your /etc/ssh/sshd_config file? If so, remove it and restart SSHd.

Also, does your SSHd config have the line PubkeyAcceptedKeyTypes ?

Hi,

this is my used sshd_config on both systems. Both options you gave me are not in the sshd_config, see your self:

Port 22022
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
UsePrivilegeSeparation yes
SyslogFacility AUTHPRIV
LoginGraceTime 30
PermitRootLogin without-password
StrictModes yes
MaxAuthTries 3
PubkeyAuthentication yes
AuthorizedKeysFile      %h/.ssh/authorized_keys
IgnoreRhosts yes
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
PasswordAuthentication no
GSSAPIAuthentication no
X11Forwarding no
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
Banner /etc/issue.net
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
DenyGroups deniedssh

As said before, I can connect via SSH with publickey to the System without any problem. I hope this information will help you.

Status: Active » Closed (won't fix)