Open
dbus报错,超过用户最大连接数 #8
hanjinpengAdd on  Jul 3, 2024
hanjinpengCollaborators
Jul 3, 2024 Create

【环境信息】
OS版本及分支信息
系统:openEuler 2403
软件包版本:dbus-1.14.8-2

【问题复现步骤】
安装ukui图形界面,启动登录
运行3个以上tiger vncserver远程连接服务
vncserver :1
vncserver :2
vncserver :3

message日志中,有会dbus超过用户最大链接数的错误

Jul  3 19:44:45 localhost dbus-daemon[954]: [system] The maximum number of active connections for UID 0 has been reached (max_connections_per_user=256)
Jul  3 19:44:45 localhost dbus-daemon[954]: [system] The maximum number of active connections for UID 0 has been reached (max_connections_per_user=256)
Jul  3 19:44:45 localhost dbus-daemon[954]: [system] The maximum number of active connections for UID 0 has been reached (max_connections_per_user=256)
Jul  3 19:44:45 localhost dbus-daemon[954]: [system] The maximum number of active connections for UID 0 has been reached (max_connections_per_user=256)
likedislike
HhanjinpengCollaborators
Jul 3, 2024 创建了任务
-
Jul 3, 2024 Comments:

Hi protkhn, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @licihua , @openeuler-basic , @overweight , @xiezhipeng1 , @zhujianwei001 , @licunlong , @xujing99 , @ship_harbour , @jiayi0118 , @dillon_chen

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Jul 3, 2024 添加了   sig/Base-service 标签
HhanjinpengCollaborators
Jul 3, 2024 关联了src-openEuler/dbus Pull Request !89
-
Jul 4, 2024 Comments:

根据具体使用场景,调整dbus-1/system.conf文件的max_completed_connections和max_connections_per_user配置值即可

likedislike
hanjinpengCollaborators
Jul 5, 2024 Comments:

根据具体使用场景,调整dbus-1/system.conf文件的max_completed_connections和max_connections_per_user配置值即可

dbus的单用户连接默认参数值有点小了,在开启桌面环境的情况,会占用消耗的比较多。
如果再开启几个服务,基本就到了最大限制了。
所以可以适当调大一些。
并且这些参数值,很多年都没调整了,可以适当的,根据现在的系统和组件版本情况,合理的修改调整下了。

likedislike
HhanjinpengCollaborators
Oct 23, 2024 关联了openEuler/community Pull Request !5960
HhanjinpengCollaborators
Apr 7, 2025 取消关联openEuler/community Pull Request !5960