- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba only show one PID for all sessions
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 03:40 AM
05-31-2007 03:40 AM
Samba only show one PID for all sessions
If you look below you will notice that there are only two PIDS (one
for each system) when I run smbstatus.
Samba is not breaking the PID up per user or per connection.
28871 sahin sas nt2ts-gxp-sasa
28871 barneta1 sas nt2ts-gxp-sasa
28871 brandow sas nt2ts-gxp-sasa
212 menket sas nt2ts-gxp-sasb
28871 culverwe sas nt2ts-gxp-sasa
212 spiesha sas nt2ts-gxp-sasb
212 stroupe sas nt2ts-gxp-sasb
28871 kilgalle sas nt2ts-gxp-sasa
212 smarrell sas nt2ts-gxp-sasb
28871 vieth sas nt2ts-gxp-sasa
212 muellekn sas nt2ts-gxp-sasb
28871 beckett sas nt2ts-gxp-sasa
28871 lawrence sas nt2ts-gxp-sasa
212 rubin sas nt2ts-gxp-sasb
28871 tilkec sas nt2ts-gxp-sasa
212 litzsing sas nt2ts-gxp-sasb
28871 harley sas nt2ts-gxp-sasa
28871 guglielj sas nt2ts-gxp-sasa
28871 fichtner sas nt2ts-gxp-sasa
212 yollow sas nt2ts-gxp-sasb
212 wur sas nt2ts-gxp-sasb
28871 egglestk sas nt2ts-gxp-sasa
212 weinkauf sas nt2ts-gxp-sasb
28871 forst sas nt2ts-gxp-sasa
28871 cimbi sas nt2ts-gxp-sasa
Here is my smb.conf file. Please let me know if I should add any
additional options
[global]
workgroup = SIE_nx
netbios name = HPS-SAS1
socket options = TCP_NODELAY IPTOS_THROUGHPUT
server string = "SAS on HP-UX Productive Environment"
security = user
os level = 20
encrypt passwords = Yes
wins server = xx.xx.xx.xx xx.xx.xx.xx
hosts allow = xx.xx.xx.xx xx.xx.xx.xx xx.xx.xx.xx xx.xx.xx.xx
xx.xx.xx.xx xx.xx.xx.xx xx.xx.xx.xx
[homes]
comment = Your homedirectory
read only = No
browsable = No
[Projects]
comment = SAS Projectfolder
writeable = yes
write list = @BROWSER
path = /sas/data
Two questions. Is this correct? If not how do I fix it?
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 04:09 AM
05-31-2007 04:09 AM
Re: Samba only show one PID for all sessions
Run sbmstatus to match your connections to PIDs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 04:52 AM
05-31-2007 04:52 AM
Re: Samba only show one PID for all sessions
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 06:52 AM
05-31-2007 06:52 AM
Re: Samba only show one PID for all sessions
Check "max smbd processes" value. Use testparm -v to verify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 07:06 AM
05-31-2007 07:06 AM
Re: Samba only show one PID for all sessions
max smbd processes = 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 07:09 AM
05-31-2007 07:09 AM
Re: Samba only show one PID for all sessions
Not correct. Restart the service.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 07:16 AM
05-31-2007 07:16 AM
Re: Samba only show one PID for all sessions
Default: max smbd processes = 0
I have not changed it so it's still at the default value. Should I increase this value?
I restarted and got the same value with
./testparm -v | grep smb
max smbd processes = 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 07:34 AM
05-31-2007 07:34 AM
Re: Samba only show one PID for all sessions
New max smbd value
max smbd processes = 1000
Samba version 3.0.22 based HP CIFS Server A.02.03
PID Username Group Machine
-------------------------------------------------------------------
6456 french sas nt2ts-gxp-sasb (10.34.201.143)
6456 root sys nt2ts-gxp-sasb (10.34.201.143)
Service pid machine Connected at
-------------------------------------------------------
Projects 6456 nt2ts-gxp-sasb Thu May 31 21:32:11 2007
IPC$ 6456 nt2ts-gxp-sasb Thu May 31 21:32:11 2007
Projects 6456 nt2ts-gxp-sasb Thu May 31 21:30:28 2007
Locked files:
Pid DenyMode Access R/W Oplock SharePath Name
----------------------------------------------------------------------------------------
6456 DENY_NONE 0x100001 RDONLY NONE /sas/data . Thu May 31 21:30:31 2007
6456 DENY_NONE 0x100001 RDONLY NONE /sas/data . Thu May 31 21:32:21 2007