Deprecated: Creation of dynamic property wpdb::$categories is deprecated in /usr/home/bugyo/public_html/b-log/wp-includes/wp-db.php on line 668

Deprecated: Creation of dynamic property wpdb::$post2cat is deprecated in /usr/home/bugyo/public_html/b-log/wp-includes/wp-db.php on line 668

Deprecated: Creation of dynamic property wpdb::$link2cat is deprecated in /usr/home/bugyo/public_html/b-log/wp-includes/wp-db.php on line 668

Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-theme.php on line 554

Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-theme.php on line 595

Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-theme.php on line 535

Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-theme.php on line 544

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /usr/home/bugyo/public_html/b-log/wp-includes/comment-template.php on line 1739

Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-request.php on line 960

Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-request.php on line 980

Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-request.php on line 992

Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-request.php on line 1003

Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 151

Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 175

Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 164

Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 186

Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 138

Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 75

Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 89

Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 110

Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 127

Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php on line 199

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/home/bugyo/public_html/b-log/wp-includes/wp-db.php on line 3030

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/bugyo/public_html/b-log/wp-includes/class-wp-block-list.php:14) in /usr/home/bugyo/public_html/b-log/wp-includes/rest-api/class-wp-rest-server.php on line 1642
{"id":50,"date":"2008-05-28T17:58:14","date_gmt":"2008-05-28T08:58:14","guid":{"rendered":"http:\/\/www.kitcc.org\/~bugyo\/wordpress\/archives\/50"},"modified":"2009-03-04T11:54:54","modified_gmt":"2009-03-04T02:54:54","slug":"mod_limitipconn2%e3%81%a7%e6%8e%a5%e7%b6%9a%e6%95%b0%e5%88%b6%e9%99%90","status":"publish","type":"post","link":"https:\/\/blog.bugyo.tk\/b-log\/archives\/50","title":{"rendered":"mod_limitipconn2\u3067\u63a5\u7d9a\u6570\u5236\u9650"},"content":{"rendered":"

MovableType\u306b\u30b9\u30d1\u30e0\u30b3\u30e1\u30f3\u30c8\u304c\u5927\u91cf\u306b\u304f\u308b\u306e\u3067\u5bfe\u7b56\u3002
\n\u4eca\u307e\u3067\u306f\u30ed\u30b0\u304b\u3089\u305d\u308c\u3063\u307d\u3044IP\u30a2\u30c9\u30ec\u30b9\u3092\u629c\u304d\u51fa\u3057\u3066\u304d\u3066.htaccess\u3067\u5236\u9650\u3001
\n\u306e\u3088\u3046\u306a\u3053\u3068\u3092\u3057\u3066\u3044\u305f\u306e\u3060\u3051\u308c\u3069\u6b21\u304b\u3089\u6b21\u306b\u65b0\u3057\u3044IP\u30a2\u30c9\u30ec\u30b9\u304c\u73fe\u308c\u308b\u306e\u3067\u56f0\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3002
\n\u4eca\u56de\u306fmod_limitipconn\u3092\u5165\u308c\u3066\u307f\u305f\u3002
\nports\u304b\u3089\u306fwww\/mod__limitipconn2\u3002\u7121\u5370\u306f1.3.x\u7cfb\u7528\u30012\u306f2.x\u7cfb\u7528\u3089\u3057\u3044\u3002<\/p>\n

httpd.conf\u306b\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0<\/p>\n

\n<VirtualHost blog.bugyo.tk>\nDocumentRoot \/home\/blog\n\n<IfModule mod_limitipconn.c>\n<Location \/mt>\nMaxConnPerIP 2\n<\/Location>\n<\/IfModule>\n<\/VirtualHost>\n<\/pre>\n

\/mt\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308bIP\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\uff12\u3064\u306b\u5236\u9650\u3057\u3066\u3044\u308b\u3002
\nVirtualHost\u306b\u3057\u3066\u3044\u308b\u306e\u3067VirtualHost\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u5185\u306b\u8a18\u8ff0\u3002
\nApache\u3092\u518d\u8d77\u52d5\u3002
\n\u3068\u308a\u3042\u3048\u305a\u306f\u3053\u308c\u3067\u4e8b\u8db3\u308a\u308b\u306f\u305a\u3002<\/p>\n

ApacheBench\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3002<\/p>\n

\n# ab -n 10 -c 10 http:\/\/blog.bugyo.tk\/mt\/mt-comments.cgi\n<\/pre>\n

10\u30a2\u30af\u30bb\u30b9\u306e\u3046\u30618\u30a2\u30af\u30bb\u30b9\u304c503\u3060\u3063\u305f\u306e\u3067\u6210\u529f\u3057\u3066\u3044\u308b\u3088\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

MovableType\u306b\u30b9\u30d1\u30e0\u30b3\u30e1\u30f3\u30c8\u304c\u5927\u91cf\u306b\u304f\u308b\u306e\u3067\u5bfe\u7b56\u3002 \u4eca\u307e\u3067\u306f\u30ed\u30b0\u304b\u3089\u305d\u308c\u3063\u307d\u3044IP\u30a2\u30c9\u30ec\u30b9\u3092\u629c\u304d\u51fa\u3057\u3066\u304d\u3066.htaccess\u3067\u5236\u9650\u3001 \u306e\u3088\u3046\u306a\u3053\u3068\u3092\u3057\u3066\u3044\u305f\u306e\u3060\u3051\u308c\u3069\u6b21\u304b\u3089\u6b21\u306b\u65b0\u3057\u3044IP\u30a2\u30c9\u30ec\u30b9\u304c\u73fe\u308c\u308b\u306e\u3067\u56f0\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3002 \u4eca\u56de\u306fmod_limitipconn\u3092\u5165\u308c\u3066\u307f\u305f\u3002 ports\u304b\u3089\u306fwww\/mod__limitipconn2\u3002\u7121\u5370\u306f1.3.x\u7cfb\u7528\u30012\u306f2.x\u7cfb\u7528\u3089\u3057\u3044\u3002 httpd.conf\u306b\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0 <VirtualHost blog.bugyo.tk> DocumentRoot \/home\/blog <IfModule mod_limitipconn.c&gt <Location \/mt> MaxConnPerIP 2 <\/Location> <\/IfModule> <\/VirtualHost> \/mt\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308bIP\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\uff12\u3064\u306b\u5236\u9650\u3057\u3066\u3044\u308b\u3002 VirtualHost\u306b\u3057\u3066\u3044\u308b\u306e\u3067VirtualHost\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u5185\u306b\u8a18\u8ff0\u3002 Apache\u3092\u518d\u8d77\u52d5\u3002 \u3068\u308a\u3042\u3048\u305a\u306f\u3053\u308c\u3067\u4e8b\u8db3\u308a\u308b\u306f\u305a\u3002 ApacheBench\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3002 # ab -n 10 -c 10 http:\/\/blog.bugyo.tk\/mt\/mt-comments.cgi 10\u30a2\u30af\u30bb\u30b9\u306e\u3046\u30618\u30a2\u30af\u30bb\u30b9\u304c503\u3060\u3063\u305f\u306e\u3067\u6210\u529f\u3057\u3066\u3044\u308b\u3088\u3046\u3002 Continue reading mod_limitipconn2\u3067\u63a5\u7d9a\u6570\u5236\u9650<\/span>→<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[60,6,47],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/posts\/50"}],"collection":[{"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":2,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":249,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/posts\/50\/revisions\/249"}],"wp:attachment":[{"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bugyo.tk\/b-log\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}