• 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: listen socket with runloops strange CPU usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: listen socket with runloops strange CPU usage


  • Subject: Re: listen socket with runloops strange CPU usage
  • From: Quinn <email@hidden>
  • Date: Mon, 26 Apr 2004 15:45:13 +0100

At 0:27 +0200 25/4/04, Nicolas Berloquin wrote:
That's a real huge difference. Is this expected behaviour ?

I would say "no". I'm not sure what's going on, but I have a suggestion for how you might debug it. To wit, run "sample" against the process while it's consuming all the CPU and see where the CPU is going. My guess is that the thread that CF creates to glue file descriptors into the CFRunLoop has gone mad and is calling "select" over and over again. If you can confirm that, we can start looking at why.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


References: 
 >listen socket with runloops strange CPU usage (From: Nicolas Berloquin <email@hidden>)

  • Prev by Date: Re: listen socket with runloops strange CPU usage
  • Next by Date: Anybody know where to find this information?
  • Previous by thread: Re: listen socket with runloops strange CPU usage
  • Next by thread: Anybody know where to find this information?
  • Index(es):
    • Date
    • Thread