Comment 14 for bug 314657

Paul Dufresne (paulduf) wrote :

Just copying info from someone having this problem with no result.
Taken from http://linux.derkeiler.com/Mailing-Lists/Fedora/2007-08/msg03497.html

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

[2007/08/21 08:53:18, 0] lib/util.c:log_stack_trace(1758)
BACKTRACE: 22 stack frames:
#0 smbd(log_stack_trace+0x2d) [0x802439fd]
#1 smbd(smb_panic+0x5d) [0x80243b2d]
#2 smbd [0x80249f4e]
#3 smbd [0x800b595c]
#4 smbd(pop_sec_ctx+0xa2) [0x800b5af2]
#5 smbd(unbecome_root+0x17) [0x800a9267]
#6 smbd(uid_to_sid+0x15c) [0x801fbc4c]
#7 smbd [0x800bc51d]
#8 smbd(get_nt_acl+0x4ac) [0x800c268c]
#9 smbd [0x800d887b]
#10 smbd(is_visible_file+0x2a0) [0x80060ee0]