我注意到在我的 Ubuntu 系统上运行着同一个守护进程的三个实例:
root 1167 0.0 0.0 122556 5808 ? Ss 13:53 0:00 smbd -F
root 1371 0.0 0.0 122540 1632 ? S 13:53 0:00 smbd -F
root 1733 0.0 0.0 125104 4704 ? S 13:58 0:00 smbd -F
我的问题是这是否正常以及为什么会发生。
我的另一个问题是,如果它不正常,我应该去哪里纠正它?
谢谢!
来自smbd manual ;
A session is created whenever a client requests one. Each client gets a copy of the server for each session. This copy then services all connections made by the client during that session. When all connections from its client are closed, the copy of the server for that client terminates.
换句话说,有多个事件的 smbd session (又名 windows 文件共享 session )针对您的 linux 机器处于事件状态,并且运行多个进程是完全正常的。