event_linux consumes significant system resources when a large number of nodes and groups are present.
@fengzeroz is already working on this.
Since Sep 15, 2025.
Assessment
This issue has not been assessed yet.
Description
- The current event_linux implementation requires each business node to call
neu_event_newseparately to create an epoll instance. If the system has dozens or hundreds of nodes, there will be a large number of epoll file descriptors (fd) in the system, which will obviously consume a lot of system resources. - Currently, at least 3
timerfds are created for each group of every business node. If the system has dozens of nodes and hundreds of groups, hundreds oftimerfds will appear. This, firstly, consumes the process's file descriptor resources, and secondly, the frequent kernel/user-mode switching oftimerfds is quite CPU-intensive.
This issue was automatically translated from Chinese.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 312
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from emqx/neuron
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
[Backport request] CVE-2024-10964 — strcpy buffer overflow in plugin_handle.c not backported to v2.9 Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
MAKE FAILED!!! Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·