Increased Xnewt CPU Usage Observed after Upgrading to Sun Ray Server 5.3.1 or Oracle Virtualization Desktop Infrastructure 3.4.1 (Doc ID 1563424.1)

Last updated on FEBRUARY 02, 2016

Applies to:

Oracle Virtual Desktop Infrastructure - Version 3.4.1 to 3.4.1 [Release 3.0]
Sun Ray Software - Version SRS 5.3.1 to SRS 5.3.1 [Release 5.0]
Information in this document applies to any platform.

Symptoms

System Administrators may find that there is increased resource utilization of the Xnewt process on one or more SRS servers after upgrading to Sun Ray Server (SRS) 5.3.1 or Oracle Virtual Desktop Infrastructure (VDI) 3.41.

In this scenario, the Xnewt process starts using significantly more CPU percentages than observed previously--in worst case scenarios, percentages may approach 100%, and some Xnewt processes may actually start dumping core.

Most frequently, this behavior is found to correlate with user sessions that are opening a docx document with libreoffice writer, a spreadsheet with libreoffice calc, or the VirtualBox box configuration window.

An example of prstat output (on Solaris 10):

  PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
 21867 root     2271M 2221M cpu0    40    0   0:59:59 5.1% VBoxHeadless/26
 18937 utku41     58M   47M cpu14   50    0  94:28:59 4.0% Xnewt/1
 23896 utku52     58M   47M cpu16   50    0  91:07:27 4.0% Xnewt/1
 27690 utku97     54M   43M cpu2    50    0   2:29:59 4.0% Xnewt/1
 28907 utku58     58M   47M cpu12   59    0  27:37:44 4.0% Xnewt/1
 25392 utku69     58M   47M cpu5    59    0  25:07:23 4.0% Xnewt/1
 29742 utku7      58M   46M cpu14   50    0   2:33:25 4.0% Xnewt/1
 16942 utku64     58M   46M cpu19   50    0  27:11:30 4.0% Xnewt/1
   248 utku76     57M   46M cpu17   50    0  25:15:37 4.0% Xnewt/1
  9037 utku36     57M   46M cpu21   50    0  93:06:21 4.0% Xnewt/1
 27982 utku70     57M   46M cpu19   50    0  19:45:32 4.0% Xnewt/1
 28212 utku57     58M   47M cpu23   50    0  26:00:47 4.0% Xnewt/1
 15234 utku39     58M   47M cpu20   50    0  97:03:01 4.0% Xnewt/1
  2545 utku51     55M   44M cpu9    50    0  96:06:03 4.0% Xnewt/1
 12932 utku75     56M   45M cpu8    50    0  25:44:19 4.0% Xnewt/1
Total: 737 processes, 2845 lwps, load averages: 23.93, 23.34, 23.29
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
 21867 root     2271M 2221M cpu6    40    0   1:00:05 5.1% VBoxHeadless/26
 18937 utku41     58M   47M cpu16   50    0  94:29:04 4.0% Xnewt/1
 23896 utku52     58M   47M cpu15   50    0  91:07:32 4.0% Xnewt/1
 28907 utku58     58M   47M cpu3    50    0  27:37:49 4.0% Xnewt/1
 29742 utku7      58M   46M cpu14   50    0   2:33:30 4.0% Xnewt/1
 27690 utku97     54M   43M cpu12   59    0   2:30:04 4.0% Xnewt/1
 25392 utku69     58M   47M cpu4    50    0  25:07:28 4.0% Xnewt/1
   248 utku76     57M   46M cpu11   50    0  25:15:42 4.0% Xnewt/1
 16942 utku64     58M   46M cpu9    50    0  27:11:35 4.0% Xnewt/1
 27982 utku70     57M   46M cpu18   50    0  19:45:37 4.0% Xnewt/1
 28212 utku57     58M   47M cpu7    50    0  26:00:52 4.0% Xnewt/1
  9037 utku36     57M   46M cpu8    50    0  93:06:26 4.0% Xnewt/1
  2545 utku51     55M   44M cpu9    50    0  96:06:07 4.0% Xnewt/1
 12932 utku75     56M   45M cpu20   50    0  25:44:23 4.0% Xnewt/1
 15234 utku39     58M   47M cpu22   50    0  97:03:05 4.0% Xnewt/1
Total: 741 processes, 2852 lwps, load averages: 23.96, 23.36, 23.30
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
 21867 root     2271M 2221M sleep   59    0   1:00:09 4.8% VBoxHeadless/26
 23896 utku52     58M   47M cpu12   59    0  91:07:37 4.0% Xnewt/1
 28907 utku58     58M   47M cpu3    50    0  27:37:54 4.0% Xnewt/1
 18937 utku41     58M   47M cpu14   50    0  94:29:09 4.0% Xnewt/1
 29742 utku7      58M   46M cpu16   50    0   2:33:34 4.0% Xnewt/1
 27690 utku97     54M   43M cpu5    50    0   2:30:09 4.0% Xnewt/1
 25392 utku69     58M   47M cpu15   50    0  25:07:33 4.0% Xnewt/1
 27982 utku70     57M   46M cpu9    50    0  19:45:42 4.0% Xnewt/1
   248 utku76     57M   46M cpu23   50    0  25:15:47 4.0% Xnewt/1
  9037 utku36     57M   46M cpu7    50    0  93:06:31 4.0% Xnewt/1
 12932 utku75     56M   45M cpu6    50    0  25:44:28 4.0% Xnewt/1
 16942 utku64     58M   46M cpu10   50    0  27:11:40 4.0% Xnewt/1
 28212 utku57     58M   47M cpu17   50    0  26:00:57 4.0% Xnewt/1
  2545 utku51     55M   44M cpu18   50    0  96:06:12 4.0% Xnewt/1
 15234 utku39     58M   47M cpu21   50    0  97:03:10 4.0% Xnewt/1
Total: 737 processes, 2846 lwps, load averages: 23.93, 23.36, 23.30

 example ps output

root@odin # ps -eaf | grep Xnewt
  utku35  1282  1822   0 08:18:56 ?           0:01 /opt/SUNWut/lib/Xnewt :15 -nobanner -auth /var/dt/A:15-AzaWJd -br +bs -terminat
  utku31 23027  1822   0 08:08:12 ?           0:14 /opt/SUNWut/lib/Xnewt :8 -nobanner -auth /var/dt/A:8-wzaWJd -br +bs -terminate
  utku27 29561  1822   0 06:50:45 ?           1:02 /opt/SUNWut/lib/Xnewt :2 -nobanner -auth /var/dt/A:2-szaWJd -br +bs -terminate
  utku28 17113  1822   0 07:54:27 ?           0:57 /opt/SUNWut/lib/Xnewt :4 -nobanner -auth /var/dt/A:4-tzaWJd -br +bs -terminate
  utku29 21380  1822   1 08:05:58 ?           1:02 /opt/SUNWut/lib/Xnewt :5 -nobanner -auth /var/dt/A:5-uzaWJd -br +bs -terminate
  utku37  6440  1822   0 08:24:33 ?           0:00 /opt/SUNWut/lib/Xnewt :17 -nobanner -auth /var/dt/A:17-CzaWJd -br +bs -terminat
   utku4 23181  1822   4   Apr 08 ?        2327:37 /opt/SUNWut/lib/Xnewt :31 -nobanner -auth /var/dt/A:31-8yaWJd -br +bs -terminat
  utku14  8938  1822   4   Apr 09 ?        1368:17 /opt/SUNWut/lib/Xnewt :9 -nobanner -auth /var/dt/A:9-gzaWJd -br +bs -terminate
   utku3  6317  1822   4   Apr 08 ?        2341:58 /opt/SUNWut/lib/Xnewt :30 -nobanner -auth /var/dt/A:30-7yaWJd -br +bs -terminat
    root  6857  1575   0 08:24:44 pts/2       0:00 grep Xnewt
  utku54 23593  1822   4   Apr 05 ?        6765:48 /opt/SUNWut/lib/Xnewt :7 -nobanner -auth /var/dt/A:7-kyaWJd -br +bs -terminate
  utku33 28033  1822   0 08:15:16 ?           0:20 /opt/SUNWut/lib/Xnewt :11 -nobanner -auth /var/dt/A:11-yzaWJd -br +bs -terminat
  utku30 21929  1822   0 08:06:16 ?           0:26 /opt/SUNWut/lib/Xnewt :6 -nobanner -auth /var/dt/A:6-vzaWJd -br +bs -terminate
  utku32 25485  1822   0 08:11:53 ?           0:11 /opt/SUNWut/lib/Xnewt :10 -nobanner -auth /var/dt/A:10-xzaWJd -br +bs -terminat
  utku93 27850  1822   4   Apr 08 ?        2684:41 /opt/SUNWut/lib/Xnewt :20 -nobanner -auth /var/dt/A:20-XyaWJd -br +bs -terminat
  utku36  3383  1822   0 08:21:11 ?           0:03 /opt/SUNWut/lib/Xnewt :16 -nobanner -auth /var/dt/A:16-BzaWJd -br +bs -terminat
  utku25 22180  1822   4 16:40:54 ?         874:21 /opt/SUNWut/lib/Xnewt :19 -nobanner -auth /var/dt/A:19-qzaWJd -br +bs -terminat
  utku91  4133  1822   4   Apr 08 ?        2752:35 /opt/SUNWut/lib/Xnewt :18 -nobanner -auth /var/dt/A:18-VyaWJd -br +bs -terminat
  utku83 23037  1822   4   Apr 08 ?        2802:37 /opt/SUNWut/lib/Xnewt :12 -nobanner -auth /var/dt/A:12-MyaWJd -br +bs -terminat
   utku9 12019  1822   4   Apr 09 ?        1060:14 /opt/SUNWut/lib/Xnewt :3 -nobanner -auth /var/dt/A:3-bzaWJd -br +bs -terminate
  utku34 29823  1822   0 08:17:29 ?           0:16 /opt/SUNWut/lib/Xnewt :14 -nobanner -auth /var/dt/A:14-zzaWJd -br +bs -terminat
  utku22  9692  1822   0   Apr 03 ?          21:26 /opt/SUNWut/lib/Xnewt :22 -nobanner -auth /var/dt/A:22-QxaWJd -br +bs -terminat

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms