This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Samba panic

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Samba panic

Post by MikeMac »

A few days ago I had noticed such lines in log. There was 10.3.0.3.2964 build, a couple of panics per day
I had upgraded to 10.3.0.3.2987 - and could see this again (just one time by the way)

Apart of log messages I do not see any problems. SMB disks are working OK. No significant workload on samba exists at all

How to deal with it?

NB LOG lines are in reverse order - latest first

Code: Select all

Oct 25 23:50:37 	smbd[2117]: 	Cleaning up brl and lock database after unclean shutdown
Oct 25 23:50:37 	smbd[2117]: 	[2016/10/25 23:50:37.685389, 1] ../source3/smbd/server.c:429(cleanup_timeout_fn)
Oct 25 23:50:17 	smbd[2117]: 	Scheduled cleanup of brl and lock database after unclean shutdown
Oct 25 23:50:17 	smbd[2117]: 	[2016/10/25 23:50:17.660648, 1] ../source3/smbd/server.c:486(remove_child_pid)
Oct 25 23:50:17 	smbd[11220]: 	refusing to dump core
Oct 25 23:50:17 	smbd[11220]: 	unable to change to %N.core
Oct 25 23:50:17 	smbd[11220]: 	[2016/10/25 23:50:17.659273, 0] ../source3/lib/dumpcore.c:298(dump_core)
Oct 25 23:50:17 	smbd[11220]: 	#5 0x80145d22c <pthread_getspecific+0xe1c> at /lib/libthr.so.3
Oct 25 23:50:17 	smbd[11220]: 	#4 0x80145db4a <pthread_sigmask+0x51a> at /lib/libthr.so.3
Oct 25 23:50:17 	smbd[11220]: 	#3 0x801687da7 <fault_setup+0x157> at /usr/local/lib/libsamba-util.so.0
Oct 25 23:50:17 	smbd[11220]: 	#2 0x801687efd <smb_panic+0x13d> at /usr/local/lib/libsamba-util.so.0
Oct 25 23:50:17 	smbd[11220]: 	#1 0x803847042 <smb_panic_s3+0x52> at /usr/local/lib/libsmbconf.so.0
Oct 25 23:50:17 	smbd[11220]: 	#0 0x803847158 <log_stack_trace+0x28> at /usr/local/lib/libsmbconf.so.0
Oct 25 23:50:17 	smbd[11220]: 	BACKTRACE: 6 stack frames:
Oct 25 23:50:17 	smbd[11220]: 	[2016/10/25 23:50:17.659162, 0] ../source3/lib/util.c:900(log_stack_trace)
Oct 25 23:50:17 	smbd[11220]: 	PANIC (pid 11220): internal error
Oct 25 23:50:17 	smbd[11220]: 	[2016/10/25 23:50:17.657659, 0] ../source3/lib/util.c:789(smb_panic_s3)
Oct 25 23:50:17 	smbd[11220]: 	===============================================================
Oct 25 23:50:17 	smbd[11220]: 	[2016/10/25 23:50:17.657637, 0] ../lib/util/fault.c:81(fault_report)
Oct 25 23:50:17 	smbd[11220]: 	Please read the Trouble-Shooting section of the Samba HOWTO
Oct 25 23:50:17 	smbd[11220]: 	INTERNAL ERROR: Signal 11 in pid 11220 (4.3.11)
Oct 25 23:50:17 	smbd[11220]: 	[2016/10/25 23:50:17.657604, 0] ../lib/util/fault.c:79(fault_report)
Oct 25 23:50:17 	smbd[11220]: 	===============================================================
Oct 25 23:50:17 	smbd[11220]: 	[2016/10/25 23:50:17.657546, 0] ../lib/util/fault.c:78(fault_report)
/usr/local/smb4.conf

Code: Select all

[global]
server role = standalone
encrypt passwords = yes
netbios name = nas4free
workgroup = MSHOME
server string = NAS4Free Server
security = user
max protocol = SMB2
client max protocol = SMB2
dns proxy = no
# Settings to enhance performance:
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
getwd cache = yes
socket options = TCP_NODELAY SO_SNDBUF=128480 SO_RCVBUF=128480 
# End of performance section
unix charset = UTF-8
local master = no
domain master = no
preferred master = no
os level = 0
time server = no
guest account = ftp
map to guest = Bad User
max log size = 100
logging = syslog
loglevel = 1
load printers = no
printing = bsd
printcap cache time = 0
printcap name = /dev/null
disable spoolss = yes
dos charset = CP866
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
passdb backend = tdbsam
idmap config * : backend = tdb
idmap config * : range = 10000-39999
aio read size = 1024
aio write size = 1024
vfs objects = dirsort

[Backup]
comment = backup
path = /mnt/Pool/Backup/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
vfs objects = shadow_copy2 zfsacl aio_pthread 
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/

[Books]
comment = Books
path = /mnt/Pool/Books/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
vfs objects = shadow_copy2 zfsacl aio_pthread 
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/

[Files]
comment = files
path = /mnt/WD2T/Files/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = no
guest ok = yes
inherit permissions = yes
vfs objects = zfsacl aio_pthread 
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
veto files = /.zfs/

[Media]
comment = media
path = /mnt/Pool/Media/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
vfs objects = shadow_copy2 zfsacl aio_pthread 
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/

[Music]
comment = Pure music, no video component
path = /mnt/Pool/Music/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
vfs objects = shadow_copy2 zfsacl aio_pthread 
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/

[Photo]
comment = Photo archive
path = /mnt/Pool/Photo/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
vfs objects = shadow_copy2 zfsacl aio_pthread 
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/

[Test]
comment = Test vfs objects catia
path = /mnt/Pool/Test
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
inherit acls = yes
vfs objects = shadow_copy2 zfsacl aio_pthread 
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/
vfs objects = catia
catia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6

[Traum]
comment = Traum lib epub ru
path = /mnt/Traum/ru
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
vfs objects = shadow_copy2 recycle aio_pthread 
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes

[samdrivers]
comment = Drivers 4 Win
path = /mnt/samdrivers
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
inherit acls = yes
vfs objects = shadow_copy2 recycle aio_pthread 
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes

[Concert]
comment = BD with music
path = /mnt/Pool/Concert
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = yes
inherit permissions = yes
inherit acls = yes
vfs objects = shadow_copy2 zfsacl recycle aio_pthread 
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:snapdirseverywhere = yes
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/


User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Re: Samba panic

Post by MikeMac »

Upgraded to 10.3.0.3 - Pilingitam (revision 3065)
Still periodic panic
4:40 am everybody sleep. zero samba workload :(

Code: Select all

Oct 31 10:23:19 	smbd[2112]: 	Cleaning up brl and lock database after unclean shutdown
Oct 31 10:23:19 	smbd[2112]: 	[2016/10/31 10:23:19.441136, 1] ../source3/smbd/server.c:429(cleanup_timeout_fn)
Oct 31 10:22:59 	smbd[2112]: 	Scheduled cleanup of brl and lock database after unclean shutdown
Oct 31 10:22:59 	smbd[2112]: 	[2016/10/31 10:22:59.435393, 1] ../source3/smbd/server.c:486(remove_child_pid)
Oct 31 10:22:59 	smbd[78641]: 	refusing to dump core
Oct 31 10:22:59 	smbd[78641]: 	unable to change to %N.core
Oct 31 10:22:59 	smbd[78641]: 	[2016/10/31 10:22:59.434171, 0] ../source3/lib/dumpcore.c:298(dump_core)
Oct 31 10:22:59 	smbd[78641]: 	#5 0x80145d22c <pthread_getspecific+0xe1c> at /lib/libthr.so.3
Oct 31 10:22:59 	smbd[78641]: 	#4 0x80145db4a <pthread_sigmask+0x51a> at /lib/libthr.so.3
Oct 31 10:22:59 	smbd[78641]: 	#3 0x801687da7 <fault_setup+0x157> at /usr/local/lib/libsamba-util.so.0
Oct 31 10:22:59 	smbd[78641]: 	#2 0x801687efd <smb_panic+0x13d> at /usr/local/lib/libsamba-util.so.0
Oct 31 10:22:59 	smbd[78641]: 	#1 0x803847042 <smb_panic_s3+0x52> at /usr/local/lib/libsmbconf.so.0
Oct 31 10:22:59 	smbd[78641]: 	#0 0x803847158 <log_stack_trace+0x28> at /usr/local/lib/libsmbconf.so.0
Oct 31 10:22:59 	smbd[78641]: 	BACKTRACE: 6 stack frames:
Oct 31 10:22:59 	smbd[78641]: 	[2016/10/31 10:22:59.434076, 0] ../source3/lib/util.c:900(log_stack_trace)
Oct 31 10:22:59 	smbd[78641]: 	PANIC (pid 78641): internal error
Oct 31 10:22:59 	smbd[78641]: 	[2016/10/31 10:22:59.432214, 0] ../source3/lib/util.c:789(smb_panic_s3)
Oct 31 10:22:59 	smbd[78641]: 	===============================================================
Oct 31 10:22:59 	smbd[78641]: 	[2016/10/31 10:22:59.432195, 0] ../lib/util/fault.c:81(fault_report)
Oct 31 10:22:59 	smbd[78641]: 	Please read the Trouble-Shooting section of the Samba HOWTO
Oct 31 10:22:59 	smbd[78641]: 	INTERNAL ERROR: Signal 11 in pid 78641 (4.3.11)
Oct 31 10:22:59 	smbd[78641]: 	[2016/10/31 10:22:59.432165, 0] ../lib/util/fault.c:79(fault_report)
Oct 31 10:22:59 	smbd[78641]: 	===============================================================
Oct 31 10:22:59 	smbd[78641]: 	[2016/10/31 10:22:59.432099, 0] ../lib/util/fault.c:78(fault_report)
Oct 31 05:05:00 	root: 	End of local RSYNC synchronization from /mnt/WD2T/Files/z_send/ to /mnt/Pool/Media/z_received/
Oct 31 05:05:00 	root: 	End of local RSYNC synchronization from /mnt/Pool/Backup/Video/ to /mnt/Pool/Backup/RSYNC/HomeVideo/Video/
Oct 31 05:05:00 	root: 	Start of local RSYNC from /mnt/Pool/Backup/Video/ to /mnt/Pool/Backup/RSYNC/HomeVideo/Video/
Oct 31 05:05:00 	root: 	Start of local RSYNC from /mnt/WD2T/Files/z_send/ to /mnt/Pool/Media/z_received/
Oct 31 04:40:08 	smbd[2112]: 	Cleaning up brl and lock database after unclean shutdown
Oct 31 04:40:08 	smbd[2112]: 	[2016/10/31 04:40:08.534014, 1] ../source3/smbd/server.c:429(cleanup_timeout_fn)
Oct 31 04:39:48 	smbd[2112]: 	Scheduled cleanup of brl and lock database after unclean shutdown
Oct 31 04:39:48 	smbd[2112]: 	[2016/10/31 04:39:48.524421, 1] ../source3/smbd/server.c:486(remove_child_pid)
Oct 31 04:39:48 	smbd[12488]: 	refusing to dump core
Oct 31 04:39:48 	smbd[12488]: 	unable to change to %N.core
Oct 31 04:39:48 	smbd[12488]: 	[2016/10/31 04:39:48.523186, 0] ../source3/lib/dumpcore.c:298(dump_core)
Oct 31 04:39:48 	smbd[12488]: 	#5 0x80145d22c <pthread_getspecific+0xe1c> at /lib/libthr.so.3
Oct 31 04:39:48 	smbd[12488]: 	#4 0x80145db4a <pthread_sigmask+0x51a> at /lib/libthr.so.3
Oct 31 04:39:48 	smbd[12488]: 	#3 0x801687da7 <fault_setup+0x157> at /usr/local/lib/libsamba-util.so.0
Oct 31 04:39:48 	smbd[12488]: 	#2 0x801687efd <smb_panic+0x13d> at /usr/local/lib/libsamba-util.so.0
Oct 31 04:39:48 	smbd[12488]: 	#1 0x803847042 <smb_panic_s3+0x52> at /usr/local/lib/libsmbconf.so.0
Oct 31 04:39:48 	smbd[12488]: 	#0 0x803847158 <log_stack_trace+0x28> at /usr/local/lib/libsmbconf.so.0
Oct 31 04:39:48 	smbd[12488]: 	BACKTRACE: 6 stack frames:
Oct 31 04:39:48 	smbd[12488]: 	[2016/10/31 04:39:48.523080, 0] ../source3/lib/util.c:900(log_stack_trace)
Oct 31 04:39:48 	smbd[12488]: 	PANIC (pid 12488): internal error
Oct 31 04:39:48 	smbd[12488]: 	[2016/10/31 04:39:48.521948, 0] ../source3/lib/util.c:789(smb_panic_s3)
Oct 31 04:39:48 	smbd[12488]: 	===============================================================
Oct 31 04:39:48 	smbd[12488]: 	[2016/10/31 04:39:48.521936, 0] ../lib/util/fault.c:81(fault_report)
Oct 31 04:39:48 	smbd[12488]: 	Please read the Trouble-Shooting section of the Samba HOWTO
Oct 31 04:39:48 	smbd[12488]: 	INTERNAL ERROR: Signal 11 in pid 12488 (4.3.11)
Oct 31 04:39:48 	smbd[12488]: 	[2016/10/31 04:39:48.521919, 0] ../lib/util/fault.c:79(fault_report)
Oct 31 04:39:48 	smbd[12488]: 	===============================================================
Oct 31 04:39:48 	smbd[12488]: 	[2016/10/31 04:39:48.521730, 0] ../lib/util/fault.c:78(fault_report)

User avatar
MustangPilot
NewUser
NewUser
Posts: 11
Joined: 19 May 2016 05:31
Status: Offline

Re: Samba panic

Post by MustangPilot »

having same issue for several months now
Lenovo TS140 - EXTREME EDITION

Intel Xeon Processor E3-1241v3B 32GB Crucial PC3-12800 ECC UDIMM Server Memory, 4x4TB HGST NAS drives + Samsung 32GB USB 3.0 running NAS4FREE 10.2.0.2 w/new EzPlex V3 Plexpass portable & trying to figure out how to install Owncloud 9.

Post Reply

Return to “CIFS/SMB (Samba)”