Testing under way...

(Iceberg, I'm running OS X 10.6.4)

Cheers,
Mike


On Thu, Jul 29, 2010 at 2:57 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:

> Mike,
>
> I modified the expire_sessions.py in trunk and added a
> try:...execept... If the problem was that a file was locked and the
> cron task got stuck, it may be solved now. Can you test it?
>
> Massimo
>
> On Jul 28, 4:10 pm, MikeEllis <michael.f.el...@gmail.com> wrote:
> > Update: (Summarizes a couple of emails exchanged with Massimo)
> >
> > Yesterday I found that my instance of web2py appeared be "leaking"
> > processes at about 1 per hour.  Massimo suggested running with -N to
> > disable cron.  I started two instances this way -- one under winpdb
> > and another directly.  They've been running almost 24 hours now and
> > neither has added any processes.  As noted earlier, my app has nothing
> > in crontab. The admin and examples apps have the crontabs that are "as
> > shipped" in v1.85.
> >
> > Cheers,
> > Mike
> >
> > On Jul 27, 12:17 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
> >
> > > On Jul 27, 2010, at 9:01 AM, Michael Ellis 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
> >
> > > Also: sudo launchctl limit maxfiles
> >
> > > I see 256 by default. The second limit is the "hard limit", beyond
> which you can't configure (unlimited in this case).
> >
> > >http://serverfault.com/questions/15564/where-are-the-default-ulimits-.
> ..
>

Reply via email to