{"id":47,"date":"2016-10-18T17:51:33","date_gmt":"2016-10-18T17:51:33","guid":{"rendered":"https:\/\/galaxydata.ru\/community\/?p=47"},"modified":"2025-07-23T00:34:31","modified_gmt":"2025-07-22T21:34:31","slug":"optimizaciya-kolichestva-podklyucheniy","status":"publish","type":"post","link":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47","title":{"rendered":"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers &#8212; Tuning the GNU\/Linux Kernel"},"content":{"rendered":"<h2 id=\"File_Handle_Limits\" >Chapter 1. File Handle Limits<\/h2>\n<p>When you&#8217;re serving a lot of traffic it is usually the case that the traffic you&#8217;re serving is coming from a large number of local files.<\/p>\n<p>The kernel has built-in limits on the number of files that a process can open, and raising these limits, at a cost of some system memory, is usually a sane thing to attempt.<\/p>\n<p>You can view the current limit on the number of open-files by running:<\/p>\n<pre class=\"code\">$ cat \/proc\/sys\/fs\/file-max\r\n<\/pre>\n<p>The limit can be raised interactively by running, as <code>root<\/code>:<\/p>\n<pre class=\"code\"># sysctl -w fs.file-max=100000\r\n<\/pre>\n<p>If you wish that change to be made persistently you should append to the file <code>\/etc\/sysctl.conf<\/code> the line:<\/p>\n<pre class=\"code\">fs.file-max = 100000\r\n<\/pre>\n<p>Then run the following command to make your change take effect:<\/p>\n<pre class=\"code\"># sysctl -p\r\n<\/pre>\n<h2 id=\"Socket_Tuning\" >Chapter 2. Socket Tuning<\/h2>\n<p>For servers which are handling large numbers of concurent sessions, there are some TCP options that should probabaly be tweaked.<\/p>\n<p>With a large number of clients comnunicating with your server it wouldn&#8217;t be unusual to have a 20,000 open sockets or more. To increase that range you append the following to the bottom of <code>\/etc\/sysctl.conf<\/code>:<\/p>\n<pre class=\"code\"># Use the full range of ports.\r\nnet.ipv4.ip_local_port_range = 1024 65535\r\n<\/pre>\n<p>You can also increase the recycling time of sockets, avoiding large numbers of them staying in the <code>TIME_WAIT<\/code> status by adding these values to<code>\/etc\/sysctl.conf<\/code>:<\/p>\n<pre class=\"code\"># Enables fast recycling of TIME_WAIT sockets.\r\n# (Use with caution according to the kernel documentation!)\r\nnet.ipv4.tcp_tw_recycle = 1\r\n\r\n# Allow reuse of sockets in TIME_WAIT state for new connections\r\n# only when it is safe from the network stack\u2019s perspective.\r\nnet.ipv4.tcp_tw_reuse = 1\r\n<\/pre>\n<p>Finally one problem you&#8217;ll find is that if a socket is listening and busy a connection-backlog will pile up. The kernel will keep pending connections in a buffer before failing. You can tweak several values to increase the size of the backlog:<\/p>\n<pre class=\"code\">#\r\n# 16MB per socket - which sounds like a lot, but will virtually never\r\n# consume that much.\r\n#\r\nnet.core.rmem_max = 16777216\r\nnet.core.wmem_max = 16777216\r\n\r\n# Increase the number of outstanding syn requests allowed.\r\n# c.f. The use of syncookies.\r\nnet.ipv4.tcp_max_syn_backlog = 4096\r\nnet.ipv4.tcp_syncookies = 1\r\n\r\n# The maximum number of \"backlogged sockets\".  Default is 128.\r\nnet.core.somaxconn = 1024\r\n<\/pre>\n<p>The trade-off here is that a connecting client will see a slow connection, but this is almost certainly better than a <code>Connection Refused<\/code> error.<\/p>\n<p>Once you&#8217;ve made those additions you can cause them to be loaded by running:<\/p>\n<pre class=\"code\"># sysctl -p\r\n<\/pre>\n<p>Finally if you&#8217;ve changed these limits you will need to restart the associated daemons. (For example &#171;<code>service nginx restart<\/code>&#171;.)<\/p>\n<h2 id=\"Process_Scheduler\" >Chapter 3. Process Scheduler<\/h2>\n<p>If you&#8217;re running a recent ( newer than approx 2.6.32) you&#8217;ve got the &#8216;Completely Fair Scheduler&#8217; (CFS) For modern systems serving lots of connections on lots of cores, you may hit issues with process migration.<\/p>\n<p>There&#8217;s a kernel parameter that determines how long a migrated process has to be running before the kernel will consider migrating it again to another core. The sysctl name is <code>sched_migration_cost_ns<\/code>, default value 50000 (that&#8217;s ns so 0.5 ms):<\/p>\n<pre class=\"code\">$ cat \/proc\/sys\/kernel\/sched_migration_cost_ns\r\n<\/pre>\n<p>(It was renamed from sched_migration_cost at some point between 3.5 and 3.8)<\/p>\n<p>Forking servers, like PostgreSQL or Apache, scale to much higher levels of concurrent connections if this is made larger, by at least an order of magnitude:<\/p>\n<p>The limit can be raised interactively by running, as <code>root<\/code>:<\/p>\n<pre class=\"code\"># sysctl -w kernel.sched_migration_cost_ns=5000000\r\n<\/pre>\n<p>If you wish that change to be made persistently you should append to the file <code>\/etc\/sysctl.conf<\/code> the line:<\/p>\n<pre class=\"code\">kernel.sched_migration_cost_ns = 5000000\r\n<\/pre>\n<p>Another parameter that can dramatically impact forking servers is <code>sched_autogroup_enabled<\/code>. This setting groups tasks by TTY, to improve perceived responsiveness on an interactive system. On a server with a long running forking daemon, this will tend to keep child processes from migrating away as soon as they should. It can be disabled like so:<\/p>\n<pre class=\"code\"># sysctl -w kernel.sched_autogroup_enabled=0\r\n<\/pre>\n<p>Various PostgreSQL users have reported (on the postgresql performance mailing list) gains up to 30% on highly concurrent workloads on multi-core systems.<\/p>\n<p>If you wish that change to be made persistently you should append to the file <code>\/etc\/sysctl.conf<\/code> the line:<\/p>\n<pre class=\"code\">kernel.sched_autogroup_enabled = 0\r\n<\/pre>\n<p>Then run the following command to make your change take effect:<\/p>\n<pre class=\"code\"># sysctl -p\r\n<\/pre>\n<h2 id=\"Filesystem_Tuning\" >Chapter 4. Filesystem Tuning<\/h2>\n<p>You almost certainly want to disable the &#171;<code>atime<\/code>&#187; option on your filesystems.<\/p>\n<p>With this disabled that the last time a file was accessed won&#8217;t be constantly updated every time you read a file, since this information isn&#8217;t generally useful inand causes extra disk hits, its typically disabled.<\/p>\n<p>To do this, just edit <code>\/etc\/fstab<\/code> and add &#171;notime&#187; as a mount option for the filesystem. For example:<\/p>\n<pre class=\"code\">    \/dev\/rd\/c0d0p3          \/test                    ext3    noatime        1 2\r\n<\/pre>\n<h2 id=\"Swap_Tuning\" >Chapter 5. Swap Tuning<\/h2>\n<ul>\n<li><strong>TODO<\/strong><\/li>\n<\/ul>\n<h2 id=\"RAID_Tuning\" >Chapter 6. RAID Tuning<\/h2>\n<p>It seems to be the case that if you have the <code>deadline<\/code> scheduler this is best for RAID setups, however this is something that you&#8217;ll want to test yourself.<\/p>\n<p>Boot your kernel with <code>elevator=deadline<\/code> appended to the command-line and compare the result via your favourite <a href=\"https:\/\/tweaked.io\/benchmarking\/#fs\">filesystem test<\/a>.<\/p>\n<p>Thank by:\u00a0https:\/\/tweaked.io\/guide\/kernel\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>File Handle Limits When you&#8217;re serving a lot of traffic it is usually the case that the traffic you&#8217;re serving is coming from a large number of local files. The&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.4 (Yoast SEO v25.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers - Tuning the GNU\/Linux Kernel - GalaxyData Community<\/title>\n<meta name=\"description\" content=\"Learn effective methods to increase connection capacity and reduce latency on high-traffic servers running GNU\/Linux systems. This guide covers essential parameters for improving scalability and stability under heavy loads.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers - Tuning the GNU\/Linux Kernel\" \/>\n<meta property=\"og:description\" content=\"Learn effective methods to increase connection capacity and reduce latency on high-traffic servers running GNU\/Linux systems. This guide covers essential parameters for improving scalability and stability under heavy loads.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47\" \/>\n<meta property=\"og:site_name\" content=\"GalaxyData Community\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/vk.com\/galaxydata\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-18T17:51:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-22T21:34:31+00:00\" \/>\n<meta name=\"author\" content=\"Eduard Yamaltdinov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eduard Yamaltdinov\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47#article\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47\"},\"author\":{\"name\":\"Eduard Yamaltdinov\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\"},\"headline\":\"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers &#8212; Tuning the GNU\/Linux Kernel\",\"datePublished\":\"2016-10-18T17:51:33+00:00\",\"dateModified\":\"2025-07-22T21:34:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47\"},\"wordCount\":656,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47\",\"url\":\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47\",\"name\":\"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers - Tuning the GNU\/Linux Kernel - GalaxyData Community\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\"},\"datePublished\":\"2016-10-18T17:51:33+00:00\",\"dateModified\":\"2025-07-22T21:34:31+00:00\",\"description\":\"Learn effective methods to increase connection capacity and reduce latency on high-traffic servers running GNU\/Linux systems. This guide covers essential parameters for improving scalability and stability under heavy loads.\",\"breadcrumb\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/galaxydata.ru\/community\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers &#8212; Tuning the GNU\/Linux Kernel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"name\":\"GalaxyData Community\",\"description\":\"Tutorial for Cloud VDS\",\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/galaxydata.ru\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\",\"name\":\"GalaxyData Community\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2025\/07\/favicon_from_logo_32x32_gd.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2025\/07\/favicon_from_logo_32x32_gd.png\",\"width\":32,\"height\":32,\"caption\":\"GalaxyData Community\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/vk.com\/galaxydata\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\",\"name\":\"Eduard Yamaltdinov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"caption\":\"Eduard Yamaltdinov\"},\"description\":\"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.\",\"url\":\"https:\/\/galaxydata.ru\/community\/author\/galaxydata\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers - Tuning the GNU\/Linux Kernel - GalaxyData Community","description":"Learn effective methods to increase connection capacity and reduce latency on high-traffic servers running GNU\/Linux systems. This guide covers essential parameters for improving scalability and stability under heavy loads.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47","og_locale":"ru_RU","og_type":"article","og_title":"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers - Tuning the GNU\/Linux Kernel","og_description":"Learn effective methods to increase connection capacity and reduce latency on high-traffic servers running GNU\/Linux systems. This guide covers essential parameters for improving scalability and stability under heavy loads.","og_url":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47","og_site_name":"GalaxyData Community","article_publisher":"https:\/\/vk.com\/galaxydata","article_published_time":"2016-10-18T17:51:33+00:00","article_modified_time":"2025-07-22T21:34:31+00:00","author":"Eduard Yamaltdinov","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"Eduard Yamaltdinov","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"4 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47#article","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47"},"author":{"name":"Eduard Yamaltdinov","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b"},"headline":"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers &#8212; Tuning the GNU\/Linux Kernel","datePublished":"2016-10-18T17:51:33+00:00","dateModified":"2025-07-22T21:34:31+00:00","mainEntityOfPage":{"@id":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47"},"wordCount":656,"commentCount":0,"publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"articleSection":["Linux"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47#respond"]}]},{"@type":"WebPage","@id":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47","url":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47","name":"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers - Tuning the GNU\/Linux Kernel - GalaxyData Community","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/#website"},"datePublished":"2016-10-18T17:51:33+00:00","dateModified":"2025-07-22T21:34:31+00:00","description":"Learn effective methods to increase connection capacity and reduce latency on high-traffic servers running GNU\/Linux systems. This guide covers essential parameters for improving scalability and stability under heavy loads.","breadcrumb":{"@id":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/galaxydata.ru\/community\/optimizaciya-kolichestva-podklyucheniy-47#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/galaxydata.ru\/community"},{"@type":"ListItem","position":2,"name":"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Optimizing servers &#8212; Tuning the GNU\/Linux Kernel"}]},{"@type":"WebSite","@id":"https:\/\/galaxydata.ru\/community\/#website","url":"https:\/\/galaxydata.ru\/community\/","name":"GalaxyData Community","description":"Tutorial for Cloud VDS","publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/galaxydata.ru\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/galaxydata.ru\/community\/#organization","name":"GalaxyData Community","url":"https:\/\/galaxydata.ru\/community\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2025\/07\/favicon_from_logo_32x32_gd.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2025\/07\/favicon_from_logo_32x32_gd.png","width":32,"height":32,"caption":"GalaxyData Community"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/vk.com\/galaxydata"]},{"@type":"Person","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b","name":"Eduard Yamaltdinov","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","caption":"Eduard Yamaltdinov"},"description":"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.","url":"https:\/\/galaxydata.ru\/community\/author\/galaxydata"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":1,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":2053,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/47\/revisions\/2053"}],"wp:attachment":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}