Highlighted
Absent Member.
Absent Member.
2657 views

OES2SP2 CIFS - 2 cifsd processes running ??

Is this normal operation, that 2 instances of cifsd are running on a
simple OES2SP2 64-bit server, being used only for file access via NCP
and CIFS?

I recently discovered, that 2 cifsd processes are running on this file
server, but only one of those processes has a /var/run/cifsd.pid file
with it's pid and only this process seems to handle connections via
CIFS. I can end the other process without seeing problems for users.

If I issue rcnovell-cifs start 2 processes are started, the same
applies to a reboot of the server.

One negative thing I saw, is that a restart of cifsd doesn't clear CIFS
file locks.

Furthermore I see, that upon reboot of the server the cifsd sets
several locks for directories at server startup, which are not accessed
by anybody.
--
W. Prindl

W. Prindl
Labels (1)
0 Likes
4 Replies
Highlighted
Micro Focus Contributor
Micro Focus Contributor

Re: OES2SP2 CIFS - 2 cifsd processes running ??

I have 2 cifsd process on my server. One is a child process of the other.

root 16668 1 1 14:24 ? 00:00:00 /usr/sbin/cifsd
root 16679 16668 0 14:24 ? 00:00:00 /usr/sbin/cifsd
0 Likes
Absent Member.
Absent Member.

Re: OES2SP2 CIFS - 2 cifsd processes running ??

Yes same situation here, one is child of the other. And ending the
child has no impact on accessabililty.

--
W. Prindl


TitanXV wrote:

>I have 2 cifsd process on my server. One is a child process of the
>other.
>
>root 16668 1 1 14:24 ? 00:00:00 /usr/sbin/cifsd
>root 16679 16668 0 14:24 ? 00:00:00 /usr/sbin/cifsd


W. Prindl
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: OES2SP2 CIFS - 2 cifsd processes running ??

There are two cifsd processes that run in a CIFS server. A parent and a child process. The child process is an NBNS process, which handles all the IP address to netbios name resoultion to all clients that try to connect to that CIFS server. When you kill the child process, CIFS will continue to run on the server. However when you try to connect from any client using netbios names, then it will fail as the mapping to ip address will not happen.

Thanks,
Aarthi
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: OES2SP2 CIFS - 2 cifsd processes running ??

Ok interesting. Would that mean, that I could end that process without
issues if I have an other NBNS, which resolves the Netbios names?

--
W. Prindl


saarthi wrote:

>
>There are two cifsd processes that run in a CIFS server. A parent and
>a child process. The child process is an NBNS process, which handles
>all the IP address to netbios name resoultion to all clients that try
>to connect to that CIFS server. When you kill the child process, CIFS
>will continue to run on the server. However when you try to connect
>from any client using netbios names, then it will fail as the mapping
>to ip address will not happen.
>
>Thanks,
>Aarthi


W. Prindl
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.