Although I cannot reproduce the problem I noticed web2py is opening
more tempfiles files that it needs.
I fixed this and the change should also make it faster on GET
requests.
In trunk now.

Please check if it fixes the problem.

Massimo

On Sep 21, 4:34 pm, Paul <[email protected]> wrote:
> I don't know if you were referring to my problem or Iceberg's...
> regardless, I checked out the latest trunk (rev 1240) and tried my
> application again and was able to reproduce my bug (with essentially
> the same error trace as above).
>
> the view is essentially this:
>
> {{for img in imgs:}}
> {{u=URL(r=request,c='default',f='download', args= img.img_name)}}
> {{=A(IMG(_src=u),_href=u)}}
> {{pass}}
>
> and there are about 10 png's in the 'uploads' directory / in the
> images table. refresh the page ~20 times and it crashes.
>
> Paul
>
> On Sep 21, 5:06 pm, mdipierro <[email protected]> wrote:
>
> > I cannot reproduce this. Can you try the latest trunk and let me know
> > if you still get before we spend time in debugging?
>
> > On Sep 21, 10:02 am, Iceberg <[email protected]> wrote:
>
> > > Thanks for your attention, but the new experimental server might not
> > > be the suspect this time, because my production server is still using
> > > SVN rev1222, which is earlier than the experimental server (sneaky
> > > server) 's birth.
>
> > > On Sep21, 9:02pm, mdipierro <[email protected]> wrote:
>
> > > > The trunk uses a new experimental server. It still has come problems.
> > > > I will revert to cherrypy for now
>
> > > > Massimo
>
> > > > On Sep 21, 4:16 am, Iceberg <[email protected]> wrote:
>
> > > > > On Sep11, 5:13pm, zahariash <[email protected]> wrote:
>
> > > > > > On 11 Wrz, 07:13, mdipierro <[email protected]> wrote:
>
> > > > > > > please check if it is fixed. I had to change your fix because it 
> > > > > > > was
> > > > > > > not python 2.4 compliant.
>
> > > > > > Revision 1124 works ok. It's fixed.
>
> > > > > I never saw web2py breaks in my 17 months experience, but I just
> > > > > encountered an web2py out-of-service on my Linux production server.
> > > > > The process is still running, but every request results in an error
> > > > > ticket page, which are all
> > > > >   IOError: [Errno 24] Too many open files: '/home/me/web2py_trunk/
> > > > > blahblah'
>
> > > > > I am using source code version from google svn rev1222. Is the leak
> > > > > found by Zahariash already fixed in this revision?
>
> > > > > After kill and restart, now everything seems ok. Anyway, I will keep
> > > > > close look to my production server, and come back to you if anything
> > > > > new happened.
>
> > > > > Iceberg.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to