I was upgrade our Linux Samba server (Fedora Core 4, kernel 2.6.17,
samba 3.0.23d) to Fedora 7, kernel 2.6.22.2-57.fc7, samba 3.0.25bb-2.fc7
(SELinux in permissive mode), i386 Pentium D 3GHz CPU, 2GB RAM,
LAN with approx. <10 users.
But now users smb daemon sporadically (but frequently, 1-5 times/hour)
crashes. Machine log (Level 2) contain records like this:
[2007/08/21 08:53:18, 0] lib/util_sec.c:set_effective_uid(205)
setresuid failed with EAGAIN. uid(502) might be over its NPROC limit
[2007/08/21 08:53:18, 0] lib/util_sec.c:assert_uid(101)
Failed to set uid privileges to (-1,502) now set to (0,0)
[2007/08/21 08:53:18, 0] lib/util.c:smb_panic(1654)
PANIC (pid 13035): failed to set uid
Just copying info from someone having this problem with no result. linux.derkeiler .com/Mailing- Lists/Fedora/ 2007-08/ msg03497. html
Taken from http://
I was upgrade our Linux Samba server (Fedora Core 4, kernel 2.6.17,
samba 3.0.23d) to Fedora 7, kernel 2.6.22.2-57.fc7, samba 3.0.25bb-2.fc7
(SELinux in permissive mode), i386 Pentium D 3GHz CPU, 2GB RAM,
LAN with approx. <10 users.
But now users smb daemon sporadically (but frequently, 1-5 times/hour)
crashes. Machine log (Level 2) contain records like this:
[2007/08/21 08:53:18, 0] lib/util_ sec.c:set_ effective_ uid(205) sec.c:assert_ uid(101) c:smb_panic( 1654)
setresuid failed with EAGAIN. uid(502) might be over its NPROC limit
[2007/08/21 08:53:18, 0] lib/util_
Failed to set uid privileges to (-1,502) now set to (0,0)
[2007/08/21 08:53:18, 0] lib/util.
PANIC (pid 13035): failed to set uid
[2007/08/21 08:53:18, 0] lib/util. c:log_stack_ trace(1758) stack_trace+ 0x2d) [0x802439fd] panic+0x5d) [0x80243b2d] sec_ctx+ 0xa2) [0x800b5af2] root+0x17) [0x800a9267] to_sid+ 0x15c) [0x801fbc4c] nt_acl+ 0x4ac) [0x800c268c] visible_ file+0x2a0) [0x80060ee0]
BACKTRACE: 22 stack frames:
#0 smbd(log_
#1 smbd(smb_
#2 smbd [0x80249f4e]
#3 smbd [0x800b595c]
#4 smbd(pop_
#5 smbd(unbecome_
#6 smbd(uid_
#7 smbd [0x800bc51d]
#8 smbd(get_
#9 smbd [0x800d887b]
#10 smbd(is_