Skip to content

houspi/PythonDaemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

PythonDaemon

Python prefork TCP server

fcgi-pm.py - TCP Server
hello.py - external program for the fcgi-pm.py

Example ./fcgi-pm.py --count=4 --queue-size=100 --cgi="/home/www/fcgi/hello.py --param1=value1 --param2=value2" --daemon=Yes run <--count> workers, each worker process <--queue-size> requests and dies. Server restarts each died worker.

Test with ab ab -c 5 -n 150 http://127.0.0.1:8888/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages