8 Feb 2025 |
| 10solution changed their display name from 10solution#0 to 10solution. | 12:08:01 |
sfroment | YEs I’m on it as well | 14:50:08 |
| jeksonkivov0424_46756 joined the room. | 18:51:06 |
| @kinkybeerke83:matrix.org joined the room. | 22:54:58 |
| @kinkybeerke83:matrix.org left the room. | 23:03:48 |
9 Feb 2025 |
tabcat | https://github.com/tabcat/prollipop just published version 2 which fixed a bug. all the big methods are fuzzed in test/stress now. | 10:07:01 |
10 Feb 2025 |
| garethweqornumq_51870 joined the room. | 09:51:40 |
| Soham Bhoir joined the room. | 19:03:03 |
11 Feb 2025 |
| byfish joined the room. | 11:35:38 |
tabcat | what are good tools for performance analysis? | 12:39:36 |
| @wofjspth1:matrix.org joined the room. | 13:40:49 |
| @wofjspth1:matrix.org left the room. | 13:59:54 |
achingbrain | Clinic is pretty good - https://clinicjs.org/ | 15:16:15 |
| jayreap57 joined the room. | 23:33:04 |
12 Feb 2025 |
| jayreap57 set a profile picture. | 01:01:36 |
| @mantixlu:matrix.org joined the room. | 06:48:47 |
| @mantixlu:matrix.org left the room. | 06:49:06 |
| @xont:matrix.org joined the room. | 11:11:00 |
| @xont:matrix.org left the room. | 12:11:09 |
sfroment | Just got back to thsi | 15:22:00 |
sfroment | I just updated the test | 15:22:07 |
sfroment | Not often but with the new test I sometime hit
\
1 failing
1) websocket many peers
should not crash 10 nodes:
MuxerUnavailableError: AbortError: Read aborted
at DefaultUpgrader._multiplexOutbound (file:///Users/sacha/topology/js-libp2p/packages/libp2p/src/upgrader.ts:729:13)
at runNextTicks (node:internal/process/task_queues:60:5)
at processTimers (node:internal/timers:516:9)
at DefaultUpgrader._performUpgrade (file:///Users/sacha/topology/js-libp2p/packages/libp2p/src/upgrader.ts:331:29)
at DefaultUpgrader.upgradeOutbound (file:///Users/sacha/topology/js-libp2p/packages/libp2p/src/upgrader.ts:238:14)
at WebSockets.dial (file:///Users/sacha/topology/js-libp2p/packages/transport-websockets/src/index.ts:129:18)
at Job.queue.add.peerId.peerId [as fn] (file:///Users/sacha/topology/js-libp2p/packages/libp2p/src/connection-manager/dial-queue.ts:249:26)
at raceSignal (file:///Users/sacha/topology/js-libp2p/node_modules/race-signal/src/index.ts:51:12)
at Job.run (file:///Users/sacha/topology/js-libp2p/packages/utils/src/queue/job.ts:77:22) | 15:22:31 |
sfroment | (the test name has nothing related with the test itself since it’s more of a POC | 15:22:54 |
sfroment | I really can’t get my head around where/why there is some unhandled promise | 15:24:55 |
sfroment | ` 1) websocket many peers
should not crash 10 nodes:
MuxerUnavailableError: UnexpectedEOFError: unexpected end of input
at DefaultUpgrader._multiplexOutbound (file:///Users/sacha/topology/js-libp2p/packages/libp2p/src/upgrader.ts:729:13)
at DefaultUpgrader._performUpgrade (file:///Users/sacha/topology/js-libp2p/packages/libp2p/src/upgrader.ts:331:29)
at DefaultUpgrader.upgradeOutbound (file:///Users/sacha/topology/js-libp2p/packages/libp2p/src/upgrader.ts:238:14)
at WebSockets.dial (file:///Users/sacha/topology/js-libp2p/packages/transport-websockets/src/index.ts:129:18)
at Job.queue.add.peerId.peerId [as fn] (file:///Users/sacha/topology/js-libp2p/packages/libp2p/src/connection-manager/dial-queue.ts:249:26)
at raceSignal (file:///Users/sacha/topology/js-libp2p/node_modules/race-signal/src/index.ts:51:12)
at Job.run (file:///Users/sacha/topology/js-libp2p/packages/utils/src/queue/job.ts:77:22)
The error also isn’t the same always | 15:26:04 |
achingbrain | > UnexpectedEOFError: unexpected end of input
This happens when the remote end closes the stream/connection, usually because of a timeout (e.g. the local end isn’t sending data fast enough).
If you’re starting 30x peers in a single process, it’s going to peg the CPU and grind to a halt.
I have modified your test to pass an AbortSignal to the dial operation, and to increase the incoming stream/connection upgrade timeouts, I get to 18 or so running nodes and the node process is at about 275% CPU but no crashes. | 19:06:37 |
sfroment | Redacted or Malformed Event | 22:13:17 |
sfroment | Redacted or Malformed Event | 22:14:31 |
13 Feb 2025 |
sfroment | Redacted or Malformed Event | 00:23:22 |
sfroment | Redacted or Malformed Event | 00:23:45 |