Code Monkey home page Code Monkey logo

Comments (9)

poorplanet avatar poorplanet commented on September 1, 2024 1

Slammed some beers and went back to town. Built Radiance on a Debian Buster VM, and had the same issue. Fiddled around with the radiance.conf some more, bumped the mysql_timeout to 120, and this looks to have resolved the issue.

from radiance.

Empornium avatar Empornium commented on September 1, 2024

Does the log not provide any hints?

My suspicion would be it's spinning round the flush loop very quickly and isn't able to flush it to the DB.

from radiance.

poorplanet avatar poorplanet commented on September 1, 2024

Nothing indicative:

[2020-07-03 17:04:49] Listening with IPv4 INET socket on 0.0.0.0:34000.
[2020-07-03 17:04:49] Listening with IPv6 INET socket on [::]:34000.
[2020-07-03 17:04:49] Sockets up on port 34000, starting event loop!
[2020-07-03 17:04:59] 0 open, 0 connections (0/s), 0 requests (0/s)
[2020-07-03 17:06:01] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:01] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:02] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:06] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:07] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:09] Connecting to DB to flush torrents
[2020-07-03 17:06:09] MySQL connection grab called
[2020-07-03 17:06:09] MySQL connection issued: 1 (0)
[2020-07-03 17:06:09] Connecting to DB to flush peers
[2020-07-03 17:06:09] MySQL connection grab called
[2020-07-03 17:06:09] MySQL connection issued: 0 (0)
[2020-07-03 17:06:09] MySQL connection create called
[2020-07-03 17:06:09] MySQL connection create called
[2020-07-03 17:06:09] MySQL connection created: 0 (0)
[2020-07-03 17:06:09] MySQL connection created: 0 (0)
[2020-07-03 17:06:09] torrents flushed in 696 microseconds.
[2020-07-03 17:06:09] MySQL connection release called
[2020-07-03 17:06:09] MySQL connection released: 2 (1)
[2020-07-03 17:06:09] Connecting to DB to flush torrents
[2020-07-03 17:06:09] peers flushed in 678 microseconds.
[2020-07-03 17:06:09] MySQL connection release called
[2020-07-03 17:06:09] MySQL connection released: 2 (0)
[2020-07-03 17:06:09] MySQL connection grab called
[2020-07-03 17:06:09] MySQL connection issued: 2 (0)
[2020-07-03 17:06:09] torrents flushed in 313 microseconds.
[2020-07-03 17:06:09] MySQL connection release called
[2020-07-03 17:06:09] MySQL connection released: 2 (0)
[2020-07-03 17:06:16] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:19] Connecting to DB to flush torrents
[2020-07-03 17:06:19] MySQL connection grab called
[2020-07-03 17:06:19] MySQL connection issued: 2 (0)
[2020-07-03 17:06:19] Connecting to DB to flush peers
[2020-07-03 17:06:19] MySQL connection create called
[2020-07-03 17:06:19] MySQL connection grab called
[2020-07-03 17:06:19] MySQL connection issued: 0 (0)
[2020-07-03 17:06:19] MySQL connection create called
[2020-07-03 17:06:19] MySQL connection created: 0 (0)
[2020-07-03 17:06:19] MySQL connection created: 0 (0)
[2020-07-03 17:06:19] peers flushed in 414 microseconds.
[2020-07-03 17:06:19] MySQL connection release called
[2020-07-03 17:06:19] MySQL connection released: 2 (1)
[2020-07-03 17:06:19] torrents flushed in 430 microseconds.
[2020-07-03 17:06:19] MySQL connection release called
[2020-07-03 17:06:19] MySQL connection released: 2 (0)
[2020-07-03 17:06:19] Connecting to DB to flush torrents
[2020-07-03 17:06:19] MySQL connection grab called
[2020-07-03 17:06:19] MySQL connection issued: 2 (0)
[2020-07-03 17:06:19] torrents flushed in 192 microseconds.
[2020-07-03 17:06:19] MySQL connection release called
[2020-07-03 17:06:19] MySQL connection released: 2 (0)
[2020-07-03 17:06:19] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:29] Connecting to DB to flush torrents
[2020-07-03 17:06:29] Connecting to DB to flush peers
[2020-07-03 17:06:29] MySQL connection grab called
[2020-07-03 17:06:29] MySQL connection issued: 2 (0)
[2020-07-03 17:06:29] MySQL connection grab called
[2020-07-03 17:06:29] MySQL connection issued: 2 (0)
[2020-07-03 17:06:29] MySQL connection create called
[2020-07-03 17:06:29] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:06:29] peers flushed in 520 microseconds.
[2020-07-03 17:06:29] MySQL connection release called
[2020-07-03 17:06:29] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:06:34] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:35] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:39] Torrent flush queue size: 2, next query length: 273
[2020-07-03 17:06:39] Connecting to DB to flush peers
[2020-07-03 17:06:39] MySQL connection grab called
[2020-07-03 17:06:39] MySQL connection issued: 18446744073709551615 (0)
[2020-07-03 17:06:39] MySQL connection create called
[2020-07-03 17:06:39] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:06:39] peers flushed in 579 microseconds.
[2020-07-03 17:06:39] MySQL connection release called
[2020-07-03 17:06:39] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:06:45] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:46] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:49] Torrent flush queue size: 4, next query length: 273
[2020-07-03 17:06:49] Connecting to DB to flush peers
[2020-07-03 17:06:49] MySQL connection grab called
[2020-07-03 17:06:49] MySQL connection issued: 18446744073709551615 (0)
[2020-07-03 17:06:49] MySQL connection create called
[2020-07-03 17:06:49] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:06:49] peers flushed in 688 microseconds.
[2020-07-03 17:06:49] MySQL connection release called
[2020-07-03 17:06:49] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:06:56] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:58] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:59] Torrent flush queue size: 6, next query length: 273
[2020-07-03 17:06:59] Connecting to DB to flush peers
[2020-07-03 17:06:59] MySQL connection grab called
[2020-07-03 17:06:59] MySQL connection issued: 18446744073709551615 (0)
[2020-07-03 17:06:59] MySQL connection create called
[2020-07-03 17:06:59] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:06:59] peers flushed in 637 microseconds.
[2020-07-03 17:06:59] MySQL connection release called
[2020-07-03 17:06:59] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:07:09] Torrent flush queue size: 8, next query length: 273
[2020-07-03 17:07:09] Connecting to DB to flush peers
[2020-07-03 17:07:09] MySQL connection grab called
[2020-07-03 17:07:09] MySQL connection issued: 18446744073709551615 (0)
[2020-07-03 17:07:09] MySQL connection create called
[2020-07-03 17:07:09] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:07:09] peers flushed in 583 microseconds.
[2020-07-03 17:07:09] MySQL connection release called
[2020-07-03 17:07:09] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:07:19] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:07:29] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:07:39] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:07:49] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:07:49] Starting peer reaper
[2020-07-03 17:07:49] Skipped torrent: 1
[2020-07-03 17:07:49] Reaped 0 leechers, 0 seeders and 0 tokens. Reset 0 torrents
[2020-07-03 17:07:49] Starting del reason reaper
[2020-07-03 17:07:49] Reaped 0 del reasons
[2020-07-03 17:07:59] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:08:09] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:08:19] 0 open, 13 connections (0/s), 13 requests (0/s)
[2020-07-03 17:08:19] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:08:29] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:06:29] Connecting to DB to flush torrents
[2020-07-03 17:06:29] Connecting to DB to flush peers
[2020-07-03 17:06:29] MySQL connection grab called
[2020-07-03 17:06:29] MySQL connection issued: 2 (0)
[2020-07-03 17:06:29] MySQL connection grab called
[2020-07-03 17:06:29] MySQL connection issued: 2 (0)
[2020-07-03 17:06:29] MySQL connection create called
[2020-07-03 17:06:29] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:06:29] peers flushed in 520 microseconds.
[2020-07-03 17:06:29] MySQL connection release called
[2020-07-03 17:06:29] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:06:34] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:35] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:39] Torrent flush queue size: 2, next query length: 273
[2020-07-03 17:06:39] Connecting to DB to flush peers
[2020-07-03 17:06:39] MySQL connection grab called
[2020-07-03 17:06:39] MySQL connection issued: 18446744073709551615 (0)
[2020-07-03 17:06:39] MySQL connection create called
[2020-07-03 17:06:39] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:06:39] peers flushed in 579 microseconds.
[2020-07-03 17:06:39] MySQL connection release called
[2020-07-03 17:06:39] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:06:45] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:46] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:49] Torrent flush queue size: 4, next query length: 273
[2020-07-03 17:06:49] Connecting to DB to flush peers
[2020-07-03 17:06:49] MySQL connection grab called
[2020-07-03 17:06:49] MySQL connection issued: 18446744073709551615 (0)
[2020-07-03 17:06:49] MySQL connection create called
[2020-07-03 17:06:49] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:06:49] peers flushed in 688 microseconds.
[2020-07-03 17:06:49] MySQL connection release called
[2020-07-03 17:06:49] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:06:56] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 17:06:58] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 17:06:59] Torrent flush queue size: 6, next query length: 273
[2020-07-03 17:06:59] Connecting to DB to flush peers
[2020-07-03 17:06:59] MySQL connection grab called
[2020-07-03 17:06:59] MySQL connection issued: 18446744073709551615 (0)
[2020-07-03 17:06:59] MySQL connection create called
[2020-07-03 17:06:59] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:06:59] peers flushed in 637 microseconds.
[2020-07-03 17:06:59] MySQL connection release called
[2020-07-03 17:06:59] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:07:09] Torrent flush queue size: 8, next query length: 273
[2020-07-03 17:07:09] Connecting to DB to flush peers
[2020-07-03 17:07:09] MySQL connection grab called
[2020-07-03 17:07:09] MySQL connection issued: 18446744073709551615 (0)
[2020-07-03 17:07:09] MySQL connection create called
[2020-07-03 17:07:09] MySQL connection created: 18446744073709551614 (0)
[2020-07-03 17:07:09] peers flushed in 583 microseconds.
[2020-07-03 17:07:09] MySQL connection release called
[2020-07-03 17:07:09] MySQL connection released: 18446744073709551615 (0)
[2020-07-03 17:07:19] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:07:29] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:07:39] Torrent flush queue size: 10, next query length: 273
[2020-07-03 17:07:49] Torrent flush queue size: 10, next query length: 273

When compiling with both the jemalloc and debug flag, I'm receiving a crash:

[2020-07-03 18:00:32] Running in Foreground
[2020-07-03 18:00:32] Clearing peerlists and resetting peer counts...
[2020-07-03 18:00:32] Connecting to DB to clear peer data
[2020-07-03 18:00:32] MySQL connection grab called
[2020-07-03 18:00:32] MySQL connection issued: 0 (0)
[2020-07-03 18:00:32] MySQL connection create called
[2020-07-03 18:00:32] MySQL connection created: 0 (0)
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (1)
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (0)
[2020-07-03 18:00:32] done
[2020-07-03 18:00:32] Connecting to DB to load site options
[2020-07-03 18:00:32] MySQL connection grab called
[2020-07-03 18:00:32] MySQL connection issued: 1 (0)
[2020-07-03 18:00:32] Querying DB for EnableIPv6Tracker option
[2020-07-03 18:00:32] Querying DB for SitewideDoubleseedEndTime option
[2020-07-03 18:00:32] Querying DB for SitewideDoubleseedMode option
[2020-07-03 18:00:32] Querying DB for SitewideDoubleseedStartTime option
[2020-07-03 18:00:32] Querying DB for SitewideFreeleechEndTime option
[2020-07-03 18:00:32] Querying DB for SitewideFreeleechMode option
[2020-07-03 18:00:32] Querying DB for SitewideFreeleechStartTime option
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (1)
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (0)
[2020-07-03 18:00:32] Connecting to DB to load users
[2020-07-03 18:00:32] MySQL connection grab called
[2020-07-03 18:00:32] MySQL connection issued: 1 (0)
[2020-07-03 18:00:32] Loaded 3 users
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (1)
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (0)
[2020-07-03 18:00:32] Connecting to DB to load torrents
[2020-07-03 18:00:32] MySQL connection grab called
[2020-07-03 18:00:32] MySQL connection issued: 1 (0)
[2020-07-03 18:00:32] Loaded 1 torrents
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (1)
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (0)
[2020-07-03 18:00:32] Connecting to DB to load tokens
[2020-07-03 18:00:32] MySQL connection grab called
[2020-07-03 18:00:32] MySQL connection issued: 1 (0)
[2020-07-03 18:00:32] Loaded 0 tokens
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (1)
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (0)
[2020-07-03 18:00:32] Connecting to DB to load blacklist
[2020-07-03 18:00:32] MySQL connection grab called
[2020-07-03 18:00:32] MySQL connection issued: 1 (0)
[2020-07-03 18:00:32] Assuming no blacklist desired, disabling
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (1)
[2020-07-03 18:00:32] MySQL connection release called
[2020-07-03 18:00:32] MySQL connection released: 1 (0)
[2020-07-03 18:00:32] Listening with IPv4 INET socket on 0.0.0.0:34000.
[2020-07-03 18:00:32] Listening with IPv6 INET socket on [::]:34000.
[2020-07-03 18:00:32] Sockets up on port 34000, starting event loop!
[2020-07-03 18:00:35] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 18:00:35] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 18:00:36] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 18:00:37] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 18:00:38] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 18:00:42] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 18:00:42] 0 open, 5 connections (0/s), 5 requests (0/s)
[2020-07-03 18:00:42] Connecting to DB to flush torrents
[2020-07-03 18:00:42] MySQL connection grab called
[2020-07-03 18:00:42] MySQL connection issued: 1 (0)
[2020-07-03 18:00:42] Connecting to DB to flush peers
[2020-07-03 18:00:42] MySQL connection grab called
[2020-07-03 18:00:42] MySQL connection create called
[2020-07-03 18:00:42] MySQL connection issued: 0 (0)
[2020-07-03 18:00:42] MySQL connection create called
[2020-07-03 18:00:42] MySQL connection created: 0 (0)
[2020-07-03 18:00:42] MySQL connection created: 0 (0)
[2020-07-03 18:00:42] torrents flushed in 565 microseconds.
[2020-07-03 18:00:42] MySQL connection release called
[2020-07-03 18:00:42] MySQL connection released: 2 (1)
[2020-07-03 18:00:42] Connecting to DB to flush torrents
[2020-07-03 18:00:42] MySQL connection grab called
[2020-07-03 18:00:42] MySQL connection issued: 2 (1)
[2020-07-03 18:00:42] peers flushed in 666 microseconds.
[2020-07-03 18:00:42] MySQL connection release called
[2020-07-03 18:00:42] MySQL connection released: 2 (1)
[2020-07-03 18:00:42] torrents flushed in 219 microseconds.
[2020-07-03 18:00:42] MySQL connection release called
[2020-07-03 18:00:42] MySQL connection released: 2 (0)
[2020-07-03 18:00:44] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 18:00:48] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 18:00:49] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 18:00:52] Connecting to DB to flush torrents
[2020-07-03 18:00:52] MySQL connection grab called
[2020-07-03 18:00:52] MySQL connection issued: 2 (0)
[2020-07-03 18:00:52] Connecting to DB to flush peers
[2020-07-03 18:00:52] MySQL connection grab called
[2020-07-03 18:00:52] MySQL connection issued: 0 (0)
[2020-07-03 18:00:52] MySQL connection create called
[2020-07-03 18:00:52] MySQL connection create called
[2020-07-03 18:00:52] MySQL connection created: 0 (0)
[2020-07-03 18:00:52] MySQL connection created: 0 (0)
[2020-07-03 18:00:52] torrents flushed in 540 microseconds.
[2020-07-03 18:00:52] MySQL connection release called
[2020-07-03 18:00:52] peers flushed in 572 microseconds.
[2020-07-03 18:00:52] MySQL connection released: 2 (1)
[2020-07-03 18:00:52] MySQL connection release called
[2020-07-03 18:00:52] Connecting to DB to flush torrents
[2020-07-03 18:00:52] MySQL connection grab called
[2020-07-03 18:00:52] MySQL connection released: 2 (0)
[2020-07-03 18:00:52] MySQL connection issued: 2 (0)
[2020-07-03 18:00:52] torrents flushed in 208 microseconds.
[2020-07-03 18:00:52] MySQL connection release called
[2020-07-03 18:00:52] MySQL connection released: 2 (0)
[2020-07-03 18:01:10] Peer with IPv4 address [REDACTED-IP] removed.
[2020-07-03 18:01:11] Peer with IPv4 address [REDACTED-IP] added.
[2020-07-03 18:01:12] Connecting to DB to flush torrents
[2020-07-03 18:01:12] MySQL connection grab called
[2020-07-03 18:01:12] MySQL connection issued: 2 (0)
[2020-07-03 18:01:12] Connecting to DB to flush peers
[2020-07-03 18:01:12] MySQL connection grab called
[2020-07-03 18:01:12] MySQL connection issued: 1 (0)
[2020-07-03 18:01:12] MySQL connection create called
./radiance(+0x56b02) [0x560a1df16b02]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7fed611fa3c0]
/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt8__detail15_List_node_base9_M_unhookEv+0xe) [0x7fed60697eee]
/usr/local/lib/libmysqlpp.so.3(_ZN7mysqlpp14ConnectionPool6removeERKSt14_List_iteratorINS0_14ConnectionInfoEE+0x2e) [0x7fed611b286e]
/usr/local/lib/libmysqlpp.so.3(_ZN7mysqlpp14ConnectionPool22remove_old_connectionsEv+0x97) [0x7fed611b2ae7]
/usr/local/lib/libmysqlpp.so.3(_ZN7mysqlpp14ConnectionPool4grabEv+0x23) [0x7fed611b2b23]
./radiance(_ZN16dbConnectionPool4grabEv+0x851) [0x560a1defd0d1]
/usr/local/lib/libmysqlpp.so.3(_ZN7mysqlpp14ConnectionPool9safe_grabEv+0x24) [0x7fed611b2a34]
[2020-07-03 18:01:12] MySQL connection created: 18446744073709551615 (0)/usr/local/lib/libmysqlpp.so.3(_ZN7mysqlpp16ScopedConnectionC2ERNS_14ConnectionPoolEb+0x18) [0x7fed611c33a8]

./radiance(_ZN8database8do_flushERbRSt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS7_SaIS7_EEERSt5mutexRSt6atomicImES7_+0xb4) [0x560a1df054a4]
./radiance(_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJM8databaseFvRbRSt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeISB_SaISB_EEERSt5mutexRSt6atomicImESB_EPS3_St17reference_wrapperIbESP_ISF_ESP_ISH_ESP_ISK_EPKcEEEEE6_M_runEv+0x64) [0x560a1df06674]
./radiance(+0x56b02) [0x560a1df16b02]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7fed611fa3c0]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x8f7dc) [0x7fed60b287dc]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x84f64) [0x7fed60b1df64]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x857da) [0x7fed60b1e7da]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6cb4) [0x7fed606b2cb4]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x33bee) [0x7fed60accbee]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fed611ee609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fed604ef103]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x3d586) [0x7fed60ad6586]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(mysql_ping+0x2a) [0x7fed60ac65ea]
[2020-07-03 18:01:12] SegFault:
1       0x560a1df16b02 ./radiance(+0x56b02) [0x560a1df16b02]
2       0x7fed611fa3c0 /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7fed611fa3c0]
3       0x7fed60697eee std::__detail::_List_node_base::_M_unhook() + 14
4       0x7fed611b286e mysqlpp::ConnectionPool::remove(std::_List_iterator<mysqlpp::ConnectionPool::ConnectionInfo> const&) + 46
5       0x7fed611b2ae7 mysqlpp::ConnectionPool::remove_old_connections() + 151
6       0x7fed611b2b23 mysqlpp::ConnectionPool::grab() + 35
7      0x560a1defd0d1 dbConnectionPool::grab() + 2129
8       0x7fed611b2a34 mysqlpp::ConnectionPool::safe_grab() + 36
9       0x7fed611c33a8 mysqlpp::ScopedConnection::ScopedConnection(mysqlpp::ConnectionPool&, bool) + 24
10      0x560a1df054a4 database::do_flush(bool&, std::queue<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::deque<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::mutex&, std::atomic<unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 180
11      0x560a1df06674 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (database::*)(bool&, std::queue<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::deque<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::mutex&, std::atomic<unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >), database*, std::reference_wrapper<bool>, std::reference_wrapper<std::queue<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::deque<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::reference_wrapper<std::mutex>, std::reference_wrapper<std::atomic<unsigned long> >, char const*> > >::_M_run() + 100
12      0x7fed606b2cb4 /lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6cb4) [0x7fed606b2cb4]
13      0x7fed611ee609 /lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fed611ee609]
14      0x7fed604ef103 clone + 67
/usr/local/lib/libmysqlpp.so.3(_ZN7mysqlpp10Connection4pingEv+0x46) [0x7fed611afbe6]

/usr/local/lib/libmysqlpp.so.3(_ZN7mysqlpp14ConnectionPool9safe_grabEv+0x2f) [0x7fed611b2a3f]
Segmentation fault (core dumped)

With Radiance is running inside of gdb, compiled with the jemalloc and debug flags, I'm not experiencing crashes, no stalled torrent / peer queue, and the CPU usage remains normal.

from radiance.

Empornium avatar Empornium commented on September 1, 2024

It looks like the torrent flush isn't actually flushing to the DB, how big is your connection pool for the DB?

If you use addr2line on the crash addresses where does it point you?

from radiance.

poorplanet avatar poorplanet commented on September 1, 2024

I might be the village idiot here, but by connection pool, are you asking about my MySQL connection settings?

addr2line breaks down the following:

Capture

from radiance.

poorplanet avatar poorplanet commented on September 1, 2024

My Boost is currently version 1.55. I'm guessing it's too old and updating to 1.66 now.

from radiance.

Empornium avatar Empornium commented on September 1, 2024

By connection pool I meant how many connections you had configured radiance to use, if you left it at default then it should be 8, which is fine I think.

We run on Debian Buster, which appears to have boost version 1.67 so 1.66 should work fine. 1.55 is definitely the oldest boost it'll run on.

from radiance.

Empornium avatar Empornium commented on September 1, 2024

Glad you got it fixed.

from radiance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.