Hi!

I realized with the help of Mapnik a quite raw but interesting tile server on top of web2py with the aim of serve some tile layers from some Postgis ad-hoc views. The main problem is that when too many requests are performed typically by quick zoom on a map some requests remains without a response and some messages from the rocket server pop up with thease messages:

   2020-02-28 09:35:12,250 - Rocket.Errors.Thread-5 - ERROR - Traceback
   (most recent call last):

      File
   "/home/manuele/development/PLANET/web2py_r-2.18/gluon/rocket.py",
   line 1288, in run
        self.run_app(conn)

      File
   "/home/manuele/development/PLANET/web2py_r-2.18/gluon/rocket.py",
   line 1810, in run_app
        self.conn.sendall(b('0\r\n\r\n'))

   BrokenPipeError: [Errno 32] Broken pipe


   2020-02-28 09:54:02,050 - Rocket.Errors.Thread-6 - ERROR - Tried to
   send "500 Server Error" to client but received socket error


Would it be possible to prevent this problem? Could it be by-passed using apache (in proxy or wsgi mode) in a deploy environment?

Thank you in advance for any suggestion.

Cheers

    Manuele

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/a18b58cc-d7e5-f014-77bc-bbf353378ea6%40gmail.com.

Reply via email to