As of now, my relay spits out stats like below every 10s and these 62 subscribers have the machine very busy with 8 CPU maxed out, 40mbit/s for hours, ...

```

Sun Dec 18 23:56:01 UTC 2022: pinging all sockets. 322MB / 490MB free.

62 subscribers maintain 62 channels and are monitoring these queries:

21 times kinds[1, 2], since

19 times kinds[1, 3, 4], tags, since

19 times authors, kinds[0, 1, 2, 3, 4], since

19 times ProbabilisticFilter( kinds: [0] ids/authors/tags: 1000s )

12 times authors, kinds[3]

7 times kinds[0, 1, 2, 7], since, limit

7 times kinds[3], tags

7 times kinds[1, 42, 7, 6], tags, since

6 times authors, kinds[1]

6 times kinds[1], limit

5 times kinds[4], tags, limit

5 times kinds[4], tags, since

5 times authors, kinds[4], since

4 times authors, kinds[4]

4 times ProbabilisticFilter( kinds: [1, 42, 7, 6] ids/authors/tags: 100s after )

4 times ProbabilisticFilter( kinds: [0] ids/authors/tags: 100s after )

3 times authors, kinds[0]

3 times ids, kinds[1], limit

2 times since

2 times kinds[0, 1, 2, 3, 4], tags

2 times ids

2 times authors, kinds[0], since

2 times tags, limit

2 times ids, limit

2 times kinds[1, 42, 7, 6], tags, limit

2 times ProbabilisticFilter( kinds: [1, 42, 7, 6] ids/authors/tags: 1000s after )

2 times ProbabilisticFilter( kinds: [0] ids/authors/tags: 1000s after )

1 times ProbabilisticFilter( ids/authors/tags: 100s after )

1 times tags, since

1 times NoMatchFilter

1 times ProbabilisticFilter( ids/authors/tags: 100s )

1 times authors, kinds[1, 42, 7, 6], since

1 times kinds[1, 42], until, limit

1 times authors, kinds[1, 42, 7, 6], limit

1 times ProbabilisticFilter( kinds: [1, 42, 7, 6] ids/authors/tags: 100s )

1 times ProbabilisticFilter( kinds: [0] ids/authors/tags: 100s )

1 times ProbabilisticFilter( kinds: [0] ids/authors/tags: 10000s )

1 times authors, kinds[1, 42], limit

1 times authors, kinds[3, 0, 6]

1 times authors, kinds[1, 42, 5, 6, 7], since, limit

1 times kinds[1, 42, 5, 6, 7], tags, since, limit

1 times authors, kinds[4], limit

1 times kinds[1, 42, 5, 6, 7], until, limit

1 times ProbabilisticFilter( kinds: [1, 42, 5, 6, 7] ids/authors/tags: 1000s )

82721 Events sent in 3012ms.

14 Events received via Websocket.

50 Channels closed.

19 Sessions closed.

```

Reply to this note

Please Login to reply.

Discussion

No replies yet.