Jump to content
  • 1

service ntce


vasek00

Question

37А6 после запуска сервиса ntce сейчас завален логами и не много стат.информации по его работе.

Скрытый текст

[I] Apr 27 08:53:22 ntce-pace2: received 14 packets, 456745875 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 08:53:22 ntce-pace2: PACE2 pushes: 1241965, packets: 1241962, bytes: 168887344. 
[I] Apr 27 08:53:32 ntce-pace2: received 1013 packets, 456905441 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 08:53:32 ntce-pace2: PACE2 pushes: 1242886, packets: 1242762, bytes: 168961515. 
[I] Apr 27 08:53:44 ntce-pace2: received 322 packets, 456944453 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 08:53:44 ntce-pace2: PACE2 pushes: 1243196, packets: 1243194, bytes: 168998116. 
[I] Apr 27 08:53:55 ntce-pace2: received 20 packets, 456948097 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 08:53:55 ntce-pace2: pace2 packets: 1243204, bytes: 169001026. 
[I] Apr 27 08:54:05 ntce-pace2: received 246 packets, 457016528 bytes, 0 dropped, frzq: 0. 
...
[I] Apr 27 14:35:10 ntce-pace2: received 3 packets, 478935110 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:35:10 ntce-pace2: pace2 packets: 1294016, bytes: 179229583. 
[I] Apr 27 14:35:20 ntce-pace2: received 7 packets, 478935628 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:35:20 ntce-pace2: PACE2 pushes: 1294025, packets: 1294025, bytes: 179230157. 
[I] Apr 27 14:35:30 ntce-pace2: received 0 packets, 478935628 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:35:30 ntce-pace2: pace2 packets: 1294025, bytes: 179230157. 
[I] Apr 27 14:35:41 ntce-pace2: received 7 packets, 478936230 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:35:41 ntce-pace2: PACE2 pushes: 1294032, packets: 1294029, bytes: 179230385. 
[I] Apr 27 14:35:52 ntce-pace2: received 114 packets, 478972104 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:35:52 ntce-pace2: pace2 packets: 1294085, bytes: 179235362. 
[I] Apr 27 14:36:03 ntce-pace2: received 148 packets, 479021097 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:36:03 ntce-pace2: PACE2 pushes: 1294198, packets: 1294173, bytes: 179243638. 
[I] Apr 27 14:36:14 ntce-pace2: received 115 packets, 479057614 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:36:14 ntce-pace2: PACE2 pushes: 1294273, packets: 1294253, bytes: 179251042. 
[I] Apr 27 14:36:25 ntce-pace2: received 160 packets, 479107723 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:36:25 ntce-pace2: PACE2 pushes: 1294377, packets: 1294299, bytes: 179254576. 

 ntce0:       0       0    0    0    0     0          0         0 479215437 1709381    0    0    0     0       0          0
  eth2: 1997837609 14325532    0    0    0     0          0    507191 32800511457 33464330    0    0    0     0       0          0
   br0: 531358345 3715694    0    0    0     0          0    436225 7509919484 15090705    0    0    0     0       0          0
  ppp0: 31773565891 32057576    0    0    0     0          0         0 1513407311 12603583    0    0    0     0       0          0
  eth3: 32556768075 32255261    0 170368    0     0          0    173741 1846855136 12695093    0    0    0     0       0          0
eth2.4: 19513392  227145    0    0    0     0          0     70883  1730656   29326    0    0    0     0       0          0
eth2.1: 531365390 3715809    0    0    0     0          0    436308 7716782712 15090707    0    0    0     0       0          0

 1973 nobody   22540 S    /usr/bin/ntce-pace2 -u nobody -o /var/run/ntce.sock -i ntce0 -s 192.168.1.0/255.255.255.0 -P


ntce0     Link encap:Ethernet  HWaddr 26:хх:хх:хх:хх:хх  
          inet6 addr: fe80::хххх:хххх:хххх:хххх/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1714321 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:480826191 (458.5 MiB)

    <process id="Ntce::Manager">
        <name>ntce-pace2</name>
        <oom-adj>5</oom-adj>
        <oom-score>341</oom-score>
        <oom-score-adj>333</oom-score-adj>
        <arg>-u</arg>
        <arg>nobody</arg>
        <arg>-o</arg>
        <arg>/var/run/ntce.sock</arg>
        <arg>-i</arg>
        <arg>ntce0</arg>
        <arg>-s</arg>
        <arg>192.168.1.0/255.255.255.0</arg>
        <arg>-P</arg>
        <state>S (sleeping)</state>
        <pid>1973</pid>
        <ppid>267</ppid>
        <vm-size>22544 kB</vm-size>
        <vm-rss>20864 kB</vm-rss>
        <vm-data>12944 kB</vm-data>
        <vm-stk>132 kB</vm-stk>
        <vm-exe>4016 kB</vm-exe>
        <vm-lib>1344 kB</vm-lib>
        <vm-swap>0 kB</vm-swap>
        <threads>1</threads>
        <fds>7</fds>
        <statistics>
            <interval>30</interval>
            <cpu>
                <now>340791.253363</now>
                <min>0</min>
                <max>1</max>
                <avg>0</avg>
                <cur>0</cur>
            </cpu>
        </statistics>

              <thread>
            <name>NTCE PACE2 event sink</name>
            <tid>612</tid>
            <lock_list_complete>yes</lock_list_complete>
            <locks/>
            <statistics>
                <interval>30</interval>
                <cpu>
                    <now>340791.243038</now>
                    <min>0</min>
                    <max>0</max>
                    <avg>0</avg>
                    <cur>0</cur>
                </cpu>
            </statistics>
        </thread>
<thread>
            <name>NTCE PACE2 conntrack listener</name>
            <tid>611</tid>
            <lock_list_complete>yes</lock_list_complete>
            <locks/>
            <statistics>
                <interval>30</interval>
                <cpu>
                    <now>340791.243016</now>
                    <min>0</min>
                    <max>5</max>
                    <avg>0</avg>
                    <cur>1</cur>
                </cpu>
            </statistics>
        </thread>

 

При старте


/proc/1973 # cat status
Name:   ntce-pace2
Umask:  0022
State:  S (sleeping)
Tgid:   1973
Ngid:   0
Pid:    1973
PPid:   267
TracerPid:      0
Uid:    65534   65534   65534   65534
Gid:    65534   65534   65534   65534
FDSize: 256
Groups:  
VmPeak:    22184 kB
VmSize:    22144 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:     20544 kB
VmRSS:     20536 kB
RssAnon:           12344 kB
RssFile:            8192 kB
RssShmem:              0 kB
VmData:    12544 kB
VmStk:       132 kB
VmExe:      4016 kB
VmLib:      1344 kB
VmPTE:        36 kB
VmPMD:         0 kB
VmSwap:        0 kB
Threads:        1
SigQ:   1/1987
SigPnd: 00000000000000000000000000000000
ShdPnd: 00000000000000000000000000000000
SigBlk: fffffffffffffffffffffffc7fbfba54
SigIgn: 00000000000000000000000000001000
SigCgt: 00000000000000000000000000004002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
Speculation_Store_Bypass:       unknown
Cpus_allowed:   f
Cpus_allowed_list:      0-3
voluntary_ctxt_switches:        590
nonvoluntary_ctxt_switches:     3
/proc/1973 # 

Через 3 дня и 23часа


/proc/1973 # cat status
Name:   ntce-pace2
Umask:  0022
State:  S (sleeping)
Tgid:   1973
Ngid:   0
Pid:    1973
PPid:   267
TracerPid:      0
Uid:    65534   65534   65534   65534
Gid:    65534   65534   65534   65534
FDSize: 256
Groups:  
VmPeak:    23888 kB
VmSize:    22540 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:     22756 kB
VmRSS:     20984 kB
RssAnon:           12740 kB
RssFile:            8244 kB
RssShmem:              0 kB
VmData:    12940 kB
VmStk:       132 kB
VmExe:      4016 kB
VmLib:      1344 kB
VmPTE:        36 kB
VmPMD:         0 kB
VmSwap:        0 kB
Threads:        1
SigQ:   1/1987
SigPnd: 00000000000000000000000000000000
ShdPnd: 00000000000000000000000000000000
SigBlk: fffffffffffffffffffffffc7fbfba54
SigIgn: 00000000000000000000000000001000
SigCgt: 00000000000000000000000000004002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
Speculation_Store_Bypass:       unknown
Cpus_allowed:   f
Cpus_allowed_list:      0-3
voluntary_ctxt_switches:        248614
nonvoluntary_ctxt_switches:     5151
/proc/1973 # 

 

 

  • Upvote 1
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

На kn1810 со включённым transmission расход памяти +25 и выше , процессор +много. В итоге параметры держались около 80-90 % и там и там.
В веб интерфейс заходит долго, по вкладкам ходит долго, в логах записи об out of memory. 
Долго не экспериментировал - удалил компонент. Теперь процессор 0-15 %, память в среднем 65%. 
Что я потерял удалив этот компонент ?

Link to comment
Share on other sites

  • 0
21 минуту назад, Unfaithful сказал:

На kn1810 со включённым transmission расход памяти +25 и выше , процессор +много. В итоге параметры держались около 80-90 % и там и там.
В веб интерфейс заходит долго, по вкладкам ходит долго, в логах записи об out of memory. 
Долго не экспериментировал - удалил компонент. Теперь процессор 0-15 %, память в среднем 65%. 
Что я потерял удалив этот компонент ?

Пока не чего

Link to comment
Share on other sites

  • 0

На KN-1010 аналогичная проблема.

Скрытый текст
Апр 27 18:03:57
ntce-pace2
received 0 packets, 114028 bytes, 0 dropped, frzq: 0.
Апр 27 18:03:57
ntce-pace2
pace2 packets: 1072, bytes: 83921.

 

Link to comment
Share on other sites

  • 0
1 час назад, Le ecureuil сказал:

Пока много вывода - это нормально.

А ступор роутера

Mem: 118244K used, 6408K free, 9680K shrd, 2928K buff, 18172K cached
CPU:  1.9% usr 91.0% sys  0.0% nic  0.5% idle  2.8% io  0.0% irq  3.5% sirq
Load average: 14.04 11.38 6.45 9/226 28190
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
  263     1 root     SN   69680 55.7   0 34.1 ndm
28098   263 nobody   R    22136 17.7   0 11.3 /usr/bin/ntce-pace2 -u nobody -o /var/run/ntce.sock -i ntce0 -s 192.168.1.0/255.255.255.0



[I] Apr 27 14:01:18 ntce-pace2: received 85 packets, 469003915 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:01:18 ntce-pace2: PACE2 pushes: 1909104, packets: 1909071, bytes: 442266030. 
[E] Apr 27 14:01:19 ndm: Service: "Nginx DoT "Policy0" proxy": unexpectedly stopped. 
[E] Apr 27 14:01:19 ndm: Service: "Nginx DoT "System" proxy": unexpectedly stopped. 
[E] Apr 27 14:01:22 ndm: Service: "Nginx DoT "Policy0" proxy": unexpectedly stopped. 
[E] Apr 27 14:01:22 ndm: Service: "Nginx DoT "System" proxy": unexpectedly stopped. 
[E] Apr 27 14:01:25 ndm: Service: "Nginx DoT "Policy0" proxy": unexpectedly stopped. 
[E] Apr 27 14:01:25 ndm: Service: "Nginx DoT "System" proxy": unexpectedly stopped. 
[E] Apr 27 14:01:28 ndm: Service: "Nginx DoT "Policy0" proxy": unexpectedly stopped. 
[E] Apr 27 14:01:28 ndm: Service: "Nginx DoT "System" proxy": unexpectedly stopped. 
[I] Apr 27 14:01:29 ntce-pace2: received 191 packets, 469082045 bytes, 0 dropped, frzq: 0. 
[I] Apr 27 14:01:29 ntce-pace2: PACE2 pushes: 1909295, packets: 1909256, bytes: 442336481. 
...
[E] Apr 27 15:05:56 https-dns-proxy: TLS certificate verify error: Error 
[I] Apr 27 15:05:56 ntce-pace2: received 511 packets, 24343 bytes, 510 dropped, frzq: 1. 
[I] Apr 27 15:05:56 ntce-pace2: PACE2 pushes: 195, packets: 192, bytes: 21019. 
[E] Apr 27 15:05:58 ndm: Service: "Nginx DoT "Policy0" proxy": unexpectedly stopped. 
[E] Apr 27 15:05:58 ndm: Service: "Nginx DoT "System" proxy": unexpectedly stopped. 
[W] Apr 27 15:05:59 kernel: do_page_fault(): sending SIGSEGV to https_dns_proxy for invalid read access from 77cf8438
[W] Apr 27 15:05:59 kernel: epc = 77bf5114 in libcurl.so.4.7.0[77bae000+6f000]
[W] Apr 27 15:05:59 kernel: ra  = 77bf5114 in libcurl.so.4.7.0[77bae000+6f000]
[E] Apr 27 15:05:59 ndm: Service: "DoH "System" proxy #0": unexpectedly stopped. 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...