• 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: Troublesome app when scaling it up, how to proceed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Troublesome app when scaling it up, how to proceed?


  • Subject: Re: Troublesome app when scaling it up, how to proceed?
  • From: Paul Sargent <email@hidden>
  • Date: Mon, 29 Oct 2007 11:03:30 +0000


On 25 Oct 2007, at 15:49, Gerben Wierda wrote:


In this situation I would be using lsof to monitor the open file
handles as the app runs. Something like

lsof -p <pid> -n +r 5

will show you all the open files of your process, and which ones are
lasting longer than they should. Alternatively, using sharks 'System
Trace' may help by allowing you to see what file-handles are used by
what system call, and when they should have been released. That's not
as easy to decode though.

I know lsof (I think I used lsof the last time to see if it could help me
find out what was happening) I'll look into Shark.

I just wanted to come back on this now that the Leopard embargo has lifted.


Dtrace/Xray/Instruments (or whatever it's called now) should be able to help you on this too. Assuming you have a copy of Leopard around of course.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Troublesome app when scaling it up, how to proceed? (From: Gerben Wierda <email@hidden>)
 >Re: Troublesome app when scaling it up, how to proceed? (From: David Spooner <email@hidden>)
 >Re: Troublesome app when scaling it up, how to proceed? (From: "Gerben Wierda" <email@hidden>)
 >Re: Troublesome app when scaling it up, how to proceed? (From: Thomas Engelmeier <email@hidden>)
 >Re: Troublesome app when scaling it up, how to proceed? (From: "Gerben Wierda" <email@hidden>)
 >Re: Troublesome app when scaling it up, how to proceed? (From: Paul Sargent <email@hidden>)
 >Re: Troublesome app when scaling it up, how to proceed? (From: "Gerben Wierda" <email@hidden>)

  • Prev by Date: Re: AuthSample
  • Next by Date: Re: FYI - Resolution Independence
  • Previous by thread: Re: Troublesome app when scaling it up, how to proceed?
  • Next by thread: Re: Troublesome app when scaling it up, how to proceed?
  • Index(es):
    • Date
    • Thread