You are not logged in.

#1 2014-07-07 14:05:49

checktravis
Member
Registered: 2014-07-07
Posts: 3

[SOLVED] why do I have duplicate smbd daemons?

Running arch linux on a goflex home, not a lot of power so I would like to make it as optimized as possible.

ps -A shows 3 smbd, but one nmbd

  389 ?        00:00:03 nmbd
  393 ?        00:00:04 smbd
  394 ?        00:00:01 smbd
10577 ?        00:00:00 smbd


Is this normal?


Thanks for any advice.

Last edited by checktravis (2014-07-07 15:49:25)

Offline

#2 2014-07-07 14:53:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] why do I have duplicate smbd daemons?

Do these processes take up much memory and cpu?

Offline

#3 2014-07-07 15:15:23

checktravis
Member
Registered: 2014-07-07
Posts: 3

Re: [SOLVED] why do I have duplicate smbd daemons?

it's in the top of the memory users:

ID       Owner       Size       Command   
117    mysql    523352 kB    /usr/bin/mysqld --pid-file=/run/mysqld/mysqld.pid
300    everything    82344 kB    /usr/bin/transmission-daemon -f --log-error
318    root    50868 kB    /usr/bin/minidlnad -P /run/minidlna/minidlna.pid
332    root    33596 kB    /usr/bin/smbd -D
341    root    33596 kB    /usr/bin/smbd -D

Offline

#4 2014-07-07 15:42:06

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,408

Re: [SOLVED] why do I have duplicate smbd daemons?

Many processes take up multiple instances.  With inetd, it would be the primary process and then start a new fork for each new connection (telnet, ftp, smb, etc.).  Maybe run systemctl status smbd?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2014-07-07 15:47:53

checktravis
Member
Registered: 2014-07-07
Posts: 3

Re: [SOLVED] why do I have duplicate smbd daemons?

systemctl status smbd -l
? smbd.service - Samba SMB/CIFS server
   Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
   Active: active (running) since Mon 2014-07-07 10:50:39 EDT; 53min ago
  Process: 317 ExecStart=/usr/bin/smbd -D (code=exited, status=0/SUCCESS)
 Main PID: 332 (smbd)
   CGroup: /system.slice/smbd.service
           ├─ 332 /usr/bin/smbd -D
           ├─ 341 /usr/bin/smbd -D
           └─1354 /usr/bin/smbd -D

That makes sense. I have installed/uninstalled so many times I just wanted to make sure it was as clean as it can be.

Thanks for the help smile

Offline

Board footer

Powered by FluxBB