• 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
Mystery threads eating CPU cycles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mystery threads eating CPU cycles


  • Subject: Mystery threads eating CPU cycles
  • From: Mike Laster <email@hidden>
  • Date: Mon, 11 Nov 2002 13:31:42 -0500

I have a server process that after about a day of running starts eating about 50% of the CPU cycles, even though it should be completely idle (no clients talking to it). If I run sample on it, I see a couple of threads running that appear to be the source of the problem. However, these aren't threads that I
have created. From what I've seen, any thread started with NSThread has their stack start with pthread_body(), and these don't:

1000 Thread_1103
1000 NSExceptionHandlerUncaughtSignalHandler
1000 _sigtramp
1000 NSExceptionHandlerUncaughtSignalHandler
1000 NSExceptionHandlerUncaughtSignalHandler [STACK TOP]
1000 Thread_1203
1000 malloc_zone_from_ptr
1000 0x33d0
1000 _sigtramp
1000 NSExceptionHandlerUncaughtSignalHandler
1000 NSExceptionHandlerUncaughtSignalHandler [STACK TOP]


I'm linked into ExceptionHandling.framework which is supposed to catch system signals and turn them into NSExceptions. It almost looks like
NSExceptionHandlerUncaughtSignalHandler is getting a signal while handling one, and going into an infinite loop. Is this a bug in ExceptionHandling.framework?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Mystery threads eating CPU cycles
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Testing for Memory Leaks
  • Next by Date: Re: OT: Web Objects -- Anybody using it?
  • Previous by thread: Re: drawers closes, but is visible
  • Next by thread: Re: Mystery threads eating CPU cycles
  • Index(es):
    • Date
    • Thread