<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>26351</bug_id>
          
          <creation_ts>2011-09-22 17:59:46 +0400</creation_ts>
          <short_desc>Приложение при старте выводит warning в лог.</short_desc>
          <delta_ts>2013-08-07 02:43:36 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>unbound</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gulay Boris">boris</reporter>
          <assigned_to name="Alexei Takaseev">taf</assigned_to>
          <cc>taf</cc>
    
    <cc>valintinr</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125614</commentid>
    <comment_count>0</comment_count>
    <who name="Gulay Boris">boris</who>
    <bug_when>2011-09-22 17:59:46 +0400</bug_when>
    <thetext>При старте приложение жалуется в логе:
&quot;warning: increased limit(open files) from 1024 to 4152&quot;.

Лимит у нас действительно установлен в 1024. Так что нужно либо увеличить лимит (добавить в /etc/security/limits.d/ файл для unbound?), либо изменить умолчания в конфиге так, чтобы &quot;treads*outgoing-range + tcp connections + ~10 misc file descriptors&quot; было меньше 1024 (http://forums.gentoo.org/viewtopic-p-6478049.html). В последнем случае нужно не забывать про рекомендуемое соотношение между outgoing-range и num-queries-per-thread.

В более новых бранчах не смотрел, но, если лимит не изменился, тоэта проблема будет и там.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125624</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-09-22 19:05:29 +0400</bug_when>
    <thetext>Воспроизводится и на Sisyphus. На мейнтейнера.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125629</commentid>
    <comment_count>2</comment_count>
    <who name="Slava Dubrovskiy">dubrsl</who>
    <bug_when>2011-09-23 00:07:05 +0400</bug_when>
    <thetext>Извините за мою тупость, но не понял в чем тут ошибка.
Ну варнинг. Что плохого?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125633</commentid>
    <comment_count>3</comment_count>
    <who name="Gulay Boris">boris</who>
    <bug_when>2011-09-23 12:15:35 +0400</bug_when>
    <thetext>Ворнинг говорит о том, что есть серьёзная проблема, которая может перерости в error. Напомню, что мы обсуждает системный пакет, а не игру и даже не оконный менеджер.
Если мы хотим сделать аналог BalgenOS - то да, проблемы в демонах не имеют значения, главное темку покрасивее натянуть. Если же мы делаем серьёзный дистрибутив, которые ставится, в том числе, и на сервера - то ворнинги в демонах прямо из коробки недопустимы.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>142017</commentid>
    <comment_count>4</comment_count>
    <who name="Slava Dubrovskiy">dubrsl</who>
    <bug_when>2013-08-07 02:36:29 +0400</bug_when>
    <thetext>Исправил в 1.4.20-alt1 если запускть через systemd. С /etc/security/limits.d/ как то не выходит. Подскажите как файл должен выглядеть?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>142018</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2013-08-07 02:43:36 +0400</bug_when>
    <thetext>unbound-1.4.20-alt1 -&gt; sisyphus:

* Mon Aug 05 2013 Slava Dubrovskiy &lt;dubrsl@altlinux&gt; 1.4.20-alt1
- 1.4.20
- Add support for systemd. Fixed (ALT #26351) in case if started by systemd
- Add addon folders /var/lib/unbound/{keys.d,conf.d,local.d}
- Move link /etc/unbound.conf to /etc/unbound/unbound.conf</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>