Re: XWin 100% CPU usage (Remote Desktop)

2007-02-20 Thread David Raila
I worked on this for a long time since trying vista and here's my solution
CYGWIN=title server itty binmode glob tty

I believe that some arrangement of CYGWIN args cause troubles, but I can't
verify which, and I also believe I had ntsec in there before.
It would run for a while, althouhg process explorer would show 9-10 thousand
context switches per second for XWin.exe, then eventually it would go to
XWin.exe running full blast an unresponsive until I killed it.

Hope it helps,
dkr


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin 100% CPU usage (Remote Desktop)

2007-02-20 Thread Larry Hall (Cygwin X)

David Raila wrote:

I worked on this for a long time since trying vista and here's my solution
CYGWIN=title server itty binmode glob tty

I believe that some arrangement of CYGWIN args cause troubles, but I can't
verify which, and I also believe I had ntsec in there before.
It would run for a while, althouhg process explorer would show 9-10 thousand
context switches per second for XWin.exe, then eventually it would go to
XWin.exe running full blast an unresponsive until I killed it.


'binmode' and 'glob' are on by default so you don't need to set these.  The
same is true for 'ntsec'.  There is no 'itty' option for CYGWIN.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin 100% CPU usage (Remote Desktop)

2006-08-04 Thread David Balazic
Hi!

The problem returned.
I am using cygwin1-20060614.dll

Now I downloaded cygwin1-20060802.dll and hope it will be better.

Regards,
David

-
http://noepatents.eu.org/  Innovation, not litigation !
---
David Balazic  mailto:[EMAIL PROTECTED]
HERMES Softlab http://www.hermes-softlab.com
Zagrebska cesta 104Phone: +386 2 450 8846 
SI-2000 Maribor
Slovenija
-
Be excellent to each other. -
Bill S. Preston, Esq.  Ted Theodore Logan
-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: XWin 100% CPU usage (Remote Desktop)

2006-08-04 Thread David Balazic
David Balazic wrote :
 
 Hi!
 
 The problem returned.
 I am using cygwin1-20060614.dll
 
 Now I downloaded cygwin1-20060802.dll and hope it will be better.

More info :

 I connected with Remote Desktop to the session that is running X.
I saw two X icons in systray, one obviously dead. I moved the mouse
pointer over them and one disappeared. The CPU usage dropped to 50%.

After a while, CPU usage climbed back to 100% (remember, this is a
2 CPU SMP system).

Sysinternals Process Explorer shows the following :
 - XWin.exe process memory usage (Private Bytes) jumps between
   176 and 340 megabytes (every second or two)
 - XWin.exe CPU usage is split half-half in two threads :
   - xwin.exe+0x1000 (start address)
   - cygwin1.dll!_getreent+0x2fa0
  There are 4 other threads using little to none CPU all running
  cygwin1.dll!toascii+0x15d0

Regards,
David

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin 100% CPU usage (Remote Desktop)

2006-06-23 Thread David Balazic
Hi!

I tried cygwin1-20060614.dll and the problem is gone !
At least I can't reproduce it.

Just in case, here are steps to repriduce it (with older cywwin1.dll) :
1.)
 - connect to remote Windows system using Remote Desktop
 - there start the cygwin bash shell (using the start menu entry)
 - in bash start startxwin.bat
 - close the new xterm by typing ctrl-D in it
 - right click the X icon in systray and select Exit
 - CPU goes to 50% (one entire CPU, my system has two of them)

or 

2.)
 - connect to remote Windows system using Remote Desktop
 - there start the cygwin bash shell (using the start menu entry)
 - in bash type xwin :0 -query some.unix.system.com -clipboard
-scrollbars
 - close Remote Desktop (the session keeps running in background)
 - start remote Desktop, reduce it's windows size (Options / Display /
   Remore Desktop Size), let's say from original 1024x768 to 800x600
 - reconnect to the same sessione on the remote system
 - result : X windows dead, consuming all CPU (50% on a 2-way SMP)

As I said , the new snapshot DLL fixes both scenarios.

Thanks for your assistance !

Regards,
David

PS: CC me on replies if you want proper replies from me, as I am
not subscribed. Or lobby for a proper reply button on the web archives
;-)

-
http://noepatents.eu.org/  Innovation, not litigation !
---
David Balazic  mailto:[EMAIL PROTECTED]
HERMES Softlab http://www.hermes-softlab.com
Zagrebska cesta 104Phone: +386 2 450 8846 
SI-2000 Maribor
Slovenija
-
Be excellent to each other. -
Bill S. Preston, Esq.  Ted Theodore Logan
-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: XWin 100% CPU usage (Remote Desktop)

2006-06-22 Thread David Balazic
More info.

Maybe it is related to the trayicon.
What happened :
 - XWin.exe using 100% CPU (those are 2 CPUs, both used to max)
 - I close a window or two in the X session
 - I notice there are two X icons in systray
 - I move the mouse over them, one disappears (this is normal when a
dead
   icon is left in the systray)
 - CPU usage drops to 50%

Unfortunately, I did more steps, so I can not say that the problem is
really
in the systray icons, but hopefully this is a step towards the solution
for this annoying problem.

Regards,
David

 -Original Message-
 From: David Balazic 
 Sent: Monday, May 29, 2006 10:32 AM
 To: 'cygwin-xfree@cygwin.com'
 Subject: RE: XWin 100% CPU usage (Remote Desktop)
 
 
 Hi!
 
 More :
 The system has 2 CPUs.
 Sometimes the XWin.exe process consumes both to 100% :-(
 
 The OS is Windows Server 2003 Standard Edition, SP1.
 
 Regards,
 David
 
  -Original Message-
  From: David Balazic 
  Sent: Thursday, May 18, 2006 10:56 AM
  To: 'cygwin-xfree@cygwin.com'
  Subject: XWin 100% CPU usage (Remote Desktop)
  
  
  Hi!
  
  I have XWIN 6.8.2.0-4 and see it using 100% CPU all the time.
  
  Maybe relevant : I use MS Remote Desktop from another PC
  to access the system that actually runs XWin.exe.
  
  Is there anything I can do to reduce CPU usage ?
  
  Regards,
  David
  
  
 -
  http://noepatents.eu.org/  Innovation, not litigation !
  ---
  David Balazic  mailto:[EMAIL PROTECTED]
  HERMES Softlab http://www.hermes-softlab.com
  Zagrebska cesta 104Phone: +386 2 450 8846 
  SI-2000 Maribor
  Slovenija
  
 -
  Be excellent to each other. -
  Bill S. Preston, Esq.  Ted Theodore Logan
  
 -
  
 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin 100% CPU usage (Remote Desktop)

2006-06-22 Thread Larry Hall (Cygwin X)

David Balazic wrote:

More info.

Maybe it is related to the trayicon.
What happened :
 - XWin.exe using 100% CPU (those are 2 CPUs, both used to max)
 - I close a window or two in the X session
 - I notice there are two X icons in systray
 - I move the mouse over them, one disappears (this is normal when a
dead
   icon is left in the systray)
 - CPU usage drops to 50%

Unfortunately, I did more steps, so I can not say that the problem is
really
in the systray icons, but hopefully this is a step towards the solution
for this annoying problem.




Did you try a recent snapshot? http://cygwin.com/snapshots/


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: XWin 100% CPU usage (Remote Desktop)

2006-06-22 Thread David Balazic
Larry Hall (Cygwin X) wrote :

 Did you try a recent snapshot? http://cygwin.com/snapshots/

Of cygwin1.dll ?

Well, the answer is : no ;-)

Can I just replace the file ?



 -Original Message-
 From: David Balazic 
 Sent: Thursday, June 22, 2006 10:10 AM
 To: David Balazic; cygwin-xfree@cygwin.com
 Subject: RE: XWin 100% CPU usage (Remote Desktop)
 
 
 More info.
 
 Maybe it is related to the trayicon.
 What happened :
  - XWin.exe using 100% CPU (those are 2 CPUs, both used to max)
  - I close a window or two in the X session
  - I notice there are two X icons in systray
  - I move the mouse over them, one disappears (this is 
 normal when a dead
icon is left in the systray)
  - CPU usage drops to 50%
 
 Unfortunately, I did more steps, so I can not say that the 
 problem is really
 in the systray icons, but hopefully this is a step towards 
 the solution
 for this annoying problem.
 
 Regards,
 David
 
  -Original Message-
  From: David Balazic 
  Sent: Monday, May 29, 2006 10:32 AM
  To: 'cygwin-xfree@cygwin.com'
  Subject: RE: XWin 100% CPU usage (Remote Desktop)
  
  
  Hi!
  
  More :
  The system has 2 CPUs.
  Sometimes the XWin.exe process consumes both to 100% :-(
  
  The OS is Windows Server 2003 Standard Edition, SP1.
  
  Regards,
  David
  
   -Original Message-
   From: David Balazic 
   Sent: Thursday, May 18, 2006 10:56 AM
   To: 'cygwin-xfree@cygwin.com'
   Subject: XWin 100% CPU usage (Remote Desktop)
   
   
   Hi!
   
   I have XWIN 6.8.2.0-4 and see it using 100% CPU all the time.
   
   Maybe relevant : I use MS Remote Desktop from another PC
   to access the system that actually runs XWin.exe.
   
   Is there anything I can do to reduce CPU usage ?
   
   Regards,
   David
   
   
  
 -
   http://noepatents.eu.org/  Innovation, not litigation !
   ---
   David Balazic  mailto:[EMAIL PROTECTED]
   HERMES Softlab http://www.hermes-softlab.com
   Zagrebska cesta 104Phone: +386 2 450 8846 
   SI-2000 Maribor
   Slovenija
   
  
 -
   Be excellent to each other. -
   Bill S. Preston, Esq.  Ted Theodore Logan
   
  
 -
   
  
 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: XWin 100% CPU usage (Remote Desktop)

2006-05-29 Thread David Balazic
Hi!

More :
The system has 2 CPUs.
Sometimes the XWin.exe process consumes both to 100% :-(

The OS is Windows Server 2003 Standard Edition, SP1.

Regards,
David

 -Original Message-
 From: David Balazic 
 Sent: Thursday, May 18, 2006 10:56 AM
 To: 'cygwin-xfree@cygwin.com'
 Subject: XWin 100% CPU usage (Remote Desktop)
 
 
 Hi!
 
 I have XWIN 6.8.2.0-4 and see it using 100% CPU all the time.
 
 Maybe relevant : I use MS Remote Desktop from another PC
 to access the system that actually runs XWin.exe.
 
 Is there anything I can do to reduce CPU usage ?
 
 Regards,
 David
 
 -
 http://noepatents.eu.org/  Innovation, not litigation !
 ---
 David Balazic  mailto:[EMAIL PROTECTED]
 HERMES Softlab http://www.hermes-softlab.com
 Zagrebska cesta 104Phone: +386 2 450 8846 
 SI-2000 Maribor
 Slovenija
 -
 Be excellent to each other. -
 Bill S. Preston, Esq.  Ted Theodore Logan
 -
 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/