PurpleI2P / i2pd

🛡 I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website
BSD 3-Clause "New" or "Revised" License
3.31k stars 424 forks source link

Segfault after about 40 hours after start #799

Closed LLE8 closed 7 years ago

LLE8 commented 7 years ago

Debian Wheezy 32 bit i2pd version 2.11.0-1wheezy1 libc6-i686:i386 version 2.13-38+deb7u11

/var/log/messages

Feb 8 02:09:29 XXX kernel: [730126.422181] i2pd[16805]: segfault at 5ea25264 ip b723726b sp b59b0f10 error 4 in libc-2.13.so[b71c7000+161000]

tail of i2pd.log

02:09:26@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:26@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:26@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:26@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:26@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:26@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:26@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:26@301/warn - SSU: MAC verification failed 59 bytes from 92.78.118.0:35815
02:09:26@301/warn - SSU: MAC verification failed 800 bytes from 95.31.24.146:16937
02:09:26@117/warn - NetDb: Requested yW4V1v-zxtxT1Np-1sU0fE3~7-aeAWv~s4W6GiroAJA= not found, 0 peers excluded
02:09:27@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:27@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:27@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:27@117/info - NetDb: LeaseSet updated: vwrl2qmcif722fdkn3ldxcgz76df5cq4qypbndzthxwgmykyewta
02:09:27@117/info - NetDb: LeaseSet updated: pa2osj63tq57g56dfn2ql2yhxbn6pwe2vra6qw4prw3drny5di5a
02:09:27@117/info - NetDb: RouterInfo updated: NUBRtjOfCsRXJU1Da8IUM7ngviNlIaU~qNeSP~LD~k8=
02:09:27@301/warn - SSU: session with 177.148.166.17:31076 was not established after 5 seconds
02:09:28@418/info - NTCP: Not connected in 5 seconds
02:09:28@117/info - NetDb: RouterInfo added: ZhgFcYPoQSgxLaeuFn0Hq5b53iNh-1e~B2utnaRl-b4=
02:09:28@301/warn - SSU: MAC verification failed 60 bytes from 61.68.135.243:35791
02:09:28@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:28@301/info - SSU: message has not been ACKed after 5 attempts, deleted
02:09:28@418/info - NTCP: Connect error Operation canceled
02:09:28@840/info - TransitTunnel: gateway 550395933 created
02:09:28@117/warn - NetDb: Requested QzIvX3oTrzKEbwOdtgNCwCiA8vUHwGDj0p28vTnX~nU= not found, 0 peers excluded
02:09:28@301/warn - SSU: MAC verification failed 57 bytes from 24.51.59.163:1160
02:09:28@117/info - NetDb: RouterInfo updated: Kv355iDqdkAQMUYe6UL9lxIS6J6tKoS2yxh-GtieXiY=
02:09:28@117/info - NetDb: RouterInfo added: 1D06qjTNBkYHHZ55ooSR-SWXd98JrFbjdicgxAMC0h4=
02:09:28@117/warn - NetDb: Requested spjWHgZCGnsX36fN3EW1k38tutiJ7UZQ~705-ChEoc8= not found, 0 peers excluded
02:09:29@301/warn - SSU: MAC verification failed 512 bytes from 213.136.87.133:9610
orignal commented 7 years ago

stack trace please

LLE8 commented 7 years ago

Похоже, что /var/lib/i2pd/core отсутствует. Или где искать? cat /proc/sys/kernel/core_pattern core

orignal commented 7 years ago

запустить с ulimit -c unlimited в следующий раз

LLE8 commented 7 years ago
# gdb -e /usr/sbin/i2pd -s /usr/lib/debug/.build-id/22/d07bc84238f9c941774a5a76a9e5dfaa0b9cf6.debug -c /var/lib/i2pd/core
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/debug/.build-id/22/d07bc84238f9c941774a5a76a9e5dfaa0b9cf6.debug...done.
[New LWP 20218]
[New LWP 20219]
[New LWP 20221]
[New LWP 20222]
[New LWP 20223]
[New LWP 20224]
[New LWP 20285]
[New LWP 20213]
[New LWP 20214]
[New LWP 20215]
[New LWP 20216]
[New LWP 20217]
[New LWP 20220]

warning: Can't read pathname for load map: Ошибка ввода/вывода.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/sbin/i2pd --service --daemon --log=file --logfile=/var/log/i2pd/i2pd.log -'.
Program terminated with signal 6, Aborted.
#0  0xb77ca428 in __kernel_vsyscall ()
Traceback (most recent call last):
  File "/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.17-gdb.py", line 62, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
(gdb)
(gdb) bt
#0  0xb77ca428 in __kernel_vsyscall ()
#1  0xb72756c1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7278a82 in *__GI_abort () at abort.c:121
#3  0xb72b0e25 in __libc_message (do_abort=2, fmt=0xb738e790 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4  0xb72baf41 in malloc_printerr (action=<optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xaff5bf20)
    at malloc.c:6312
#5  0xb72bc7a8 in _int_free (av=<optimized out>, p=<optimized out>) at malloc.c:4824
#6  0xb72bf8ed in *__GI___libc_free (mem=0xaff5bf20) at malloc.c:3738
#7  0xb764988a in CRYPTO_free () from /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0
#8  0xb767cce5 in bn_expand2 () from /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0
#9  0xb767973f in BN_uadd () from /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0
#10 0xb7683d4a in BN_mod_inverse () from /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0
#11 0x081743b8 in Normalize (ctx=0xae314ef0, p=..., this=0x9739ee0) at Signature.cpp:308
#12 Verify (
    signature=0xa9b17b40 "\001\340\305\036\021\215\244M\231\v\302\347\261\343\325~\362\374\327\025\241\326j\222\324#\237\201\\Yp\006J\001\022\232\030.h\356\177\376\225w(\365]\022\btf\320$\276;\325\033:\243\237\327\212\310\t",
    digest=0xb5233e04 "bR\\,[\270\240\065L\341an\353\241Nh\275ǽ\227\354\210'_G\225\261\200\016\206\234$G",
    publicKey=..., this=0x9739ee0) at Signature.cpp:118
#13 i2p::crypto::EDDSA25519Verifier::Verify (this=0xabfb02e8,
    buf=0xaa9df98c "\251\a\036x<\343\061\245\215mjq5\260\265\372&\006G\331h\244\002\361\v2S\373\070\242\331\067\360}\270\335\065\243J_\246\306\033\207\t\333\036\305\372I\217\306k]\"\003)V9\002,\\f羚<2\351\342\272r\r\036\017f\207\336f\355\260\306\342\355\v\341\314$\331R/fY\223K-\267âD}\017\252!<\254\343\336lcs\304\031\311l\212\340!\211\344^7\365)\266\177\247\237\326Je\\4m\020b\322\t`\v\177hd\033\323^\222", <incomplete sequence \345>, len=552,
    signature=0xa9b17b40 "\001\340\305\036\021\215\244M\231\v\302\347\261\343\325~\362\374\327\025\241\326j\222\324#\237\201\\Yp\006J\001\022\232\030.h\356\177\376\225w(\365]\022\btf\320$\276;\325\033:\243\237\327\212\310\t")
    at Signature.cpp:467
#14 0xae314ef0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
orignal commented 7 years ago

Это уже 2.12?

LLE8 commented 7 years ago

нет, это все та же 2.11.0-1wheezy1 i386

и на этот раз в /var/log/messages ничего нет

tail of /var/log/i2pd/i2pd.log

15:46:07@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:07@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:07@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:07@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:07@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:07@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:07@448/warn - SSU: MAC verification failed 512 bytes from 178.174.188.46:22804
15:46:07@448/info - NetDb: RouterInfo added: eCNc2eLWYePIx-9Mr4OnEh8MT~DfaacWIm75QLL5uJA=
15:46:07@448/warn - SSU: MAC verification failed 58 bytes from 183.51.122.170:5259
15:46:08@448/warn - SSU: MAC verification failed 592 bytes from 73.67.67.33:14588
15:46:08@448/warn - SSU: MAC verification failed 275 bytes from 73.67.67.33:14588
15:46:09@448/warn - SSU: session with 109.157.196.89:29484 was not established after 5 seconds
15:46:09@448/info - NetDb: RouterInfo added: csuVLjDrXXLXqVtaTSOXp-s00-GR2Tqcs0bbTvhrot8=
15:46:09@448/warn - SSU: MAC verification failed 58 bytes from 194.58.188.80:25566
15:46:09@448/info - NetDb: RouterInfo updated: 6-0YzawphybXc~LBEX-Jxy2XzcSeKjSjwm1QHyLaKbs=
15:46:09@448/warn - SSU: MAC verification failed 512 bytes from 87.110.88.66:10218
15:46:09@448/warn - SSU: MAC verification failed 480 bytes from 80.131.178.135:27809
15:46:09@487/info - NTCP: Phase 3 read error: End of file
15:46:10@448/warn - SSU: session with 67.176.202.74:25046 was not established after 5 seconds
15:46:10@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:10@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:10@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:10@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:10@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:10@448/info - SSU: message has not been ACKed after 5 attempts, deleted
15:46:10@448/warn - NetDb: Requested xrtbTRdRXID1W3EgWFuNhfEHBysy5kqf7Seds9UNODI= not found, 0 peers excluded
15:46:10@487/error - NTCP: runtime exception: remote_endpoint: Transport endpoint is not connected
15:46:10@448/info - NetDb: RouterInfo updated: 5sCI1ZtO5H6dBmdV2xIM-Z8vMNKPA667parVEvrYuRo=
15:46:10@448/warn - NetDb: Requested ghAFPwSXqenhwRFM-GFGMcg4t84gtpJ3WOVuf-Dixj0= not found, 0 peers excluded
15:46:10@448/warn - SSU: MAC verification failed 512 bytes from 85.228.188.210:32062
LLE8 commented 7 years ago

DEL

orignal commented 7 years ago

Да и по предыдущему стеку понятно. Надо попробовать 2.12 - там много чего в этом плане исправлено.

LLE8 commented 7 years ago

Этот баг плавающий, прошлый раз упало после приблизительно полутора суток, в этот раз проработало около 4 суток. Понаблюдаю за 2.12.

LLE8 commented 7 years ago

2.12 прожил около 4 суток и упал

ii  i2pd                      2.12.0-1wheezy1   i386              load-balanced unspoofable packet switching network - C++
ii  i2pd-dbg                  2.12.0-1wheezy1   i386              i2pd debugging symbols
# gdb -e /usr/sbin/i2pd -c /var/lib/i2pd/core -s /usr/lib/debug/.build-id/71/37b8db98a2c3f63499997700e0d20cceaa70f7.debug
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/debug/.build-id/71/37b8db98a2c3f63499997700e0d20cceaa70f7.debug...done.
[New LWP 987]
[New LWP 988]
[New LWP 990]
[New LWP 993]
[New LWP 994]
[New LWP 1008]
[New LWP 983]
[New LWP 984]
[New LWP 985]
[New LWP 986]
[New LWP 989]
[New LWP 992]
[New LWP 991]

warning: Can't read pathname for load map: Ошибка ввода/вывода.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/sbin/i2pd --service --daemon --log=file --logfile=/var/log/i2pd/i2pd.log -'.
Program terminated with signal 6, Aborted.
#0  0xb77a0428 in __kernel_vsyscall ()
Traceback (most recent call last):
  File "/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.17-gdb.py", line 62, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
(gdb) bt
#0  0xb77a0428 in __kernel_vsyscall ()
#1  0xb724b6c1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb724ea82 in *__GI_abort () at abort.c:121
#3  0xb7286e25 in __libc_message (do_abort=2, fmt=0xb7364790 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4  0xb7290f41 in malloc_printerr (action=<optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xa2ea050)
#5  0xb72927a8 in _int_free (av=<optimized out>, p=<optimized out>) at malloc.c:4824
#6  0xb72958ed in *__GI___libc_free (mem=0xa2ea050) at malloc.c:3738
#7  0xb74194bf in operator delete (ptr=0xa2ea050) at ../../../../src/libstdc++-v3/libsupc++/del_op.cc:48
#8  0xb741950b in operator delete[] (ptr=0xa2ea050) at ../../../../src/libstdc++-v3/libsupc++/del_opv.cc:33
#9  0x0810900c in i2p::data::IdentityEx::~IdentityEx (this=0x9f18190, __in_chrg=<optimized out>) at Identity.c
#10 0x0a2ea050 in ?? ()
#11 0xc7c983f1 in ?? ()
#12 0xa1a4ccfb in ?? ()
#13 0xebb6b019 in ?? ()
#14 0x8694bc88 in ?? ()
#15 0xd1dfef7e in ?? ()
#16 0x417a521a in ?? ()
#17 0x71e7b7c6 in ?? ()
#18 0x45db5500 in ?? ()
#19 0x00000000 in ?? ()
(gdb)
# tail  -n 30  /var/log/i2pd/i2pd.log
16:39:05@734/warn - NetDb: requested destination for WDZmq5vBD6nAuBqoGyn-OIuUnBVFlCnwG8AqbbFHvPs= not found
16:39:05@927/warn - SSU: MAC verification failed 103 bytes from 173.63.8.11:33946
16:39:05@927/warn - SSU: Missing fragments from 0 to 0 of message 1704773915
16:39:05@927/warn - SSU: MAC verification failed 260 bytes from 87.251.57.110:55090
16:39:05@927/warn - SSU: MAC verification failed 76 bytes from 176.123.193.227:28626
16:39:05@734/warn - NetDb: requested destination for x3sr0qX1oCoC9tlZJR1XXZXtEkcrgg1bqq2zLJ5VLAQ= not found
16:39:05@688/warn - TunnelMessage: I2NP message size 1078 is not enough
16:39:06@927/warn - SSU: MAC verification failed 512 bytes from 119.224.22.43:21250
16:39:06@734/info - NetDb: RouterInfo updated: 4mjMxgOSR8xxBD0bpCmUEshEr7fYPRMx-aZFdB2bsqU=
16:39:06@734/warn - NetDb: requested destination for S0dytkg7thr7gGBDU0FalSoKLxUxF0bNR3dl~iFs~5A= not found
16:39:06@927/warn - SSU: MAC verification failed 512 bytes from 124.178.209.129:31437
16:39:06@283/info - NTCP: Connect error No route to host
16:39:06@927/warn - SSU: MAC verification failed 512 bytes from 186.220.125.166:27484
16:39:06@927/warn - SSU: MAC verification failed 59 bytes from 59.167.232.243:30087
16:39:07@927/warn - SSU: MAC verification failed 53 bytes from 185.162.8.173:19925
16:39:07@734/warn - NetDb: requested destination for mHpRlisOWxhn6gK39zhX2sausDF~xyF6h2QUEFBcoFg= not found
16:39:07@927/warn - SSU: MAC verification failed 592 bytes from 95.170.95.111:22422
16:39:07@927/warn - SSU: MAC verification failed 592 bytes from 95.170.95.111:22422
16:39:07@927/warn - SSU: MAC verification failed 512 bytes from 188.120.148.26:7672
16:39:07@927/warn - SSU: MAC verification failed 592 bytes from 188.120.148.26:7672
16:39:07@927/warn - SSU: MAC verification failed 242 bytes from 188.120.148.26:7672
16:39:07@927/warn - SSU: MAC verification failed 592 bytes from 188.120.148.26:7672
16:39:07@927/warn - SSU: MAC verification failed 592 bytes from 188.120.148.26:7672
16:39:07@927/warn - SSU: MAC verification failed 592 bytes from 188.120.148.26:7672
16:39:07@927/warn - SSU: MAC verification failed 586 bytes from 188.120.148.26:7672
16:39:07@927/warn - SSU: MAC verification failed 50 bytes from 66.190.225.112:63884
16:39:07@688/info - TransitTunnel: gateway 2562520953 created
16:39:07@927/warn - SSU: MAC verification failed 512 bytes from 77.120.106.8:23242
16:39:07@927/warn - SSU: MAC verification failed 512 bytes from 86.175.146.145:10192
16:39:07@688/info - TransitTunnel: gateway 2908724720 created
LLE8 commented 7 years ago

Не нравится мне этот стек. Что-то не то в i2pd-dbg или я что-то неправильно сделал?

orignal commented 7 years ago

Со стеком все нормально. Надо разбираться в причинах

LLE8 commented 7 years ago

Я про это

#10 0x0a2ea050 in ?? ()
#11 0xc7c983f1 in ?? ()
#12 0xa1a4ccfb in ?? ()
#13 0xebb6b019 in ?? ()
#14 0x8694bc88 in ?? ()
#15 0xd1dfef7e in ?? ()
#16 0x417a521a in ?? ()
#17 0x71e7b7c6 in ?? ()
#18 0x45db5500 in ?? ()
#19 0x00000000 in ?? ()

Как будто без отладочных символов, или я что-то не понимаю?

orignal commented 7 years ago

Скорее всего стек побился. Но мне достаточно знать в каком месте упало.

LLE8 commented 7 years ago

Упал, прожив дня 3 файл core нужен?

# gdb -e /usr/sbin/i2pd -c /var/lib/i2pd/core -s /usr/lib/debug/.build-id/71/37b8db98a2c3f63499997700e0d20cceaa70f7.debug
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/debug/.build-id/71/37b8db98a2c3f63499997700e0d20cceaa70f7.debug...done.
[New LWP 6715]
[New LWP 6717]
[New LWP 6718]
[New LWP 6719]
[New LWP 6721]
[New LWP 6722]
[New LWP 6779]
[New LWP 6711]
[New LWP 6712]
[New LWP 6713]
[New LWP 6714]
[New LWP 6720]
[New LWP 6716]

warning: Can't read pathname for load map: Ошибка ввода/вывода.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/sbin/i2pd --service --daemon --log=file --logfile=/var/log/i2pd/i2pd.log -'.
Program terminated with signal 6, Aborted.
#0  0xb77a4428 in __kernel_vsyscall ()
Traceback (most recent call last):
  File "/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.17-gdb.py", line 62, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
(gdb) bt
#0  0xb77a4428 in __kernel_vsyscall ()
#1  0xb724f6c1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7252a82 in *__GI_abort () at abort.c:121
#3  0xb728ae25 in __libc_message (do_abort=2, fmt=0xb7368790 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4  0xb7294f41 in malloc_printerr (action=<optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xa86cf8b8) at malloc.c:6312
#5  0xb72967a8 in _int_free (av=<optimized out>, p=<optimized out>) at malloc.c:4824
#6  0xb72998ed in *__GI___libc_free (mem=0xa86cf8b8) at malloc.c:3738
#7  0xb741d4bf in operator delete (ptr=0xa86cf8b8) at ../../../../src/libstdc++-v3/libsupc++/del_op.cc:48
#8  0xb741d50b in operator delete[] (ptr=0xa86cf8b8) at ../../../../src/libstdc++-v3/libsupc++/del_opv.cc:33
#9  0x0810900c in i2p::data::IdentityEx::~IdentityEx (this=0xa7aa9088, __in_chrg=<optimized out>) at Identity.cpp:158
#10 0xa86cf8b8 in ?? ()
#11 0x7c1c693c in ?? ()
#12 0x350540f8 in ?? ()
#13 0xe2ed8a32 in ?? ()
#14 0x0a92d9ae in ?? ()
Cannot access memory at address 0xf9fdf770
(gdb)
orignal commented 7 years ago

нужно только место где падает

LLE8 commented 7 years ago

т.е. пока ничего кроме того что выше не нужно?

orignal commented 7 years ago

этого достаточно

LLE8 commented 7 years ago

Плавающий баг всплывает непредсказуемо по времени, но регулярно и одинаково. На этот раз прожило немного больше суток. На другой машинке не проявляется. Возможно, не уверен, особенность в том, что на этом vds 256М ОЗУ и в top %Cpu(s): 70,0 st или около того при работе i2pd Debian 7.11 32 bit

# gdb -e /usr/sbin/i2pd -c /var/lib/i2pd/core -s /usr/lib/debug/.build-id/71/37b8db98a2c3f63499997700e0d20cceaa70f7.debug
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/debug/.build-id/71/37b8db98a2c3f63499997700e0d20cceaa70f7.debug...done.
[New LWP 9694]
[New LWP 9695]
[New LWP 9698]
[New LWP 9699]
[New LWP 9700]
[New LWP 9701]
[New LWP 9718]
[New LWP 9693]
[New LWP 9689]
[New LWP 9697]
[New LWP 9696]
[New LWP 9690]
[New LWP 9692]

warning: Can't read pathname for load map: Ошибка ввода/вывода.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/sbin/i2pd --service --daemon --log=file --logfile=/var/log/i2pd/i2pd.log -'.
Program terminated with signal 6, Aborted.
#0  0xb7709428 in __kernel_vsyscall ()
Traceback (most recent call last):
  File "/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.17-gdb.py", line 62, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
(gdb) bt
#0  0xb7709428 in __kernel_vsyscall ()
#1  0xb71b46c1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb71b7a82 in *__GI_abort () at abort.c:121
#3  0xb71efe25 in __libc_message (do_abort=2, fmt=0xb72cd790 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4  0xb71f9f41 in malloc_printerr (action=<optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x9dd3078) at malloc.c:6312
#5  0xb71fb7a8 in _int_free (av=<optimized out>, p=<optimized out>) at malloc.c:4824
#6  0xb71fe8ed in *__GI___libc_free (mem=0x9dd3078) at malloc.c:3738
#7  0xb73824bf in operator delete (ptr=0x9dd3078) at ../../../../src/libstdc++-v3/libsupc++/del_op.cc:48
#8  0xb738250b in operator delete[] (ptr=0x9dd3078) at ../../../../src/libstdc++-v3/libsupc++/del_opv.cc:33
#9  0x0810900c in i2p::data::IdentityEx::~IdentityEx (this=0x98be140, __in_chrg=<optimized out>) at Identity.cpp:158
#10 0x09dd3078 in ?? ()
#11 0xe86b5bec in ?? ()
#12 0xe585fc7b in ?? ()
#13 0x7f27ac87 in ?? ()
#14 0xc28e12cd in ?? ()
#15 0x8c97f1a1 in ?? ()
#16 0x18d6ac7c in ?? ()
#17 0x34bec574 in ?? ()
#18 0xec18af00 in ?? ()
#19 0x00000000 in ?? ()
(gdb)
orignal commented 7 years ago

А если урезать bandwidth до L?

LLE8 commented 7 years ago

Урезал, посмотрю что будет. 32 Кбит/с - интернет из 90-х :)

orignal commented 7 years ago

а памяти 256мегов разве нет? :)

LLE8 commented 7 years ago

Ну тогда уж 32 МБ или даже 16, если вспомнить 90-е, но самый мелкий vds 64 метра, попадался пару лет назад. А в обсуждаемом случае в объем ОЗУ не упирается по моим наблюдениям, скорее упирается в проц, который бывает занят на 90-99%, из которых около 70-80% "stolen from this vm by the hypervisor". По этому поводу конечно можно поспрашивать хостера, но практического смысла думаю нет, т.к. ничего, кроме этого бага, там не хостится.

LLE8 commented 7 years ago

Мне кажется, что bandwidth = L ни на что не влияет, по крайней мере в моей конфигурации. В течение часа-двух разогнался до 350-450 Кбит/с (по 200 ко мне и от меня) и стабилизировался, вероятно уперся в 99% процессора. %MEM не более 20. На первый взгляд ничем не отличается от bandwidth = 20480.

В конфиге такое ipv4 = true ipv6 = false nat = false bandwidth = L notransit = false floodfill = true

В статистике Uptime: 16 hours Routers: 2667 Floodfills: 1319 LeaseSets: 43 Client Tunnels: 34 Transit Tunnels: 284

orignal commented 7 years ago

Так флудфил тоже следует убрать

LLE8 commented 7 years ago

ОК, перзапустил с floodfill = false

LLE8 commented 7 years ago

прошло около часа, вижу около 500 Кбит/с (туда 250+ обратно 250), иногда доходит до 800, возможно по причине меньшей нагрузки на CPU floodfill = false bandwidth = L вероятно, я что-то неправильно понимаю

orignal commented 7 years ago

L это в килоБАЙТАХ не в килибитах, то есть 300 килобитю Подскаивать может это примерное ограничение регулируемое только транзитным трафиком

LLE8 commented 7 years ago

иногда пишут KB-килобайты, Kb-килобиты, но часто все вперемешку

LLE8 commented 7 years ago

Uptime 7 days 20 hours floodfill = false bandwidth = L Пока не упало

LLE8 commented 7 years ago

другая машинка Debian Jessie 64bit i2pd 2.12 openssl 1.0.2k-1~bpo8+1 из backports ядро 3.16.39-1+deb8u1 ОЗУ также 256 М, как и в предыдущем случае прожило менее суток в логе i2pd[730]: segfault at 0 ip (null) sp 00007f94cb7fdba8 error 14 in i2pd[400000+240000]

# gdb -e /usr/sbin/i2pd -c /var/lib/i2pd/core -s  /usr/lib/debug/.build-id/a4/898296d9881a8a0bd50f364325128512149292.debug
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/debug/.build-id/a4/898296d9881a8a0bd50f364325128512149292.debug...done.
[New LWP 730]
[New LWP 731]
[New LWP 1030]
[New LWP 645]
[New LWP 725]
[New LWP 726]
[New LWP 727]
[New LWP 728]
[New LWP 729]
[New LWP 643]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/i2pd --service --daemon --log=file --logfile=/var/log/i2pd/i2pd.log -'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in ?? ()
(gdb)
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x000000000042c1e5 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x7f94c06cc420)
    at /usr/include/c++/4.9/bits/shared_ptr_base.h:149
#2  0x00007f94c06cc420 in ?? ()
#3  0x000000000054a0d4 in ~__shared_count (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:666
#4  ~__shared_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/4.9/bits/shared_ptr_base.h:914
#5  ~shared_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/4.9/bits/shared_ptr.h:93
#6  i2p::transport::SSUServer::CreateDirectSession (this=0xb63fa0, router=std::shared_ptr (count 5, weak 0) 0x7f94b4b87930,
    remoteEndpoint=..., peerTest=<error reading variable: can't compute CFA for this frame>) at SSU.cpp:413
#7  0x0000000100000000 in ?? ()
#8  0x00007f00c035fd00 in ?? ()
#9  0x00007f9400000000 in ?? ()
#10 0x0000000000432ebc in error_code (this=<optimized out>) at /usr/include/boost/system/error_code.hpp:323
#11 cancel (ec=<synthetic pointer>, impl=..., this=0x7f94c06cc448) at /usr/include/boost/asio/detail/deadline_timer_service.hpp:110
#12 destroy (impl=..., this=0x7f94c06cc448) at /usr/include/boost/asio/detail/deadline_timer_service.hpp:94
#13 destroy (impl=..., this=0x7f94c06cc420) at /usr/include/boost/asio/deadline_timer_service.hpp:90
#14 boost::asio::basic_io_object<boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >, false>::~basic_io_object (this=0xb63fa0, __in_chrg=<optimized out>) at /usr/include/boost/asio/basic_io_object.hpp:124
#15 0x00007f9400000000 in ?? ()
#16 0x00007f94cb7fdd90 in ?? ()
#17 0x00007f9400000000 in ?? ()
#18 0x0000000000000000 in ?? ()
(gdb)
LLE8 commented 7 years ago

Тот, который floodfill = false и bandwidth = L пока не упал, uptime 13 суток 19 часов

LLE8 commented 7 years ago

Вот еще в дополнение к последнему по времени https://github.com/PurpleI2P/i2pd/issues/799#issuecomment-285939242 дампу, не уверен, что нужно

(gdb) info threads
  Id   Target Id         Frame
  10   Thread 0x7f94d5382740 (LWP 643)
    0x00007f94d3b578b3 in std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream (
    this=0x7f94c053cfa0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /scratch/packages/gcc/4.9/gcc-4.9-4.9.2/build/x86_64-linux-gnu/libstdc++-v3/include/sstream:565
  9    Thread 0x7f94cbfff700 (LWP 729) 0x00007f94d32e2c03 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  8    Thread 0x7f94d0de9700 (LWP 728) 0x00007f94d32e2c03 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  7    Thread 0x7f94d15ea700 (LWP 727) 0x00007f94d32e2c03 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  6    Thread 0x7f94d1deb700 (LWP 726) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  5    Thread 0x7f94d25ec700 (LWP 725) pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  4    Thread 0x7f94d2ded700 (LWP 645) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  3    Thread 0x7f94ae7fc700 (LWP 1030) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  2    Thread 0x7f94caffd700 (LWP 731) 0x00007f94d32e2c03 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
* 1    Thread 0x7f94cb7fe700 (LWP 730) 0x0000000000000000 in ?? ()
(gdb)
LLE8 commented 7 years ago

Тот, который floodfill = false и bandwidth = L еще не упал, uptime 18 суток

orignal commented 7 years ago

Сколько памяти отжрал?

LLE8 commented 7 years ago

top пишет такое

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
12828 i2pd      20   0  224m 110m 2584 S  13,0 44,6   2599:40 i2pd

На этом VDS всего 256M ОЗУ Возможно отожрал бы и больше, есть смутное подозрение, что ему не хватает проца, чтобы разогнаться, м.б. хостер оверселит, т.к. % stolen прыгает от 0 до 40

Debian wheezy 32 bit

orignal commented 7 years ago

110 это много. в транке поправлено

LLE8 commented 7 years ago

Да, действительно, даже очень много. На 256М без свопа с предварительно установленным oom_score_adj=-999 для i2pd OOM-киллер убил полсистемы, но все равно разбухший i2pd не влез в память и был убит. Не дожил до своего segfault-а. Версия 2.12 Это все с floodfill=true и bandwidth=20480 Debian Jessie 64 bit

Хвост kern.log

Mar 19 17:44:29 myhost1 kernel: [663597.389167] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:44:29 myhost1 kernel: [663597.389184] i2pd cpuset=/ mems_allowed=0
Mar 19 17:44:29 myhost1 kernel: [663597.389207] CPU: 0 PID: 21166 Comm: i2pd Not tainted 3.16.0-4-amd64 #1 Debian 3.16.39-1+deb8u1
Mar 19 17:44:29 myhost1 kernel: [663597.389208] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
Mar 19 17:44:29 myhost1 kernel: [663597.389213]  0000000000000000 ffffffff81514c41 ffff88000f26f4f0 0000000000000000
Mar 19 17:44:29 myhost1 kernel: [663597.389219]  ffffffff81512819 0000000000000000 ffffffff810d6e5f 0000000000000000
Mar 19 17:44:29 myhost1 kernel: [663597.389221]  ffffffff815195be 0000000000000200 ffffffff81068a23 ffffffff810c43f4
Mar 19 17:44:29 myhost1 kernel: [663597.389224] Call Trace:
Mar 19 17:44:29 myhost1 kernel: [663597.389266]  [<ffffffff81514c41>] ? dump_stack+0x5d/0x78
Mar 19 17:44:29 myhost1 kernel: [663597.389272]  [<ffffffff81512819>] ? dump_header+0x76/0x1e8
Mar 19 17:44:29 myhost1 kernel: [663597.389291]  [<ffffffff810d6e5f>] ? smp_call_function_single+0x5f/0xa0
Mar 19 17:44:29 myhost1 kernel: [663597.389300]  [<ffffffff815195be>] ? mutex_lock+0xe/0x2a
Mar 19 17:44:29 myhost1 kernel: [663597.389316]  [<ffffffff81068a23>] ? put_online_cpus+0x23/0x80
Mar 19 17:44:29 myhost1 kernel: [663597.389324]  [<ffffffff810c43f4>] ? rcu_oom_notify+0xc4/0xe0
Mar 19 17:44:29 myhost1 kernel: [663597.389340]  [<ffffffff8115407c>] ? do_try_to_free_pages+0x4ac/0x520
Mar 19 17:44:29 myhost1 kernel: [663597.389346]  [<ffffffff81142b3d>] ? oom_kill_process+0x21d/0x370
Mar 19 17:44:29 myhost1 kernel: [663597.389349]  [<ffffffff811426fd>] ? find_lock_task_mm+0x3d/0x90
Mar 19 17:44:29 myhost1 kernel: [663597.389352]  [<ffffffff811432a3>] ? out_of_memory+0x473/0x4b0
Mar 19 17:44:29 myhost1 kernel: [663597.389355]  [<ffffffff8114916f>] ? __alloc_pages_nodemask+0x9ef/0xb50
Mar 19 17:44:29 myhost1 kernel: [663597.389358]  [<ffffffff81065cd6>] ? copy_process.part.25+0x116/0x1c50
Mar 19 17:44:29 myhost1 kernel: [663597.389361]  [<ffffffff81058321>] ? __do_page_fault+0x1d1/0x4f0
Mar 19 17:44:29 myhost1 kernel: [663597.389364]  [<ffffffff810679e0>] ? do_fork+0xe0/0x3d0
Mar 19 17:44:29 myhost1 kernel: [663597.389368]  [<ffffffff8151b179>] ? stub_clone+0x69/0x90
Mar 19 17:44:29 myhost1 kernel: [663597.389370]  [<ffffffff8151ae0d>] ? system_call_fast_compare_end+0x10/0x15
Mar 19 17:44:29 myhost1 kernel: [663597.389378] Mem-Info:
Mar 19 17:44:29 myhost1 kernel: [663597.389383] Node 0 DMA per-cpu:
Mar 19 17:44:29 myhost1 kernel: [663597.389388] CPU    0: hi:    0, btch:   1 usd:   0
Mar 19 17:44:29 myhost1 kernel: [663597.389389] Node 0 DMA32 per-cpu:
Mar 19 17:44:29 myhost1 kernel: [663597.389391] CPU    0: hi:   90, btch:  15 usd:   0
Mar 19 17:44:29 myhost1 kernel: [663597.389395] active_anon:18370 inactive_anon:16196 isolated_anon:4
Mar 19 17:44:29 myhost1 kernel: [663597.389395]  active_file:5 inactive_file:7 isolated_file:0
Mar 19 17:44:29 myhost1 kernel: [663597.389395]  unevictable:0 dirty:0 writeback:2 unstable:0
Mar 19 17:44:29 myhost1 kernel: [663597.389395]  free:7543 slab_reclaimable:3332 slab_unreclaimable:8620
Mar 19 17:44:29 myhost1 kernel: [663597.389395]  mapped:61 shmem:3156 pagetables:347 bounce:0
Mar 19 17:44:29 myhost1 kernel: [663597.389395]  free_cma:0
Mar 19 17:44:29 myhost1 kernel: [663597.389399] Node 0 DMA free:1740kB min:128kB low:160kB high:192kB active_anon:1752kB inactive_anon:2936kB active_file:12kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:820kB slab_reclaimable:376kB slab_unreclaimable:1128kB kernel_stack:112kB pagetables:88kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:18 all_unreclaimable? yes
Mar 19 17:44:29 myhost1 kernel: [663597.389409] lowmem_reserve[]: 0 224 224 224
Mar 19 17:44:29 myhost1 kernel: [663597.389414] Node 0 DMA32 free:28432kB min:1848kB low:2308kB high:2772kB active_anon:71728kB inactive_anon:61848kB active_file:8kB inactive_file:28kB unevictable:0kB isolated(anon):16kB isolated(file):0kB present:245736kB managed:232340kB mlocked:0kB dirty:0kB writeback:8kB mapped:240kB shmem:11804kB slab_reclaimable:12952kB slab_unreclaimable:33352kB kernel_stack:1072kB pagetables:1300kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:56 all_unreclaimable? yes
Mar 19 17:44:29 myhost1 kernel: [663597.389419] lowmem_reserve[]: 0 0 0 0
Mar 19 17:44:29 myhost1 kernel: [663597.389421] Node 0 DMA: 427*4kB (UEMR) 2*8kB (R) 1*16kB (R) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1740kB
Mar 19 17:44:29 myhost1 kernel: [663597.389435] Node 0 DMA32: 5814*4kB (UEM) 625*8kB (UEM) 5*16kB (UEM) 1*32kB (R) 1*64kB (R) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 28432kB
Mar 19 17:44:29 myhost1 kernel: [663597.389451] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Mar 19 17:44:29 myhost1 kernel: [663597.389452] 3160 total pagecache pages
Mar 19 17:44:29 myhost1 kernel: [663597.389459] 0 pages in swap cache
Mar 19 17:44:29 myhost1 kernel: [663597.389463] Swap cache stats: add 244311, delete 244311, find 48489/69808
Mar 19 17:44:29 myhost1 kernel: [663597.389464] Free swap  = 0kB
Mar 19 17:44:29 myhost1 kernel: [663597.389465] Total swap = 0kB
Mar 19 17:44:29 myhost1 kernel: [663597.389466] 65432 pages RAM
Mar 19 17:44:29 myhost1 kernel: [663597.389467] 0 pages HighMem/MovableOnly
Mar 19 17:44:29 myhost1 kernel: [663597.389468] 3349 pages reserved
Mar 19 17:44:29 myhost1 kernel: [663597.389469] 0 pages hwpoisoned
Mar 19 17:44:29 myhost1 kernel: [663597.389470] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
Mar 19 17:44:29 myhost1 kernel: [663597.389474] [  145]     0   145    10204      136      22        0         -1000 systemd-udevd
Mar 19 17:44:29 myhost1 kernel: [663597.389477] [  406]     0   406     5839       49      17        0             0 rpc.idmapd
Mar 19 17:44:29 myhost1 kernel: [663597.389479] [  410]     0   410     4756       45      14        0             0 atd
Mar 19 17:44:29 myhost1 kernel: [663597.389481] [  412]     0   412     7174       61      18        0             0 cron
Mar 19 17:44:29 myhost1 kernel: [663597.389483] [  414]     0   414    13900      172      31        0         -1000 sshd
Mar 19 17:44:29 myhost1 kernel: [663597.389485] [  420]   105   420    10531       97      24        0          -900 dbus-daemon
Mar 19 17:44:29 myhost1 kernel: [663597.389487] [  444]     0   444     1064       40       8        0             0 acpid
Mar 19 17:44:29 myhost1 kernel: [663597.389489] [  489]     0   489     3909       39      13        0             0 agetty
Mar 19 17:44:29 myhost1 kernel: [663597.389491] [21161]   109 21161   216504    30083     127       11          -999 i2pd
Mar 19 17:44:29 myhost1 kernel: [663597.389494] [ 7107]     0  7107     4964       67      14        0             0 systemd-logind
Mar 19 17:44:29 myhost1 kernel: [663597.389496] [ 7111]     0  7109    31900      128      26        0             0 in:imuxsock
Mar 19 17:44:29 myhost1 kernel: [663597.389498] [ 7110]     0  7110     7218       62      17        0             0 systemd-journal
Mar 19 17:44:29 myhost1 kernel: [663597.389500] Out of memory: Kill process 7111 (in:imuxsock) score 2 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.390371] Killed process 7111 (in:imuxsock) total-vm:127600kB, anon-rss:512kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.431911] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:44:29 myhost1 kernel: [663597.431921] i2pd cpuset=/ mems_allowed=0
Mar 19 17:44:29 myhost1 kernel: [663597.431930] CPU: 0 PID: 21166 Comm: i2pd Not tainted 3.16.0-4-amd64 #1 Debian 3.16.39-1+deb8u1
Mar 19 17:44:29 myhost1 kernel: [663597.431932] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
Mar 19 17:44:29 myhost1 kernel: [663597.431935]  0000000000000000 ffffffff81514c41 ffff88000f26f4f0 0000000000000000
Mar 19 17:44:29 myhost1 kernel: [663597.431939]  ffffffff81512819 0000000000000000 ffffffff810d6e5f 0000000000000000
Mar 19 17:44:29 myhost1 kernel: [663597.431942]  ffffffff815195be 0000000000000200 ffffffff81068a23 ffffffff810c43f4
Mar 19 17:44:29 myhost1 kernel: [663597.431946] Call Trace:
Mar 19 17:44:29 myhost1 kernel: [663597.431961]  [<ffffffff81514c41>] ? dump_stack+0x5d/0x78
Mar 19 17:44:29 myhost1 kernel: [663597.431967]  [<ffffffff81512819>] ? dump_header+0x76/0x1e8
Mar 19 17:44:29 myhost1 kernel: [663597.431976]  [<ffffffff810d6e5f>] ? smp_call_function_single+0x5f/0xa0
Mar 19 17:44:29 myhost1 kernel: [663597.431983]  [<ffffffff815195be>] ? mutex_lock+0xe/0x2a
Mar 19 17:44:29 myhost1 kernel: [663597.431993]  [<ffffffff81068a23>] ? put_online_cpus+0x23/0x80
Mar 19 17:44:29 myhost1 kernel: [663597.432000]  [<ffffffff810c43f4>] ? rcu_oom_notify+0xc4/0xe0
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff8115407c>] ? do_try_to_free_pages+0x4ac/0x520
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff81142b3d>] ? oom_kill_process+0x21d/0x370
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff811426fd>] ? find_lock_task_mm+0x3d/0x90
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff811432a3>] ? out_of_memory+0x473/0x4b0
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff8114916f>] ? __alloc_pages_nodemask+0x9ef/0xb50
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff81065cd6>] ? copy_process.part.25+0x116/0x1c50
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff81058321>] ? __do_page_fault+0x1d1/0x4f0
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff810679e0>] ? do_fork+0xe0/0x3d0
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff8151b179>] ? stub_clone+0x69/0x90
Mar 19 17:44:29 myhost1 kernel: [663597.432011]  [<ffffffff8151ae0d>] ? system_call_fast_compare_end+0x10/0x15
Mar 19 17:44:29 myhost1 kernel: [663597.432107] Mem-Info:
Mar 19 17:44:29 myhost1 kernel: [663597.432111] Node 0 DMA per-cpu:
Mar 19 17:44:29 myhost1 kernel: [663597.432114] CPU    0: hi:    0, btch:   1 usd:   0
Mar 19 17:44:29 myhost1 kernel: [663597.432115] Node 0 DMA32 per-cpu:
Mar 19 17:44:29 myhost1 kernel: [663597.432118] CPU    0: hi:   90, btch:  15 usd:   0
Mar 19 17:44:29 myhost1 kernel: [663597.432123] active_anon:18245 inactive_anon:16196 isolated_anon:4
Mar 19 17:44:29 myhost1 kernel: [663597.432123]  active_file:8 inactive_file:5 isolated_file:0
Mar 19 17:44:29 myhost1 kernel: [663597.432123]  unevictable:0 dirty:0 writeback:2 unstable:0
Mar 19 17:44:29 myhost1 kernel: [663597.432123]  free:7705 slab_reclaimable:3332 slab_unreclaimable:8620
Mar 19 17:44:29 myhost1 kernel: [663597.432123]  mapped:61 shmem:3156 pagetables:326 bounce:0
Mar 19 17:44:29 myhost1 kernel: [663597.432123]  free_cma:0
Mar 19 17:44:29 myhost1 kernel: [663597.432128] Node 0 DMA free:1764kB min:128kB low:160kB high:192kB active_anon:1752kB inactive_anon:2936kB active_file:12kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:820kB slab_reclaimable:376kB slab_unreclaimable:1128kB kernel_stack:112kB pagetables:88kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:18 all_unreclaimable? yes
Mar 19 17:44:29 myhost1 kernel: [663597.432137] lowmem_reserve[]: 0 224 224 224
Mar 19 17:44:29 myhost1 kernel: [663597.432141] Node 0 DMA32 free:29056kB min:1848kB low:2308kB high:2772kB active_anon:71228kB inactive_anon:61848kB active_file:20kB inactive_file:20kB unevictable:0kB isolated(anon):16kB isolated(file):0kB present:245736kB managed:232340kB mlocked:0kB dirty:0kB writeback:8kB mapped:240kB shmem:11804kB slab_reclaimable:12952kB slab_unreclaimable:33352kB kernel_stack:1072kB pagetables:1216kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:60 all_unreclaimable? yes
Mar 19 17:44:29 myhost1 kernel: [663597.432148] lowmem_reserve[]: 0 0 0 0
Mar 19 17:44:29 myhost1 kernel: [663597.432151] Node 0 DMA: 431*4kB (UEMR) 2*8kB (R) 2*16kB (MR) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1772kB
Mar 19 17:44:29 myhost1 kernel: [663597.432161] Node 0 DMA32: 5911*4kB (UEM) 655*8kB (UEM) 5*16kB (UEM) 1*32kB (R) 1*64kB (R) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 29060kB
Mar 19 17:44:29 myhost1 kernel: [663597.432174] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Mar 19 17:44:29 myhost1 kernel: [663597.432175] 3160 total pagecache pages
Mar 19 17:44:29 myhost1 kernel: [663597.432178] 0 pages in swap cache
Mar 19 17:44:29 myhost1 kernel: [663597.432180] Swap cache stats: add 244311, delete 244311, find 48489/69808
Mar 19 17:44:29 myhost1 kernel: [663597.432181] Free swap  = 0kB
Mar 19 17:44:29 myhost1 kernel: [663597.432182] Total swap = 0kB
Mar 19 17:44:29 myhost1 kernel: [663597.432184] 65432 pages RAM
Mar 19 17:44:29 myhost1 kernel: [663597.432185] 0 pages HighMem/MovableOnly
Mar 19 17:44:29 myhost1 kernel: [663597.432186] 3349 pages reserved
Mar 19 17:44:29 myhost1 kernel: [663597.432188] 0 pages hwpoisoned
Mar 19 17:44:29 myhost1 kernel: [663597.432189] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
Mar 19 17:44:29 myhost1 kernel: [663597.432196] [  145]     0   145    10204      136      22        0         -1000 systemd-udevd
Mar 19 17:44:29 myhost1 kernel: [663597.432200] [  406]     0   406     5839       49      17        0             0 rpc.idmapd
Mar 19 17:44:29 myhost1 kernel: [663597.432203] [  410]     0   410     4756       45      14        0             0 atd
Mar 19 17:44:29 myhost1 kernel: [663597.432205] [  412]     0   412     7174       61      18        0             0 cron
Mar 19 17:44:29 myhost1 kernel: [663597.432209] [  414]     0   414    13900      172      31        0         -1000 sshd
Mar 19 17:44:29 myhost1 kernel: [663597.432212] [  420]   105   420    10531       97      24        0          -900 dbus-daemon
Mar 19 17:44:29 myhost1 kernel: [663597.432216] [  444]     0   444     1064       40       8        0             0 acpid
Mar 19 17:44:29 myhost1 kernel: [663597.432219] [  489]     0   489     3909       39      13        0             0 agetty
Mar 19 17:44:29 myhost1 kernel: [663597.432222] [21161]   109 21161   216504    30083     127       11          -999 i2pd
Mar 19 17:44:29 myhost1 kernel: [663597.432227] [ 7107]     0  7107     4964       67      14        0             0 systemd-logind
Mar 19 17:44:29 myhost1 kernel: [663597.432239] [ 7110]     0  7110     7218      124      17        0             0 systemd-journal
Mar 19 17:44:29 myhost1 kernel: [663597.432244] Out of memory: Kill process 7110 (systemd-journal) score 2 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.433113] Killed process 7110 (systemd-journal) total-vm:28872kB, anon-rss:248kB, file-rss:248kB
Mar 19 17:44:29 myhost1 kernel: [663597.472695] Out of memory: Kill process 7107 (systemd-logind) score 1 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.473342] Killed process 7107 (systemd-logind) total-vm:19856kB, anon-rss:268kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.487515] Out of memory: Kill process 412 (cron) score 1 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.488131] Killed process 412 (cron) total-vm:28696kB, anon-rss:244kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.493496] Out of memory: Kill process 406 (rpc.idmapd) score 1 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.494262] Killed process 406 (rpc.idmapd) total-vm:23356kB, anon-rss:196kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.516686] Out of memory: Kill process 410 (atd) score 0 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.518167] Killed process 410 (atd) total-vm:19024kB, anon-rss:180kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.526720] Out of memory: Kill process 489 (agetty) score 0 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.527306] Killed process 489 (agetty) total-vm:15636kB, anon-rss:148kB, file-rss:8kB
Mar 19 17:44:29 myhost1 kernel: [663597.544474] Out of memory: Kill process 444 (acpid) score 0 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.545375] Killed process 444 (acpid) total-vm:4256kB, anon-rss:152kB, file-rss:8kB
Mar 19 17:44:29 myhost1 kernel: [663597.568186] Out of memory: Kill process 420 (dbus-daemon) score 0 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.568755] Killed process 420 (dbus-daemon) total-vm:42124kB, anon-rss:392kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.743837] Out of memory: Kill process 7115 (systemd-journal) score 1 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.744565] Killed process 7115 (systemd-journal) total-vm:28872kB, anon-rss:240kB, file-rss:92kB
Mar 19 17:44:29 myhost1 kernel: [663597.814874] Out of memory: Kill process 21161 (i2pd) score 0 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.815567] Killed process 21161 (i2pd) total-vm:874212kB, anon-rss:120356kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.903495] Out of memory: Kill process 21166 (i2pd) score 0 or sacrifice child
Mar 19 17:44:29 myhost1 kernel: [663597.903860] Killed process 21166 (i2pd) total-vm:874212kB, anon-rss:120444kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.912062] i2pd: page allocation failure: order:2, mode:0x2000d0
Mar 19 17:44:29 myhost1 kernel: [663597.912068] CPU: 0 PID: 21166 Comm: i2pd Not tainted 3.16.0-4-amd64 #1 Debian 3.16.39-1+deb8u1
Mar 19 17:44:29 myhost1 kernel: [663597.912070] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
Mar 19 17:44:29 myhost1 kernel: [663597.912072]  0000000000000000 ffffffff81514c41 00000000002000d0 ffff880000f0bcc8
Mar 19 17:44:29 myhost1 kernel: [663597.912075]  ffffffff81144cff 0000000000000000 0000000000000000 0000000000000002
Mar 19 17:44:29 myhost1 kernel: [663597.912077]  0000000000000000 ffff88000fff6c00 ffffffff8115bb42 ffffffff8115e17b
Mar 19 17:44:29 myhost1 kernel: [663597.912080] Call Trace:
Mar 19 17:44:29 myhost1 kernel: [663597.912093]  [<ffffffff81514c41>] ? dump_stack+0x5d/0x78
Mar 19 17:44:29 myhost1 kernel: [663597.912103]  [<ffffffff81144cff>] ? warn_alloc_failed+0xdf/0x130
Mar 19 17:44:29 myhost1 kernel: [663597.912116]  [<ffffffff8115bb42>] ? next_online_pgdat+0x22/0x50
Mar 19 17:44:29 myhost1 kernel: [663597.912120]  [<ffffffff8115e17b>] ? wait_iff_congested+0xab/0x170
Mar 19 17:44:29 myhost1 kernel: [663597.912123]  [<ffffffff8114906f>] ? __alloc_pages_nodemask+0x8ef/0xb50
Mar 19 17:44:29 myhost1 kernel: [663597.912132]  [<ffffffff81065cd6>] ? copy_process.part.25+0x116/0x1c50
Mar 19 17:44:29 myhost1 kernel: [663597.912136]  [<ffffffff81058321>] ? __do_page_fault+0x1d1/0x4f0
Mar 19 17:44:29 myhost1 kernel: [663597.912139]  [<ffffffff810679e0>] ? do_fork+0xe0/0x3d0
Mar 19 17:44:29 myhost1 kernel: [663597.912145]  [<ffffffff8151b179>] ? stub_clone+0x69/0x90
Mar 19 17:44:29 myhost1 kernel: [663597.912148]  [<ffffffff8151ae0d>] ? system_call_fast_compare_end+0x10/0x15
Mar 19 17:44:29 myhost1 kernel: [663597.912149] Mem-Info:
Mar 19 17:44:29 myhost1 kernel: [663597.912151] Node 0 DMA per-cpu:
Mar 19 17:44:29 myhost1 kernel: [663597.912153] CPU    0: hi:    0, btch:   1 usd:   0
Mar 19 17:44:29 myhost1 kernel: [663597.912155] Node 0 DMA32 per-cpu:
Mar 19 17:44:29 myhost1 kernel: [663597.912157] CPU    0: hi:   90, btch:  15 usd:   0
Mar 19 17:44:29 myhost1 kernel: [663597.912161] active_anon:18079 inactive_anon:15906 isolated_anon:0
Mar 19 17:44:29 myhost1 kernel: [663597.912161]  active_file:9 inactive_file:9 isolated_file:0
Mar 19 17:44:29 myhost1 kernel: [663597.912161]  unevictable:0 dirty:0 writeback:0 unstable:0
Mar 19 17:44:29 myhost1 kernel: [663597.912161]  free:8378 slab_reclaimable:3323 slab_unreclaimable:8604
Mar 19 17:44:29 myhost1 kernel: [663597.912161]  mapped:2 shmem:3151 pagetables:200 bounce:0
Mar 19 17:44:29 myhost1 kernel: [663597.912161]  free_cma:0
Mar 19 17:44:29 myhost1 kernel: [663597.912164] Node 0 DMA free:1944kB min:128kB low:160kB high:192kB active_anon:1732kB inactive_anon:2880kB active_file:12kB inactive_file:12kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:804kB slab_reclaimable:372kB slab_unreclaimable:1124kB kernel_stack:80kB pagetables:56kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:39 all_unreclaimable? yes
Mar 19 17:44:29 myhost1 kernel: [663597.912170] lowmem_reserve[]: 0 224 224 224
Mar 19 17:44:29 myhost1 kernel: [663597.912173] Node 0 DMA32 free:31568kB min:1848kB low:2308kB high:2772kB active_anon:70584kB inactive_anon:60744kB active_file:24kB inactive_file:24kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:245736kB managed:232340kB mlocked:0kB dirty:0kB writeback:0kB mapped:8kB shmem:11800kB slab_reclaimable:12920kB slab_unreclaimable:33292kB kernel_stack:800kB pagetables:744kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Mar 19 17:44:29 myhost1 kernel: [663597.912178] lowmem_reserve[]: 0 0 0 0
Mar 19 17:44:29 myhost1 kernel: [663597.912180] Node 0 DMA: 412*4kB (UEMR) 34*8kB (UEMR) 2*16kB (UR) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1952kB
Mar 19 17:44:29 myhost1 kernel: [663597.912188] Node 0 DMA32: 6600*4kB (UEM) 626*8kB (UEM) 4*16kB (M) 1*32kB (R) 1*64kB (R) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 31568kB
Mar 19 17:44:29 myhost1 kernel: [663597.912197] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Mar 19 17:44:29 myhost1 kernel: [663597.912198] 3163 total pagecache pages
Mar 19 17:44:29 myhost1 kernel: [663597.912200] 0 pages in swap cache
Mar 19 17:44:29 myhost1 kernel: [663597.912202] Swap cache stats: add 244311, delete 244311, find 48489/69808
Mar 19 17:44:29 myhost1 kernel: [663597.912203] Free swap  = 0kB
Mar 19 17:44:29 myhost1 kernel: [663597.912204] Total swap = 0kB
Mar 19 17:44:29 myhost1 kernel: [663597.912205] 65432 pages RAM
Mar 19 17:44:29 myhost1 kernel: [663597.912206] 0 pages HighMem/MovableOnly
Mar 19 17:44:29 myhost1 kernel: [663597.912206] 3349 pages reserved
Mar 19 17:44:29 myhost1 kernel: [663597.912207] 0 pages hwpoisoned
Mar 19 17:45:18 myhost1 kernel: [663647.128082] UDP: bad checksum. From 81.17.18.220:23136 to 86.110.118.129:21700 ulen 302
# grep -E "invoked|Killed" /var/log/kern.log
Mar 19 15:29:51 myhost1 kernel: [655519.956212] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 15:29:51 myhost1 kernel: [655519.957602] Killed process 730 (exim4) total-vm:53252kB, anon-rss:652kB, file-rss:0kB
Mar 19 17:38:21 myhost1 kernel: [663229.383013] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:38:21 myhost1 kernel: [663229.384379] Killed process 133 (systemd-journal) total-vm:28872kB, anon-rss:292kB, file-rss:1516kB
Mar 19 17:38:21 myhost1 kernel: [663229.574216] systemd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=0
Mar 19 17:38:21 myhost1 kernel: [663229.574986] Killed process 480 (openvpn) total-vm:24864kB, anon-rss:652kB, file-rss:0kB
Mar 19 17:38:21 myhost1 kernel: [663229.758625] systemd-udevd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-1000
Mar 19 17:38:21 myhost1 kernel: [663229.760643] Killed process 770 (ntpd) total-vm:33800kB, anon-rss:612kB, file-rss:0kB
Mar 19 17:38:21 myhost1 kernel: [663229.833554] net.agent invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=0
Mar 19 17:38:21 myhost1 kernel: [663229.834446] Killed process 381 (rpc.statd) total-vm:37280kB, anon-rss:584kB, file-rss:8kB
Mar 19 17:38:21 myhost1 kernel: [663229.883509] net.agent invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=0
Mar 19 17:38:21 myhost1 kernel: [663229.888067] Killed process 10689 (privoxy) total-vm:22164kB, anon-rss:620kB, file-rss:4kB
Mar 19 17:39:09 myhost1 kernel: [663277.341572] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:39:09 myhost1 kernel: [663277.342282] Killed process 366 (rpcbind) total-vm:37152kB, anon-rss:492kB, file-rss:0kB
Mar 19 17:39:09 myhost1 kernel: [663277.759908] rsyslogd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=0
Mar 19 17:39:09 myhost1 kernel: [663277.760677] Killed process 5171 (systemd-journal) total-vm:28872kB, anon-rss:260kB, file-rss:372kB
Mar 19 17:44:29 myhost1 kernel: [663595.475056] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:44:29 myhost1 kernel: [663595.475883] Killed process 5431 (systemd-journal) total-vm:28872kB, anon-rss:260kB, file-rss:216kB
Mar 19 17:44:29 myhost1 kernel: [663596.005066] rsyslogd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=0
Mar 19 17:44:29 myhost1 kernel: [663596.005880] Killed process 7091 (rsyslogd) total-vm:45672kB, anon-rss:460kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663596.064285] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:44:29 myhost1 kernel: [663596.065148] Killed process 7080 (systemd-journal) total-vm:28872kB, anon-rss:252kB, file-rss:216kB
Mar 19 17:44:29 myhost1 kernel: [663596.346772] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:44:29 myhost1 kernel: [663596.347835] Killed process 7099 (systemd-journal) total-vm:28872kB, anon-rss:248kB, file-rss:172kB
Mar 19 17:44:29 myhost1 kernel: [663596.498222] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:44:29 myhost1 kernel: [663596.501089] Killed process 416 (systemd-logind) total-vm:19856kB, anon-rss:268kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.009830] systemd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=0
Mar 19 17:44:29 myhost1 kernel: [663597.010591] Killed process 7108 (systemd-journal) total-vm:28872kB, anon-rss:248kB, file-rss:128kB
Mar 19 17:44:29 myhost1 kernel: [663597.300835] rsyslogd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=0
Mar 19 17:44:29 myhost1 kernel: [663597.304152] Killed process 7109 (rsyslogd) total-vm:127600kB, anon-rss:484kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.389167] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:44:29 myhost1 kernel: [663597.390371] Killed process 7111 (in:imuxsock) total-vm:127600kB, anon-rss:512kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.431911] i2pd invoked oom-killer: gfp_mask=0x2000d0, order=2, oom_score_adj=-999
Mar 19 17:44:29 myhost1 kernel: [663597.433113] Killed process 7110 (systemd-journal) total-vm:28872kB, anon-rss:248kB, file-rss:248kB
Mar 19 17:44:29 myhost1 kernel: [663597.473342] Killed process 7107 (systemd-logind) total-vm:19856kB, anon-rss:268kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.488131] Killed process 412 (cron) total-vm:28696kB, anon-rss:244kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.494262] Killed process 406 (rpc.idmapd) total-vm:23356kB, anon-rss:196kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.518167] Killed process 410 (atd) total-vm:19024kB, anon-rss:180kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.527306] Killed process 489 (agetty) total-vm:15636kB, anon-rss:148kB, file-rss:8kB
Mar 19 17:44:29 myhost1 kernel: [663597.545375] Killed process 444 (acpid) total-vm:4256kB, anon-rss:152kB, file-rss:8kB
Mar 19 17:44:29 myhost1 kernel: [663597.568755] Killed process 420 (dbus-daemon) total-vm:42124kB, anon-rss:392kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.744565] Killed process 7115 (systemd-journal) total-vm:28872kB, anon-rss:240kB, file-rss:92kB
Mar 19 17:44:29 myhost1 kernel: [663597.815567] Killed process 21161 (i2pd) total-vm:874212kB, anon-rss:120356kB, file-rss:0kB
Mar 19 17:44:29 myhost1 kernel: [663597.903860] Killed process 21166 (i2pd) total-vm:874212kB, anon-rss:120444kB, file-rss:0kB

Инструкция по сборке соответствует сегодняшней действительности?

orignal commented 7 years ago

собирать обычным make если есть возможность

LLE8 commented 7 years ago

2.12 с floodfill = false и bandwidth = L на 32 bit Wheezy работает уже 31 день, не падает. Но сайты не открывает, ни флибусту, ни zzz.

~# curl -x 127.0.0.1:4444  http://flibusta.i2p/
<html>
<head>
  <title>I2Pd HTTP proxy</title>
  <style type="text/css">
    body { font: 100%/1.5em sans-serif; margin: 0; padding: 1.5em; background: #FAFAFA; color: #103456; }
    .header { font-size: 2.5em; text-align: center; margin: 1.5em 0; color: #894C84; }
  </style>
</head>
<body><h1>Proxy error: Host is down</h1>
<p>Can't create connection to requested host, it may be down</p>
</body>
</html>

~# curl -x 127.0.0.1:4444  http://zzz.i2p/
<html>
<head>
  <title>I2Pd HTTP proxy</title>
  <style type="text/css">
    body { font: 100%/1.5em sans-serif; margin: 0; padding: 1.5em; background: #FAFAFA; color: #103456; }
    .header { font-size: 2.5em; text-align: center; margin: 1.5em 0; color: #894C84; }
  </style>
</head>
<body><h1>Proxy error: Host is down</h1>
<p>Can't create connection to requested host, it may be down</p>
</body>
</html>

~# curl -x 127.0.0.1:4444  http://zmw2cyw2vj7f6obx3msmdvdepdhnw2ctc4okza2zjxlukkdfckhq.b32.i2p/
<html>
<head>
  <title>I2Pd HTTP proxy</title>
  <style type="text/css">
    body { font: 100%/1.5em sans-serif; margin: 0; padding: 1.5em; background: #FAFAFA; color: #103456; }
    .header { font-size: 2.5em; text-align: center; margin: 1.5em 0; color: #894C84; }
  </style>
</head>
<body><h1>Proxy error: Host is down</h1>
<p>Can't create connection to requested host, it may be down</p>
</body>
</html>

~# netstat -nap | grep i2pd | grep LIST
tcp        0      0 0.0.0.0:26571           0.0.0.0:*               LISTEN      12828/i2pd
tcp        0      0 127.0.0.1:6668          0.0.0.0:*               LISTEN      12828/i2pd
tcp        0      0 127.0.0.1:4444          0.0.0.0:*               LISTEN      12828/i2pd
tcp        0      0 127.0.0.1:7070          0.0.0.0:*               LISTEN      12828/i2pd
tcp        0      0 127.0.0.1:4447          0.0.0.0:*               LISTEN      12828/i2pd

На другой машинке открываются. Убиваю, чтобы не мучился? Могу там же запустить свежесобраный транк.

orignal commented 7 years ago

Разумеется прибить

LLE8 commented 7 years ago

Напоследок посмотрел, сколько сожрано памяти. 76MB, а было 110, вероятно где-то там и сломался.

Trunk собрал так git clone https://github.com/PurpleI2P/i2pd.git cd i2pd debuild --no-tgz-check -b получил i2pd_2.12.0-1_i386.deb и i2pd-dbg_2.12.0-1_i386.deb Отсутствие каких-либо пометок, о том, что это уже не совсем 2.12 смущать не должен? В version.h между релизами ничего не добавляется?

orignal commented 7 years ago

Ничего.

LLE8 commented 7 years ago

Транк, 32 bit Wheezy, uptime 1 день ОЗУ 28 МБ А в той https://github.com/PurpleI2P/i2pd/issues/799#issuecomment-290649241 смерти 2.12 похоже был виноват VDS, или ВМ, или гипервизор

LLE8 commented 7 years ago

Транк от 30 апреля марта пока не упал, uptime 9 суток, отожрал 33 МБ ОЗУ Флибуста открывается

orignal commented 7 years ago

апреля или марта? кстати новый релиз есть

LLE8 commented 7 years ago

да, 2.13 заметил

LLE8 commented 7 years ago

Транк от 30 марта все еще не упал. Uptime 16 дней 18 часов, 39 МБ ОЗУ. Флибуста открывается. Пожалуй пора заканчивать с ним?

orignal commented 7 years ago

явно все нормально работает

LLE8 commented 7 years ago

2.13, uptime 5 дней 3 часа, пока не упал тот 32 bit Wheezy, где падал 2.12