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

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

    <bug>
          <bug_id>26973</bug_id>
          
          <creation_ts>2012-02-22 16:10:32 +0400</creation_ts>
          <short_desc>ntop внезапно падает через случайное время после запуска</short_desc>
          <delta_ts>2018-07-18 22:07:37 +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>ntop</component>
          <version>unstable</version>
          <rep_platform>x86_64</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="Dank Bagryantsev">4alt</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>grenka</cc>
    
    <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>129156</commentid>
    <comment_count>0</comment_count>
    <who name="Dank Bagryantsev">4alt</who>
    <bug_when>2012-02-22 16:10:32 +0400</bug_when>
    <thetext>ntop_4.1.0-alt0.M60P.1 внезапно падает через случайное время после запуска - от 10-15 минут до нескольких часов. Столкнулся с таким поведением на p6, но думаю свойственно и для Сизифа/t6.
В логах никаких причин нет. 
С опцией --trace-level 7 последние записи в syslog&apos;e такие:

Feb 22 12:07:07 gate ntop[553128]:   [rrdPlugin.c:5026] nanosleep({10, 0}, )
Feb 22 12:07:07 gate ntop[553128]:   [ntop.c:685] nanosleep({10, 0}, )
Feb 22 12:07:09 gate ntop[553128]:   [main.c:682] ntopSleepMS(5000)
Feb 22 12:07:09 gate ntop[553128]:   [main.c:682] nanosleep({5, 0}, )
Feb 22 12:07:12 gate ntop[553128]:   [rrdPlugin.c:4872] ntopSleepMS(10000)
Feb 22 12:07:12 gate ntop[553128]:   [rrdPlugin.c:4872] nanosleep({10, 0}, )
Feb 22 12:07:14 gate ntop[553128]:   [main.c:682] ntopSleepMS(5000)
Feb 22 12:07:14 gate ntop[553128]:   [main.c:682] nanosleep({5, 0}, )
Feb 22 12:07:14 gate ntop[553128]:   [ntop.c:736] nanosleep({10, 0}, )
Feb 22 12:07:17 gate ntop[553128]:   [rrdPlugin.c:5525] RRD: Cycle 28 ended, 111 RRDs updated, 0.008 seconds
Feb 22 12:07:17 gate ntop[553128]:   [rrdPlugin.c:5026] ntopSleepMS(300000)
Feb 22 12:07:17 gate ntop[553128]:   [rrdPlugin.c:5026] nanosleep({10, 0}, )
Feb 22 12:07:17 gate ntop[553128]:   [hash.c:498] IDLE_PURGE: Device 0 [ppp20] FINISHED selection, 1382 [out of 5316] hosts selected
Feb 22 12:07:17 gate kernel: [1565627.757089] device lan_local left promiscuous mode

Кстати, обнаружил, что при старте ntop обращается на свой сайт, типа проверка версии. И отсылает через User-Agent часть системной информации:

Feb 22 09:46:58 gate ntop[553128]:   [util.c:5377] CHKVER: Checking current ntop version at version.ntop.org/version.xml
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5131] CHKVER: Sending request: GET /version.xml HTTP/1.0^M Host: version.ntop.org^M User-Agent: ntop/4.1.0+ALTLinux+RPM host/x86_64-2.6.18-ovz-rhel-alt13.M51.18-linux-gnu distro/fedora kernrlse/2.6.32-ovz-el-alt40.M60P.2 GCC/4.5.1 config(build=; host=; execprefix=; bindir=; sbindir=; datadir=; includedir=; libdir=; libexecdir=; localstatedir=; sharedstatedir=; mandir=; infodir=; dependencytracking; includedgettext; static; gnuld; osslroot=; localedir=; snmp; jumboframes) run(daemon; P) libpcap/1.1.1 gdbm/1.8.3. openssl/1.0.0f zlib/1.2.5 access/http interfaces(ppp20, lan_local)^M Accept: */*^M ^M
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5260] CHKVER: http response: 200
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5336] CHKVER: Version file is from &apos;version.ntop.org&apos;
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5337] CHKVER: as of date is &apos;2011-08-15T11:00:47&apos;
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5339] CHKVER: obsolete is    &apos;3.3       &apos; (303000000)
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5340] CHKVER: unsupported is &apos;4.0.3     &apos; (400000003)
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5341] CHKVER: stable is      &apos;4.1.0     &apos; (401000000)
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5342] CHKVER: development is &apos;4.1.1     &apos; (401000001)
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5343] CHKVER: version is     &apos;4.1.0 ALTLinux RPM&apos; (401000000)
Feb 22 09:46:58 gate ntop[553128]:   [util.c:5397] CHKVER: This version of ntop is the CURRENT stable version

Как в дистрибутивах ALT Linux по поводу такого поведения? Пропатчить, чтобы такая информация не отсылалась не надо? Или вообще удалить код проверки версии?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172721</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2018-07-18 22:07:37 +0300</bug_when>
    <thetext>Такого пакета больше нет в сизифе. Закрываю багу.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>