Hi

I'm using webware for my website since 2007.
I'm using webware 1.0, because webware 1.1 didn't work correctly for
me (I don't remember why)

I'm currently trying to debug a freeze problem that occur every 1 to 3 weeks.
The python appServer process is completely frozen, and must be killed with -9.
It doesn't respond to any signal, so I can't dump its stack, and
really don't know the cause
strace shows that python is waiting on a futex.

I still have some actions to do in my investigations like:
- rebooting the server which is up since 620 days...
- separating the custom radius server I made which is launched in the
same process in several new threads. (I didn't know about the GIL at
that time...)
- reverting to webware 0.9

I intend to use gevent for the radius server, because I like it.
I would also like to use comet services for the web application, which
brings me to my question:
I've seen that there is a WSGI adapter that connects to the appServer.
Is it possible to wrap a webware application in a real WSGI handler?
This would allow to use webware applications under modern servers like
gevent (gunicorn) and why not google app engine.
The threaded app server is no more adapted to modern web techniques. A
gevent based appServer would be so great!
libraries like gevent-zeromq and gevent-socketio would be so nice to have.

Gevent is able to wrap standard python libraries (monkey patching) and
make standard code greenlet compatible, so I'm not sure the wsgi
wrapper would be complicated to do.

I have started to look inside the appServer. I don't know where to start.
There are quite some code that initializes different modules and
things like that.
In gevent, the idea is to spawn a greenlet for every new transaction.
I'm not sure there is a pool of workers.

Thanks for reading.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to