I have NX running on Ubuntu Server 20.04; just for one machine in my home. After running for a short while the CPU spikes to 100% and stays until I either stop the nxservice (systemctl stop nxfilter) or go into the policy and uncheck "enable filter". Running NxFilter v4.5.1.5. Any help would be appreciated.
Announcement
Collapse
No announcement yet.
100% CPU usage "java -Djava.net" (reddit duplicate)
Collapse
This topic is closed.
X
X
-
What kind of system do you use? CPU and RAM? Can you show me your log file? It's /nxfilter/nxfilter.log.
I am not so sure about 'Enable Filter' causing such kind of problem. Not so much difference when it comes to CPU usage.
You seem like running it for sometime as it's version is quite older than the latest one. You didn't have this kind of problem so far?
-
It is running in VirtualBox. 1x 3ghz cpu and 1 gb Ram. I have been running it for a couple months; the CPU is usually around 1%; like I said, it is only for a single computer. After reboot/restart/enable, the system sits around 1% cpu for a while and then spikes back up to 100% under the "java -Djava.net" process. I have attached the most recent log.Attached Files
Comment
-
You were talking about NxFilter on Ubuntu. You run your VMWare on your Windows workstation and you run NxProxy there? NxProxy tries to change your DNS settings every 15 seconds. And it uses Powershell script there. Did you lock your DNS settings somehow? Then unlock it for NxProxy to change it. Or you can change your DNS server settings to point 127.0.0.1 by yourself.
However, running Powershell command every 15 seconds causing 100% CPU load? I am not so sure about that. Look into its log file and find this kind of log,
If you get this log everytime you get 100% CPU load, that's the one.Code:HandyMan.hijackDns, Updating DNS settings on Windows.
Last edited by support200; 11-19-2021, 02:11 AM.
Comment
-
Originally posted by support200 View PostYou were talking about NxFilter on Ubuntu. You run your VMWare on your Windows workstation and you run NxProxy there? NxProxy tries to change your DNS settings every 15 seconds. And it uses Powershell script there. Did you lock your DNS settings somehow? Then unlock it for NxProxy to change it. Or you can change your DNS server settings to point 127,.0.0.1 by yourself.
However, running Powershell command every 15 seconds causing 100% CPU load? I am not so sure about that. Look into its log file and find this kind of log,
If you get this log everytime you get 100% CPU load, that's the one.Code:HandyMan.hijackDns, Updating DNS settings on Windows.
I am running NXPROXY on windows on a physical computer. The only lock I have on this workstation is the GPOS so users don't tamper with the workstation's settings. They cannot access control panel, cmd, network settings, task manager ....
I didn't really understand your solution because my English is weak. Could you explain better what to do to solve this problem?
Comment
-
NxProxy itself is a DNS server. It does DNS filtering by making it a local DNS server. It listens on 127.0.0.1/53. So it needs to change DNS settings and you blocked it. You don't need to use it inside your local network as there's NxFilter already. You only use it for the laptops of your mobile workers.
Comment
-
I'm using NXFILTER in the cloud, and I use NXPROXY, so that Workstations reach NXFILTER in the cloud with their policies. I am not using NXPROXY with NXFILTER Server locally.Originally posted by support200 View PostNxProxy itself is a DNS server. It does DNS filtering by making it a local DNS server. It listens on 127.0.0.1/53. So it needs to change DNS settings and you blocked it. You don't need to use it inside your local network as there's NxFilter already. You only use it for the laptops of your mobile workers.
And do you know exactly which GPO (policy) does not have to be blocked to avoid this type of problem, if the GPOS are causing this high cpu load?
Comment
-
Originally posted by support200 View PostWhy do you have to run NxFilter on cloud? It's supposed to be in your local network and with that approach, you can use its potential 100%. If you have to use NxProxy, allow it to change your DNS settings or change your DNS settings to point 127.0.01 by yourself.
See my group policies. Honestly, I don't know which one is blocking like you said..
I honestly think that these policies below are not the cause of CPU LOAD with powershell, so much so that, when I am in the windows administrator user, the powershell load remains high, and it only decreases when I stop the NXPROXY service running .
Last edited by marcelofares; 11-18-2021, 10:24 AM.
Comment
-
My server IP is public because NXFILTER is in the cloud.Originally posted by support200 View PostNxProxy tries to change your DNS settings and it's blocked and that's why you get high CPU. What's your DNS server IP on the system you run NxProxy then?
Did you look into the log file of NxProxy? It's C:\Program Files (x86)\nxproxy\log\ directory.
The page restriction policies that I created within NXFILTER are being applied normally to workstations.
I think you couldn't understand my English. I said that even though I was logging in as Administrator on Windows on the same workstation where group policies are not applied (GPOS), the windows poweshell process is still high. The process just slows down if I DISABLE THE NXPROXY SERVICE by accessing services.msc. This explanation I gave you shows that no GPO (windows group policy) is not influencing this problem of powershell process with high load because of NXPROXY service.
Do you still want the logs?
Comment
Comment