Yann Weber
8e452c4087
Using FCGIlib OS_IpcClose and increase monitor watchdog timeout
il y a 3 ans
Yann Weber
5f5c8043a9
Closing FCGX socket + unlinking unix socket before bind
il y a 4 ans
Yann Weber
4b707138ff
Fixes #40 Fixing doxygen documentation
No more errors sent by doxygen
il y a 4 ans
Yann Weber
b21c478d8f
Removed logline
il y a 4 ans
Yann Weber
c80579af7f
Add tests for stdout & stderr in foo_pep333.py example
il y a 4 ans
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
il y a 4 ans
Yann Weber
8c69cd1b2f
Add IoOut type to libpyfcgi
il y a 4 ans
Yann Weber
0ce4c2ddc1
Fixes #32 set stderr non-blocking
Syslog seems to block entering in screen copymode... verbose mode drops
messages allowing pyfcgi to continue.
il y a 4 ans
Yann Weber
3e9a0cd4d5
Fixing logger test
il y a 4 ans
Yann Weber
b6ba480b62
Bugfix in README
Add missing ./ in front of src/pyfcgi
il y a 4 ans
Yann Weber
dde597d405
Supress debug messages
il y a 4 ans
Yann Weber
74a18033ba
Remove a Makefile.in
il y a 4 ans
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
il y a 4 ans
Yann Weber
d1eaf6979f
man update
il y a 4 ans
Yann Weber
8074f4a6ef
Fix #39 suffix fields are now in good position in loglines
il y a 4 ans
Yann Weber
82c2006ff9
Fix #1
il y a 4 ans
Yann Weber
d19acb74ec
Autotools enhancement
Now libtoolize copy missing files
Adds m4 macro directory for aclocal
etc.
il y a 4 ans
Yann Weber
9586473f69
Enhanced doxygen support + manpage generation
il y a 4 ans
Yann Weber
9b1c5ecc17
Bugfixing a buffer overflow on PID fmt field
This overflow was avoided using the volatile i
il y a 4 ans
Yann Weber
89d69a26e6
Fix #26
Declaring a counter as volatile to avoid GCC opti :/
il y a 4 ans
Yann Weber
9a01ba69b9
Should fix #35
The problem seems to appear when a worker fails to wait indicate it is idle
by waiting the WSTATE semaphore (maybe when pool handler waited the sem
to check pool's busyness and before the pool handler post it again...)
il y a 4 ans
Yann Weber
0b8ade32d9
Adds checks & log messages on semaphore errors
il y a 4 ans
Yann Weber
7efd83ce00
Fix #34 Ring buffer bug
il y a 4 ans
Yann Weber
2d48fc0939
Change monitor server watchdog timeout to 1s
il y a 4 ans
Yann Weber
c2bcf7691f
Separate watchdog & stats timer signals
il y a 4 ans
Yann Weber
2a49fb1c00
Worker PID storage enhancement
il y a 4 ans
Yann Weber
f2c44b9b6d
Bugfix for worker creation with small execution time
When running dummy scripts the sem_timedwait was unable to detect that the
pool was busy...
il y a 4 ans
Yann Weber
26f05d869b
Fix #28 add a watchdog for the stats server
il y a 4 ans
Yann Weber
42ecf1d35a
Bugfix in watchdog killer timer delay calculation
il y a 4 ans
Yann Weber
9256b383b1
Fix #29 limiting SHM updates to 1 per second
il y a 4 ans
Yann Weber
b3af92459e
Add worker count & load to stats : solve #24 solve #20 solve #19
il y a 4 ans
Yann Weber
a9d6e1100e
Patching average stats function
il y a 4 ans
Yann Weber
21acb49751
Begin SHM support implementation for stats server process
il y a 4 ans
Yann Weber
a1f5517fe5
Signal handling enhancement
il y a 4 ans
Yann Weber
15e396778b
Rollback average function
il y a 4 ans
Yann Weber
831f1ebcb4
New average implementation
il y a 4 ans
Yann Weber
fc0945d891
Removed useless argument to average calculation function
Defining a PYFCGI_STATS_SZ = 15 * 60s = 900
il y a 4 ans
Yann Weber
98162eb2bc
Average function enhancement
il y a 4 ans
Yann Weber
f715ee5381
Extract average calculation in separated function
il y a 4 ans
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
il y a 4 ans
Yann Weber
87c0efb4ba
Add a stats format buffer & functions
il y a 4 ans
Yann Weber
2953f2feee
Add an uptime field to conf context
il y a 4 ans
Yann Weber
7b99f5f48f
Use the new stats features in PyFCGI
The worker indicate each new request using semaphore
il y a 4 ans
Yann Weber
dffe441065
Starting stats collection implementation : request counter
il y a 4 ans
Yann Weber
1762b5a272
Deleted useles comment in responder.c
il y a 4 ans
Yann Weber
5db32eb990
Add a way to know if an IPC component is initialized or not
il y a 4 ans
Yann Weber
bd6267330a
Add a todo for a POSIX semaphore problem :'(
il y a 4 ans
Yann Weber
9e0d3f34f5
Add sighandler for monitor server
il y a 4 ans
Yann Weber
7829c1c019
Add monitor server handling & new process handling for master
il y a 4 ans
Yann Weber
6b9634c843
Continuing monitor server
Implementing a dummy stream response loop sending PyFCGI version
il y a 4 ans