• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 100% cpu usage on spawning xterm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 100% cpu usage on spawning xterm


  • Subject: Re: 100% cpu usage on spawning xterm
  • From: Bill Janssen <email@hidden>
  • Date: Mon, 26 Nov 2007 20:31:19 PST
  • Comments: In-reply-to Jeremy Huddleston <email@hidden> message dated "Mon, 26 Nov 2007 19:49:07 -0800."

> Now, this is interesting... I noticed a timed out ssh connect to my
> leopard box a few times and then noticed sshd consuming 100% as well!
> I'm fairly certain these events are related (as they both are most
> certainly doing the same process to get a tty).

I've seen both these problems (the xterm and the sshd).  I notice that
if I kill the xterm, the csh I was running the xterm from continues to
take 100%.  Attaching to that and doing a sample (with Activity
Monitor) shows a sample like this:

Call graph:
    881 Thread_2503
      881 0x1cc2
        881 0x4f5a
          829 0x21dc
            806 close$UNIX2003
              806 close$UNIX2003
            16 cerror
              10 cerror
              5 cthread_set_errno_self
                5 cthread_set_errno_self
              1 __error
                1 __error
            3 0x1591d
              3 0x1591d
            2 0x158f7
              2 0x158f7
            1 0x1591c
              1 cerror
                1 cerror
            1 dyld_stub_close$UNIX2003
              1 dyld_stub_close$UNIX2003
	   ...

The other odd thing is that it always happens twice (either with the
xterm or the sshd); the third xterm or ssh always succeeds.  Or any
succeeding one, as long as the first two are still around.

Bill
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

References: 
 >100% cpu usage on spawning xterm (From: Jeremy Huddleston <email@hidden>)

  • Prev by Date: 100% cpu usage on spawning xterm
  • Next by Date: defaults command, was Re: Keyboard Layout Fixes
  • Previous by thread: 100% cpu usage on spawning xterm
  • Next by thread: Tiger X11 profile Question
  • Index(es):
    • Date
    • Thread