Samba config / performance
Posted on 2006-05-22
Simple question. I want to know how I can specify the number of child processes samba spawns when it starts up? It seems to default to two and I wish to have more.
Here's why, for I might be pursuing the wrong solution here. I do a lot of work with this samba server, from multiple PCs. It seems to take forever when it initially connects and I think having more available would help this. I am assuming samba takes all connections from PC A under whatever process it initially connects to, which is why I suspect I may be wrong in my search. Most of my data is on the samba server, and when I finish some work, I move it to another share. This seems to drag everything else down because its a lot of data being copied and I can't seem to do much else when doing this. I have seen multiple child processes owned by the same user though which makes me suspect I can configure this to distribute the load over multiple. I have about 7 mapped drives to it and work from all constantly.
Any ideas? I hope that is enough information to go on. This really only started when I upgraded it from Fedora core 4 to 5 as well.
[root@persephone ewebster]# rpm -qa | grep samba
[root@persephone ewebster]# ps aufx | grep smb | grep -v grep
root 2010 0.0 0.1 12472 2224 ? Ss 12:43 0:00 smbd -D
root 2013 0.0 0.0 12472 1000 ? S 12:43 0:00 \_ smbd -D
ewebster 2224 0.2 0.2 13572 4188 ? S 12:43 1:06 \_ smbd -D
root 2732 0.0 0.1 12904 3192 ? S 14:33 0:00 \_ smbd -D
xbmc 4633 0.6 0.1 12904 2772 ? S 21:35 0:00 \_ smbd -D
Other devices do also use this server at the same time but not nearly as heavily as I do. And I am sure the hardware can handle what I'm doing. It has for some time now.