Sorry, what I sent was very large (~750K each). Didn't realize GoogleGroups
would reduce it  to a thumbnail.  I'll try to forward the original message
directly to you ...



On Tue, Jul 27, 2010 at 12:07 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:

> The picture is too small. Anything interesting in there?
>
> On Jul 27, 11:01 am, Michael Ellis <michael.f.el...@gmail.com> wrote:
> > Thanks for the info about sloth. I may try it later.  It was pretty easy
> to
> > get what I needed with ipython:
> >
> > procs = !ps ax | grep "web2py"
> > pids = [r[0] for r in procs.fields()[0:-2]]
> > for p in pids:
> >      print p
> >      !lsof | grep $p | wc
> >
> > On Tue, Jul 27, 2010 at 11:50 AM, Jonathan Lundell <jlund...@pobox.com
> >wrote:
> >
> > > On Jul 27, 2010, at 8:23 AM, Jonathan Lundell wrote:
> >
> > > On Jul 27, 2010, at 5:33 AM, Michael Ellis wrote:
> >
> > > This morning I found several OSError reports about "Too many open
> files" in
> > > a web2py development server that's been running locally for several
> days.
> > >  The app code isn't doing any explicit file i/o so I don't know what's
> going
> > > on,  but here are the tracebacks in case someone else is seeing
> anything
> > > similar.
> >
> > > The first thing to do is to use lsof (try: man lsof) to see what's
> being
> > > opened.
> >
> > > I just noticed a graphical interface to lsof that looks pretty nice:
> >
> > > Sloth 1.5 - Displays all open files in use by an app. (Free)<
> http://feedproxy.google.com/~r/macupdate/~3/q-i76jy2bk8/sloth>
> > > 7/27/10 5:09 AM
> > > <http://www.macupdate.com/>MacUpdate <http://www.macupdate.com/>
> > > Sloth 1.5
> > > <http://www.macupdate.com/images/screens/uploaded/14230_scr.png>
> > > *Sloth* is a program that displays a list of all open files in use by
> all
> > > the applications your user account is running on the system—this list
> > > includes IP and Unix sockets, character devices and directories, and is
> > > generated by the 'lsof' command. This list is presented along with the
> names
> > > of applications using the file and their process IDs. This makes it
> easy to
> > > monitor what applications are 'locking' which files. Sloth is a
> graphical
> > > interface front-end to 'lsof', a powerful unix tool.
> >
> > > WHAT'S NEW
> > > Version 1.4:
> >
> > >    - Column sorting, column rearrangement
> > >    - Copy/Drag and drop
> > >    - Several bug fixes
> > >    - Various interface refinements
> >
> > > REQUIREMENTS
> > > Mac OS X 10.4 or later.
> >
> > > PRICE
> > > Free
> >
> > > DEVELOPER
> > > Sveinbjorn Thordarson <http://www.macupdate.com/dev.php?id=14230>
> >
> > > DOWNLOADS
> > > 6080
> >
> > > DOWNLOAD NOW (110 K)<
> http://www.macupdate.com/download.php/14230%20sloth.zip>
> >
> > > More information <http://www.macupdate.com/info.php/id/14230/sloth>
> >
> >
> >
> >  14230_sm.png
> > 68KViewDownload

Reply via email to