Thanks, Jonathan. That's a good suggestion. I last restarted the app a couple of hours ago. ps reports 4 processes that match 'web2py'. Grepping for each pid in lsof shows nothing extraordinary. Each process has 80-90 files open. The vast majority are libraries (.so). There are a few chr files and about 10 pipes associated with each pid.
I'll check again in a few hours and see if the numbers are increasing. Cheers, Mike On Tue, Jul 27, 2010 at 11:23 AM, Jonathan Lundell <jlund...@pobox.com>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.