[FreeNX-kNX] nxagent % cpu

Tim Jordan tim at pcs-alaska.com
Thu Jul 28 17:04:39 UTC 2005


Fabian Franz wrote:

>Tim Jordan:
>  
>
>>freenx  Version: 0.4.2-0a2 on debian
>>
>>While running a dist-upgrade on my server today I noticed that I left a
>>freenx session on the server.  Then I noticed that nxagent was using up
>>44% of cpu.  Is this normal to consume so much resource on an idle session?
>>    
>>
>
>It might be a crashed nxagent (in an endless loop). That does happen sometime.
>
>cu
>
>Fabian
>  
>
It seems to be caused by the use of the nxclient 1.5-103.  I killed all 
my nxagent process and restarted nxserver.  Then I connected to the 
nxserver with the 1.5-103client.  Everything looked good so I suspended 
my session.  Then I tried to resume (thinking the 0.4.2-0a2 might have 
your patch in it), the resume failed and nxagent was back on "top".

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
13265 tim       15   0 10916  10m 3132 R 98.7  2.8   8:57.75 nxagent
12938 root      11   0  1120 1120  856 R  1.3  0.3   0:13.18 top

I then reconnected again with the 1.5-103 client and let my profile load 
completely...then back to top.

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
13265 tim       19   0 10916  10m 3132 R 98.0  2.8  11:52.15 nxagent
12938 root      11   0  1128 1128  856 R  2.0  0.3   0:16.41 top

After closing the session properly the 1.5-103 client held 98.7% of cpu 
in top.

I killed both nxagent processes on the server and reverted to the 
1.4.0-92 client.  Ran the exact same test and the nxagent never consumed 
more than 7% of cpu total.

I'll learn to listen!  I'll wait for the green light before testing with 
the 1.5 client.

To the developement team of Freenx Thank You!  I feel like this 
technology will propel me to offer my small business clients a sensible 
solution to evaluting linux in the work place.

Tim
Freenx 0.4.2-0a2 on Debian.







More information about the FreeNX-kNX mailing list