Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERRO[0000] loadAgentObjects: map sock_xmit_map: #48

Open
liucx1201 opened this issue Sep 18, 2024 · 7 comments
Open

ERRO[0000] loadAgentObjects: map sock_xmit_map: #48

liucx1201 opened this issue Sep 18, 2024 · 7 comments
Assignees

Comments

@liucx1201
Copy link

./kyanos stat http --side client -i 5 -m p -s 10 -g none
执行报错:
WARN[0000] Remove memlock:unexpected error detecting memory cgroup accounting: function not implemented
ERRO[0000] loadAgentObjects: map sock_xmit_map: map create: function not implemented (without BTF k/v)

另外个人看法:需要传入的参数太多了,第一次使用都不知道是什么意思?参数比较多。不是很让人通俗易懂的。

@hengyoush
Copy link
Owner

可以使用uname -a 看下内核版本号是多少吗?

感谢你的建议,我后续会考虑优化下参数。

@hengyoush hengyoush self-assigned this Sep 18, 2024
@hengyoush hengyoush added the good first issue Good for newcomers label Sep 18, 2024
@supery-chen
Copy link

supery-chen commented Sep 20, 2024

我也遇到同样的问题

$ ./kyanos
WARN[0000] Remove memlock:unexpected error detecting memory cgroup accounting: function not implemented
ERRO[0000] loadAgentObjects: map sock_xmit_map: map create: function not implemented (without BTF k/v)

$ uname -a
Linux xxxxxxxxx 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

@supery-chen
Copy link

image
我看文档中描述是支持3.10的内核的

@hengyoush
Copy link
Owner

image 我看文档中描述是支持3.10的内核的

sorry, 我没有写清楚, 最低内核版本可能需要3.10.0-957, 我会更新下文档.

Centos RHEL Release Date RHEL Date Kernel BPF BTF HUB
7.0.1406 7.0 2014-07 2014-06-09 3.10.0-123 - - Y
7.1.1503 7.1 2015-03 2015-03-05 3.10.0-229 - - Y
7.2.1511 7.2 2015-11 2015-11-19 3.10.0-327 - - Y
7.3.1611 7.3 2016-11 2016-11-03 3.10.0-514 - - Y
7.4.1708 7.4 2017-08 2017-07-31 3.10.0-693 - - Y
7.5.1804 7.5 2018-04 2018-04-10 3.10.0-862 - - Y
7.6.1810 7.6 2018-10 2018-10-30 3.10.0-957 Y - Y
7.7.1908 7.7 2019-08 2019-08-06 3.10.0-1062 Y - Y
7.8.2003 7.8 2020-03 2020-03-31 3.10.0-1127 Y - Y
7.9.2009 7.9 2020-09 2020-09-29 3.10.0-1160 Y - Y

@anaer
Copy link

anaer commented Sep 20, 2024

后续会支持低内核版本不? 看了下用的机器的内核版本是3.10.0-693

@hengyoush
Copy link
Owner

后续会支持低内核版本不? 看了下用的机器的内核版本是3.10.0-693

会考虑支持。
目前kyanos依赖内核的eBPF能力,3.10.0-957之前暂时不支持,后续会考虑支持通过cBPF过滤包,这样可以支持低版本内核。 @anaer

@liucx1201
Copy link
Author

会考虑支持。 目前kyanos依赖内核的eBPF能力,3.10.0-957之前暂时不支持,后续会考虑支持通过cBPF过滤包,这样可以支持低版本内核。 @anaer
看了下我的也是centos7.4 内核号957

@hengyoush hengyoush removed the good first issue Good for newcomers label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants