{"id":2616,"date":"2014-09-23T15:48:59","date_gmt":"2014-09-23T19:48:59","guid":{"rendered":"http:\/\/blog.litespeedtech.com\/?p=2616"},"modified":"2014-09-23T15:48:59","modified_gmt":"2014-09-23T19:48:59","slug":"litespeed-web-server-5-0-release-candidate-2-more-stable-virtual-host-level-bandwidth-throttling","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2014\/09\/23\/litespeed-web-server-5-0-release-candidate-2-more-stable-virtual-host-level-bandwidth-throttling\/","title":{"rendered":"LiteSpeed Web Server 5.0 Release Candidate 2: More Stable, Virtual Host-Level Bandwidth Throttling"},"content":{"rendered":"<p>We are very proud to announce the release of LSWS 5.0 RC2. RC2 fixes all known bugs with LSWS 5.0 RC1 and adds vhost-level bandwidth throttling (as well as other minor\u00a0functionality).<!--more--><\/p>\n<h3>Virtual Host-Level Bandwidth Throttling<\/h3>\n<p>For LSWS 5.0, we have added vhost-level bandwidth throttling. This is an extension of our current <a title=\"Per Client Throttling Settings\" href=\"http:\/\/www.litespeedtech.com\/docs\/webserver\/config\/security#perClientConnLimit\">Per Client Throttling settings<\/a>, which allow you to control the amount of stress\u00a0a\u00a0single IP can put on your server. These settings are one of our most popular features because of the ways they mitigate DoS attacks. <strong>Our new vhost-level settings will allow you to customize bandwidth throttling,\u00a0in Apache configs, for particular virtual hosts.<\/strong>\u00a0This allows you to set up stricter settings for sites that you know are targets or more lenient settings for sites that might require a lot of bandwidth going to one IP.\u00a0(This has been available for some time in\u00a0vhosts with LSWS-native configs.) It also allows for throttling bandwidth by file type and size.<\/p>\n<p>Our implementation of this bandwidth throttling follows the <a title=\"mod_bw documentation\" href=\"http:\/\/bwmod.sourceforge.net\/files\/mod_bw-0.7.txt\">syntax used by Apache&#8217;s mod_bw<\/a>. Bandwidth throttling directives can only be placed in virtual host configuration file, not an .htaccess file. Some example settings would include:<\/p>\n<p><code>BandWidth all 102400<\/code><\/p>\n<p>This would limit the total bandwidth allowed to this virtual host to 100KB\/s.<\/p>\n<p><code>BandWidth all 50000<br \/>\nMinBandWidth all -1<\/code><\/p>\n<p>This limits each client to 50KB\/s with no maximum total bandwidth.<\/p>\n<p><code>LargeFileLimit .avi 500 10240<\/code><\/p>\n<p>This limits AVI files over 500KB to 10KB\/s bandwidth to prevent large video files from hogging your bandwidth.<\/p>\n<p>Other directives are not supported. We will have detailed documentation for this feature in our wiki soon.\u00a0<strong>Update: <\/strong>Our guide to vhost-level bandwidth throttling can be found <a title=\"Vhost-level bandwidth throttling wiki\" href=\"http:\/\/www.litespeedtech.com\/support\/wiki\/doku.php?id=litespeed_wiki:config:vhost-level_bw_throttling\">here<\/a>.<\/p>\n<h3>More Stability<\/h3>\n<p>This release is a big step on the way to releasing a stable LSWS 5.0. There are a lot of highly anticipated features going into this release:<\/p>\n<ul>\n<li><a title=\"LiteSpeed Web Server 5.0 RC 1 Released: SPDY\/3.1, ESI Support, and More!\" href=\"http:\/\/blog.litespeedtech.com\/2014\/02\/18\/litespeed-web-server-5-0-rc-1-released-spdy3-1-esi-support-and-more\/\">SPDY\/3.1 and 3.0 support<\/a><\/li>\n<li><a title=\"LSWS 5.0: LSCache\u2019s ESI Support Will Speed Up Web Applications\" href=\"http:\/\/blog.litespeedtech.com\/2014\/02\/19\/lsws-5-0-lscaches-esi-support-will-speed-up-web-applications\/\">ESI support<\/a><\/li>\n<li><a title=\"LiteSpeed Web Server 5.0 RC 1 Released: SPDY\/3.1, ESI Support, and More!\" href=\"http:\/\/blog.litespeedtech.com\/2014\/02\/18\/litespeed-web-server-5-0-rc-1-released-spdy3-1-esi-support-and-more\/\">WebSocket proxying<\/a><\/li>\n<li>Virtual host-level bandwidth throttling<\/li>\n<li>A myriad of new Apache settings supported<\/li>\n<\/ul>\n<p>We request all users who can\u00a0to please <a title=\"Download 5.0RC2\" href=\"http:\/\/www.litespeedtech.com\/products\/litespeed-web-server\/download\">give LSWS 5.0 RC2 a try<\/a>. The more users who try it, the faster we can get it stable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are very proud to announce the release of LSWS 5.0 RC2. RC2 fixes all known bugs with LSWS 5.0 RC1 and adds vhost-level bandwidth throttling (as well as other minor\u00a0functionality).<\/p>\n","protected":false},"author":1,"featured_media":3407,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27],"tags":[],"class_list":["post-2616","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-server"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2015\/10\/Buildings_Skyscrapers_Night_Freeway_Highway_Lights_Timelapse_650x3002.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/2616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/comments?post=2616"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/2616\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/3407"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=2616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=2616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=2616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}