full reload of fastcgi

2011-04-12 Thread Robin Becker
A recent problem with a fastcgi script leads me to ask if there's any well defined way to fully reload a python fastcgi process. I know that people do tricks like unloading/reloading all modules, but it seems there's no obvious way to get python to restart itself. I believe that the

Re: Python and FastCGI

2009-12-30 Thread John Nagle
Steffen Ebermann wrote: Hi, this might be a little off topic (could be any other language) but I'm trying to set up Python to use FastCGI instead of plain CGI. The basic setup is no problem but every tutorial (including Python's 'HOWTO Use Python in the web') ends with

Re: Python and FastCGI

2009-12-30 Thread MRAB
Steffen Ebermann wrote: Hi, this might be a little off topic (could be any other language) but I'm trying to set up Python to use FastCGI instead of plain CGI. The basic setup is no problem but every tutorial (including Python's 'HOWTO Use Python in the web') ends with

Python and FastCGI

2009-12-30 Thread Steffen Ebermann
Hi, this might be a little off topic (could be any other language) but I'm trying to set up Python to use FastCGI instead of plain CGI. The basic setup is no problem but every tutorial (including Python's 'HOWTO Use Python in the web') ends with some basic dispatch file and

fastcgi Access Checking

2009-10-22 Thread Robin Becker
n external fcgi socket server using flup. I managed to get apache to accept the long running socket server as the FastCgiAccessChecker, but all attempts at using the access check seem to fail with some kind of fastcgi protocol error ..server.fcgi" aborted: protocol error: invalid F

Re: SimpleXMLRPCServer to fastcgi via WSGI?

2008-02-01 Thread Joshua Kugler
Ivan Voras wrote: > Is there a straightforward way to convert an XML-RPC server application > (written for SimpleXMLRPCServer) to use WSGI so that it can be used as s > fastcgi server? By "straightforward" I mean something simple, without > using some external framework.

SimpleXMLRPCServer to fastcgi via WSGI?

2008-02-01 Thread Ivan Voras
Hi, Is there a straightforward way to convert an XML-RPC server application (written for SimpleXMLRPCServer) to use WSGI so that it can be used as s fastcgi server? By "straightforward" I mean something simple, without using some external framework. Alternatively, I don't really

FastCGI on Windows: socket.fromfd() support?

2007-10-10 Thread Drew
Microsoft's IIS server recently added native support for FastCGI. The big roadblock to Python support seems to be that socket.fromfd() doesn't work on Windows. Are there any plans to add this or similar functionality to the Windows build? Thanks, Drew -- http://mail.python.org/mailma

sending fastcgi requests

2007-07-09 Thread [EMAIL PROTECTED]
I have a python fastcgi app. Is there any library in python that I can use to send a FASTCGI request to the fastcgi app? thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Recommended FastCGI module?

2007-03-07 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, John Nagle wrote: > Jon Ribbens wrote: >>> The "JonPy" version: >>> http://jonpy.sourceforge.net/fcgi.html >>> Last revised in 2004. >> >> I'd recommend my one, but it's just possible I'm not impartial ;-) > > Does it work with current Pythons? (2.

Re: Recommended FastCGI module?

2007-03-07 Thread Robin Becker
John Nagle wrote: >What's the recommended FastCGI module for Python. There are at least five: > > The Robin Dunn / Total Control Software version: > http://alldunn.com/python/fcgi.py > Last revised in 1998. ... we are using a slightly mod

Re: Recommended FastCGI module?

2007-03-07 Thread John Nagle
Jon Ribbens wrote: > In article <[EMAIL PROTECTED]>, John Nagle wrote: > >> The "JonPy" version: >> http://jonpy.sourceforge.net/fcgi.html >> Last revised in 2004. > > > I'd recommend my one, but it's just possible I'm not impartial ;-) Does it work with current Pythons? (2.

Re: Recommended FastCGI module?

2007-03-07 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, John Nagle wrote: > The "JonPy" version: > http://jonpy.sourceforge.net/fcgi.html > Last revised in 2004. I'd recommend my one, but it's just possible I'm not impartial ;-) -- http://mail.python.org/mailman/listinfo/python-list

Recommended FastCGI module?

2007-03-06 Thread John Nagle
What's the recommended FastCGI module for Python. There are at least five: The Robin Dunn / Total Control Software version: http://alldunn.com/python/fcgi.py Last revised in 1998. The "JonPy" version: http://jonpy.sourceforge.net/fcgi.ht

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
igell uses subpath behind CGI file name is a little strange to me. Nonetheless, Karrigell looks very nice to me but I may start with CherryPy. What's missing (according to my requirement/wishlist) is, as a web server, the build-in web server does not handle CGI or FastCGI apps, making python th

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
I'm using CherryPy 2.2.1. I just ran benchmark.py multiple times. The fastest it got is 195 req/sec, with 50 threads. Python was taking 50+% CPU when the test was running. > It would be good to know which version of CherryPy you are using. That > wiki page is talking about the CP 2.0 branch; 2.1

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread thorley
Just thought I'd mention it. As stated in some posts I put on the list in the last few days, I'm working on a FastCGI server for python. Of course its not as fast as lighttpd, but I think it still has many applications. I've currently got a *very* simple prototype, but I expect the

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
, it would be nice to extend it by putting >> code >> right into the web server. The performance should be better than FastCGI >> because it removes the cost to send the requests/replies back and forth. > > you'll need to make a distinction between a webserver writt

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Istvan Albert
> >> I will have to install lighttpd or other web servers. > If it is a Python web server, it would be nice to extend it by putting code > right into the web server. The performance should be better than FastCGI > because it removes the cost to send the requests/replies back

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread fumanchu
Jack wrote: > I wrote the last posting at late late night and I didn't know what I was > typing at that time ;-p > > I didn't mean the test with CherryPy was not concurrent > connections, or the test with lighttpd was all concurrent > connections. I actually tried both concurrent (-c in ab command

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
I wrote the last posting at late late night and I didn't know what I was typing at that time ;-p I didn't mean the test with CherryPy was not concurrent connections, or the test with lighttpd was all concurrent connections. I actually tried both concurrent (-c in ab command line) and non-concurren

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Tim Williams
On 7 Jul 2006 06:27:43 -0700, Gerard Flanagan <[EMAIL PROTECTED]> wrote: > > Tim Williams wrote: > > On 07/07/06, Jack <[EMAIL PROTECTED]> wrote: > > > I just did some testing between CherryPy's web server and lighttpd. > > > My test was very simple and I used ab.exe for this purpose. > > > CherryP

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Gerard Flanagan
Tim Williams wrote: > On 07/07/06, Jack <[EMAIL PROTECTED]> wrote: > > I just did some testing between CherryPy's web server and lighttpd. > > My test was very simple and I used ab.exe for this purpose. > > CherryPy web server can serve about 140 simple request / second, while > > lighttpd can han

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Tim Williams
On 07/07/06, Jack <[EMAIL PROTECTED]> wrote: > I just did some testing between CherryPy's web server and lighttpd. > My test was very simple and I used ab.exe for this purpose. > CherryPy web server can serve about 140 simple request / second, while > lighttpd can handle around 400 concurrent reque

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
I just did some testing between CherryPy's web server and lighttpd. My test was very simple and I used ab.exe for this purpose. CherryPy web server can serve about 140 simple request / second, while lighttpd can handle around 400 concurrent requests. > You haven't really said much about your requi

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jack
extend it by putting code right into the web server. The performance should be better than FastCGI because it removes the cost to send the requests/replies back and forth. -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jack
>> I will have to install lighttpd or other web servers. > > do that. > > If all you need is a webserver there's little reason to have it in > python. Just use one of the several high quality open source webservers. lighttpd is a great web server. I just didn't want to bother download the source,

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jack
lse has an idea about medusa or twisted performance. Any chance that it's close to Apache? But even so, I guess I may still have to go with lighttpd for FastCGI/ CGI/SCGI support. > You haven't really said much about your requirements though. Perhaps > if you describe them in more

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Istvan Albert
Jack wrote: > I will have to install lighttpd or other web servers. do that. If all you need is a webserver there's little reason to have it in python. Just use one of the several high quality open source webservers. -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jean-Paul Calderone
n an embedded platform where disk space is at a premium there's not really much point). A bigger problem, I reckon, is that twisted.web doesn't support FastCGI and twisted.web2 is still a moving target. You haven't really said much about your requirements though. Perhaps if you d

Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jack
rs is performance. That's why I start to look into medusa or twisted-based servers. Twisted seems too big and complicated for what I really want to do and the original medusa web server only has very basic functionality. And I'd like the web server to have CGI/FastCGI and possible S

fastcgi: how to accept HTTP requests, and return a result

2006-07-06 Thread thorley
Greetings, I'm now merrily on my way developing a FastCGI Server in python. Thanks to help of others on this list I've got a proof of concept up and running. Herein lies my question: My goal is to make this module as flexible as possible, so that it can receive requests from Simp

Attempting to get lighttpd, fastcgi & python working

2006-03-24 Thread venkatbo
Hi folks, I'm trying to get lighttpd, fastcgi & python working on a 2.4.21.x i686 linux system. I tried following the steps in: http://www.cleverdevil.org/computing/24/python-fastcgi-wsgi-and-lighttpd Some of the lighttpd.conf setting are slightly different from those in that article

fastcgi

2005-04-05 Thread jason_
Hi Is anyone using fastcgi (the fastcgi.py file floasting around, or jonpy) in a poduction environment? I'm just wondering how stable python would be with fastvgi and lightttpd thanks Jason -- http://mail.python.org/mailman/listinfo/python-list