Yann Weber
|
794324f494
|
Fixes #12 Using libpyfcgi.IoOut for stdout & stderr PEP333 workers
libpyfcgi.IoOut can be use for stdout & stderr for alternate workers too
|
5 years ago |
Yann Weber
|
8c69cd1b2f
|
Add IoOut type to libpyfcgi
|
5 years ago |
Yann Weber
|
f685f83369
|
PyFCGI now handles fcgi socket creation
Add a -l --listen option to set the socket path or address:port
Fix a bug using thread safe functions from libfcgi
|
5 years ago |
Yann Weber
|
9b1c5ecc17
|
Bugfixing a buffer overflow on PID fmt field
This overflow was avoided using the volatile i
|
5 years ago |
Yann Weber
|
c2bcf7691f
|
Separate watchdog & stats timer signals
|
5 years ago |
Yann Weber
|
2a49fb1c00
|
Worker PID storage enhancement
|
5 years ago |
Yann Weber
|
26f05d869b
|
Fix #28 add a watchdog for the stats server
|
5 years ago |
Yann Weber
|
42ecf1d35a
|
Bugfix in watchdog killer timer delay calculation
|
5 years ago |
Yann Weber
|
b3af92459e
|
Add worker count & load to stats : solve #24 solve #20 solve #19
|
5 years ago |
Yann Weber
|
21acb49751
|
Begin SHM support implementation for stats server process
|
5 years ago |
Yann Weber
|
a1f5517fe5
|
Signal handling enhancement
|
5 years ago |
Yann Weber
|
15e396778b
|
Rollback average function
|
5 years ago |
Yann Weber
|
fc0945d891
|
Removed useless argument to average calculation function
Defining a PYFCGI_STATS_SZ = 15 * 60s = 900
|
5 years ago |
Yann Weber
|
f715ee5381
|
Extract average calculation in separated function
|
5 years ago |
Yann Weber
|
d106364638
|
Monitor server enhancement
- send buffer formated by stats functions to clients
- close client socket if needed
- allow bind to reuse an address if nobody listen on it
|
5 years ago |
Yann Weber
|
87c0efb4ba
|
Add a stats format buffer & functions
|
5 years ago |
Yann Weber
|
2953f2feee
|
Add an uptime field to conf context
|
5 years ago |
Yann Weber
|
7b99f5f48f
|
Use the new stats features in PyFCGI
The worker indicate each new request using semaphore
|
5 years ago |
Yann Weber
|
dffe441065
|
Starting stats collection implementation : request counter
|
5 years ago |
Yann Weber
|
5db32eb990
|
Add a way to know if an IPC component is initialized or not
|
5 years ago |
Yann Weber
|
9e0d3f34f5
|
Add sighandler for monitor server
|
5 years ago |
Yann Weber
|
7829c1c019
|
Add monitor server handling & new process handling for master
|
5 years ago |
Yann Weber
|
6b9634c843
|
Continuing monitor server
Implementing a dummy stream response loop sending PyFCGI version
|
5 years ago |
Yann Weber
|
5c42fde3a4
|
Add ipv6 parse function tests
|
5 years ago |
Yann Weber
|
23ca05c04a
|
Starts UDP stats/status server implementation
|
5 years ago |
Yann Weber
|
4daea42c44
|
Replacing old sysV sem by new POSIX solves #25
Creating new files to handle IPC stuffs : include/ipc.h src/ipc.c
|
5 years ago |
Yann Weber
|
6913e228b8
|
Deleted old TODO
|
5 years ago |
Yann Weber
|
fe56265ecd
|
Enhancement in timeout logging
Now logging a python traceback
|
5 years ago |
Yann Weber
|
5ad51d95fb
|
Add two options + status2str function
Add a -t --timeout and a -f --fast-spawn option for further commit
|
5 years ago |
Yann Weber
|
bcbbb99770
|
Add timeout & watchdog for pool & workers
|
5 years ago |
Yann Weber
|
7b22e9278c
|
Add a --verbose option
Add --verbose -v option to log on stderr
|
5 years ago |
Yann Weber
|
7004f544e4
|
Add a todo + some commented debug lines + foo_pep333.py enhancement
|
5 years ago |
Yann Weber
|
d3c9e2de42
|
Add sys.stdout & sys.stderr logging for pep333 worker
|
5 years ago |
Yann Weber
|
512580c924
|
Implement partial support for wsgi.* environ
The url_scheme is static to "http" for the moment...
|
5 years ago |
Yann Weber
|
81a8bb752e
|
Add support for virtualenv & site packages
Note : segfault on virtualenv tests...
|
5 years ago |
Yann Weber
|
11df1455cf
|
Add signal handling and clean exiting
|
5 years ago |
Yann Weber
|
9e413450a9
|
Bugfix in logger ident update + deleted debug logging
|
5 years ago |
Yann Weber
|
28231c3d56
|
Logger enhancement + deleted unused warning in pyworker.c
|
5 years ago |
Yann Weber
|
de7269f833
|
Deleted loglines, updated README + add check on FCGX_PutStr calls
|
5 years ago |
Yann Weber
|
0c527fc2dc
|
1st fonctionnal implementation of both python<->C IPC
|
5 years ago |
Yann Weber
|
90100e6a88
|
Small bugfix in logs + add log in conf
|
5 years ago |
Yann Weber
|
6a93f8042f
|
Start implementing pep333 application support
|
5 years ago |
Yann Weber
|
686e6ecf2e
|
Added logger spec parser for CLI args
|
5 years ago |
Yann Weber
|
c83d63c8f2
|
Add python version with -v option
|
5 years ago |
Yann Weber
|
3a9238e7a1
|
Add pyutils.h/c and a check for import when parsing arguments
|
5 years ago |
Yann Weber
|
dcc8a7a622
|
Using global configuration variable instead of function arguments
|
5 years ago |
Yann Weber
|
5c3202dbf8
|
Bugfix in version declaration
|
5 years ago |
Yann Weber
|
9906803b42
|
Started arg parser implementation
|
5 years ago |
Yann Weber
|
45d2c67f1a
|
Updated config.h.in & configure.ac files
|
5 years ago |
Yann Weber
|
9eb5f1f42a
|
Using internal logger instead of syslog
|
5 years ago |