|
|
| Author |
Message |
< Yaws mailing list ~ limit persistent connection reuse with keepalive_maxuses |
| Guest |
Posted: Wed Apr 14, 2010 6:34 am |
|
|
|
Guest
|
Hi Claes,
Thanks for pulling my last patch and letting me know the correct pull
syntax. As such, here is another feature you might be interested in.
It's a new configuration option, some examples are:
# Default behavior
keepalive_maxuses = nolimit
# Close persistent connections after 200 requests.
keepalive_maxuses = 200
As the name suggests, this lets the admin decide the max number of
requests it will allow over the same connection when using keepalive.
The default retains the current behavior which does not apply any limit.
This option again is (for us anyway) aimed at erlang garbage collection
problems with long running persistent connections. It is also useful for
other reasons I'm sure.
Here is the pull url:
# git pull git://github.com/tpodowd/yaws.git keepalive_maxuses
This patch was written by one of the other guys on the team and I've
modified it slightly, added configuration and a man page entry for
inclusion in yaws. Thanks Saito-san!
Anyway, our memory woes are much improved with these last two steps (the
process_options and keepalive_maxuses configs) so I'm hoping others will
see a benefit too.
Enjoy!
Tom.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|