{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "MPAK`s page: заметки с тегом #postgresql10",
    "_rss_description": "Подсказки для себя..",
    "_rss_language": "ru",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/ae79.ru\/tags\/postgresql10\/",
    "feed_url": "https:\/\/ae79.ru\/tags\/postgresql10\/json\/",
    "icon": "https:\/\/ae79.ru\/pictures\/userpic\/userpic@2x.jpg?1536141104",
    "authors": [
        {
            "name": "MPAK",
            "url": "https:\/\/ae79.ru\/",
            "avatar": "https:\/\/ae79.ru\/pictures\/userpic\/userpic@2x.jpg?1536141104"
        }
    ],
    "items": [
        {
            "id": "16",
            "url": "https:\/\/ae79.ru\/all\/izmenenie-max-stack-depth\/",
            "title": "Изменение max_stack_depth",
            "content_html": "<p>Если изменение max_stack_depth в конфигурационном файле постгресса приводит к невозможности запуска с ошибкой типа:<\/p>\n<pre class=\"e2-text-code\"><code class=\"bash\">\nLOG:  invalid value for parameter \"max_stack_depth\": 20480\nDETAIL:  \"max_stack_depth\" must not exceed 7680kB.\nHINT:  Increase the platform's stack depth limit via \"ulimit -s\" or local equiv\npostgresql-10.service: main process exited, code=exited, status=1\/FAILURE\n<\/code>\n<\/pre>\n<p>наплевав на то, что ulimit -s > 8M, то надо в файле конфигурации постгресса в systemd<br \/>\n(например \/etc\/systemd\/system\/multi-user.target.wants\/postgresql-10.service) в секции Service добавить строку:<\/p>\n<pre class=\"e2-text-code\"><code class=\"bash\">\n[Service]\nLimitSTACK=infinity\n....... \n<\/code>\n<\/pre>\n<p>потому что он, оказывается, игнорирует настройки лимитов из \/etc\/security\/limits.conf<br \/>\nзатем, естественно,<\/p>\n<pre class=\"e2-text-code\"><code class=\"bash\">\nsystemctl daemon-reload\n<\/code>\n<\/pre>\n<p>и запускать постгресс<\/p>\n",
            "date_published": "2019-12-15T10:25:53+05:00",
            "date_modified": "2019-12-15T10:33:06+05:00",
            "tags": [
                "#centos7",
                "#postgresql10"
            ],
            "_date_published_rfc2822": "Sun, 15 Dec 2019 10:25:53 +0500",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "16",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [],
                "og_images": []
            }
        }
    ],
    "_e2_version": 4134,
    "_e2_ua_string": "Aegea 11.3 (v4134)"
}