317 Commits

Author SHA1 Message Date
Paul J. Davis
1e1207418f Fixes Issue #9 - Recycle oldest workers first.
The worker that's been alive the longest will now be the first
worker to be recycled when the master process receives a TTOU
signal.
2010-02-27 00:46:31 -05:00
Paul J. Davis
fd059eaf8f Fixes Issue #22 - Make EPIPE stacks disappear.
Still prints a line like:

    2010-02-27 00:25:21,305 - WARNING Ignoring EPIPE
2010-02-27 00:25:59 -05:00
benoitc
d91939f110 fix should_close. not really useful in gunicorn case but then we are in
sync with restkit
2010-02-26 23:26:15 +01:00
benoitc
6df6e89cbc allow gunicorn to send chunked response (if Transfer-Encoding ==
chunked)
2010-02-26 14:05:35 +01:00
benoitc
b6693a81aa fix chunked encoding. 2010-02-26 04:56:46 +01:00
benoitc
6badf22041 just send 2010-02-25 20:01:25 +01:00
benoitc
7d31b224b9 except with error .. 2010-02-25 16:05:51 +01:00
benoitc
1126579963 use sendall instead of our loop 2010-02-25 15:43:33 +01:00
Paul J. Davis
9c60695713 Update EPIPE handling.
Now ignore EPIPE tracebacks as they're most likely just notifications
that a client disconnected before reading the entire response.
2010-02-25 09:38:32 -05:00
Paul J. Davis
f03ae0646d Minor docstring edit. 2010-02-25 09:16:19 -05:00
benoitc
096da6ee39 retry on first EPIPE 2010-02-25 13:22:43 +01:00
benoitc
cf7322ca43 fix readline in tee 2010-02-25 13:04:41 +01:00
benoitc
ac74d5079d fix chunked decoding in TeeInput. We need to make sure we didn't have
already in the buffer the last chunk. it fixes socket timeout.
Discovered when hacing on it with restkit.
2010-02-25 02:59:44 +01:00
benoitc
3a2673d52e don't return headers here. 2010-02-24 18:57:12 +01:00
Paul J. Davis
708639c8f0 Minor grammar change. 2010-02-24 10:32:12 -05:00
Paul J. Davis
d00367e1b6 Fix capitalization. 2010-02-24 10:30:06 -05:00
benoitc
6c48e91904 allow config file to set proc_name. spotted by @jbergstroem on irc.
thanks!
2010-02-24 14:20:28 +01:00
benoitc
971b3199a7 0.6.1 release. fixes. 2010-02-24 00:05:17 +01:00
benoitc
3ee23d74fd unblock SIGCHLD 2010-02-23 21:19:34 +01:00
benoitc
dba55760eb yupo spotted by @jbergstroem on irc. 2010-02-23 16:20:24 +01:00
benoitc
c43a2fbfd0 s/TTOUT/TTOU in faq. spotted by coulix_greg on irc 2010-02-23 15:40:26 +01:00
benoitc
756d74ed0d fix config path and make sure we can use it in django admin command too 2010-02-23 15:39:18 +01:00
benoitc
3ba5df758e only handle signals we need. fix issue spotted by @jbergstroem 2010-02-22 23:48:53 +01:00
benoitc
ad35646ad2 center #actions a little more 2010-02-22 22:00:07 +01:00
benoitc
de2560e0f8 fix font-size in pre under firefox 2010-02-22 21:44:19 +01:00
benoitc
1a7b19fe58 typo. thanks 2010-02-22 19:54:46 +01:00
benoitc
d7341a44b5 remove duplicate by just using another word. 2010-02-22 19:40:06 +01:00
Jannis Leidel
57369b38ba Added example Supervisor configuration 2010-02-22 19:33:50 +01:00
benoitc
85c773098c s/app_name/proc_name. Update faq to say that you can set the
process_name in conf.
2010-02-22 19:15:48 +01:00
benoitc
5ff4b30c28 bump to 0.6 2010-02-22 19:07:20 +01:00
benoitc
b7759a5d75 how to name processes. 2010-02-22 19:06:27 +01:00
benoitc
aea5133183 no cookie for me. but let me the coffee 2010-02-22 18:33:34 +01:00
benoitc
dbc07e669f "applicationi name" -> "processus name" 2010-02-22 18:26:12 +01:00
benoitc
77472845a4 update thanks 2010-02-22 18:19:57 +01:00
benoitc
e208eecf78 new logo, new layout 2010-02-22 18:12:29 +01:00
benoitc
b2012dd40b fix compat with 2.5 of buildweb 2010-02-22 17:52:31 +01:00
benoitc
9c562e27b1 update version 2010-02-22 17:49:12 +01:00
Paul J. Davis
b20a0ace1e Added wsgiref validator to the example. 2010-02-22 11:17:00 -05:00
benoitc
47f755df9d SERVER_PORT should be a string. spotted by lericson on irc. while i'm
here fix tcp bind
2010-02-22 17:02:25 +01:00
benoitc
386fbd6e13 fix umask so we use it only when creating socket. 2010-02-22 16:52:32 +01:00
benoitc
ab4af5abc4 useless now. spotted by @jberstroem on irc. thanks! 2010-02-22 16:36:45 +01:00
benoitc
be280df960 update doc 2010-02-22 16:34:53 +01:00
benoitc
5afec8d726 add setproctitle support. -n allow to customize the name. by default
it's the arg passed to command line for wsgi app, module.settings for
djang and ini file path for paster
2010-02-22 16:29:35 +01:00
benoitc
6c12f313e3 on irc jbergstroem noticed that gunicorn behavior is different than
nginx one in the way it manages processes uid/gid. Only nginx workers
get uid/gid and master if launch as root stay root. This patch give ti
gunicorn the same behavior.
2010-02-22 14:20:06 +01:00
benoitc
0a2585fdc0 update installation doc. add debian systems supports 2010-02-22 09:10:02 +01:00
benoitc
957591f4a2 update news 2010-02-22 08:56:33 +01:00
Benoit Chesneau
6487d6bf6a add debian packaging 2010-02-22 08:49:47 +01:00
benoitc
71a9a1efeb convert umask in one place 2010-02-21 16:43:19 +01:00
benoitc
c47bd5ef2c bump 2010-02-21 15:11:48 +01:00
benoitc
6bddc03db6 default umask 2010-02-21 13:58:26 +01:00