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

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

    <bug>
          <bug_id>8452</bug_id>
          
          <creation_ts>2005-11-10 07:32:39 +0300</creation_ts>
          <short_desc>потери памяти netams при обработке schedule (&quot;send report to ...&quot;) в случае недоступности smtp-server</short_desc>
          <delta_ts>2005-12-12 17:18:19 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>netams</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>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vlad Panchenko">vlad.kadastr</reporter>
          <assigned_to name="ahtoh">ahtoh</assigned_to>
          <cc>serpiph</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>32960</commentid>
    <comment_count>0</comment_count>
    <who name="Vlad Panchenko">vlad.kadastr</who>
    <bug_when>2005-11-10 07:32:39 +0300</bug_when>
    <thetext>при &quot;близкой&quot; недоступности указанного smtp входит в цикл с выдачей в лог:
--------------
10.01.2000 05:53:43.9888 scheduler:0 [INFO]: time to exec task 05E1B3 &quot;send
report to admin on LAN on NETWORK+&quot;
10.01.2000 05:53:43.9916 scheduler:0 [INFO]: time to exec task 08FFFF &quot;html&quot;
10.01.2000 05:53:43.9945 alerter:0 [ERR]: connect of socket failed: 111,
(Connection refused)
Possibly no SMTP servers there!
localhost
10.01.2000 05:53:43.9958 alerter:0 [ERR]: connect of socket failed: 111,
(Connection refused)
Possibly no SMTP servers there!
localhost
10.01.2000 05:53:43.9968 alerter:0 [ERR]: connect of socket failed: 111,
(Connection refused)
Possibly no SMTP servers there!
localhost
...
------------
при этом через пару минут ситуация усугубляется тем, что кернел в растерянности
начинает грохать задачи и одним из первых mysqld после чего логи с
ругательствами netams вмиг разрастаются уже и до предела диска - в результате
получаем почти мертвую машину и админа в полном недоумении
Steps to Reproduce:
1.ставим по дефолту netams
2.забываем указать ему правильный smtp-server (оставляем localhost)
3. в ближайшие нуль-ноль часов срочно ищем в аптечке корвалол :)
Actual Results:  
все умирает


Expected Results:  
должно хоть шо то жить</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32961</commentid>
    <comment_count>1</comment_count>
    <who name="Vlad Panchenko">vlad.kadastr</who>
    <bug_when>2005-11-10 07:36:19 +0300</bug_when>
    <thetext>забыл уточнить 

uname -a
Linux kadastr 2.6.12-wks26-up-alt4 #1 Tue Aug 9 14:06:25 MSD 2005 i686 GNU/Linux

&gt;show version
NeTAMS version 3.3.0 (build 2692.1) builder@xeon.office.altlinux.ru / Fri Sep  9
18:30:18 MSD 2005
Run time: 26 mins 7.5148 secs
System time: 0.0020 secs
Average CPU/system load: 0.00%
Process ID: 26869 RES: 0K
Memory allocated: 751800 (5528), freed (501) (0 NULL) [5027 used]

Total objects:
   Oids used: 13
   NetUnits: 4
   Policies: 6
   Services: 11
   Users: 2
   Connections: 2 active, 2 total
   Scheduled tasks: 2
Alerter 0 queue max: 255, current: 0

Services info:
 Storage ID=1 type MYSQL wr_q 0/119 rd_q 0/76
 Data-source ID=1 type LIBPCAP source ppp0:0 loop 8935 average 162624 mcsec
    Perf: average skew delay 154983 mcsec, PPS: 6, BPS: 901
&gt;   </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32962</commentid>
    <comment_count>2</comment_count>
    <who name="Vlad Panchenko">vlad.kadastr</who>
    <bug_when>2005-11-10 07:40:50 +0300</bug_when>
    <thetext>может вообще пока этот schedule выключить ?
кому надо - пусть включит и сам потом разбирается
да пару слов написать в  netams-README.ALT </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33635</commentid>
    <comment_count>3</comment_count>
    <who name="ahtoh">ahtoh</who>
    <bug_when>2005-12-08 15:36:46 +0300</bug_when>
    <thetext>Исправлено авторами в новой версии</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>