Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
samba consumes all memory then hangs z390 vmachine.

samba consumes all memory then hangs z390 vmachine.

2004-01-27       - By shane@(protected)

 Back
Reply:     1     2  

I am experiencing a situation where attempting to browse/connect to a z390
RHEL3 samba server causes the process to peg out at 100% cpu and begin to
consume every increasing amounts of memory. I have tested basically the
same configuration on a x86 RHEL3 server without problem. Once memory is
fully consumed the vmachine hangs, which suggests the virtual memory
killer is not working or is disabled.

Here is a snapshot from strace of the smb process:

munmap(0x100023fa000, 4096) = 0
mremap(0x1000241c000, 718000128, 718004224, MREMAP_MAYMOVE) =
0x1000241c000
open( "/etc/passwd ", O_RDONLY) = 25
fcntl(25, F_GETFD) = 0
fcntl(25, F_SETFD, FD_CLOEXEC) = 0
fstat(25, {st_mode=S_IFREG|0644, st_size=1492, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x100023fa000
read(25, "root:x:0:0:root:/root:/bin/bash\n "..., 4096) = 1492
read(25, " ", 4096) = 0
close(25) = 0
munmap(0x100023fa000, 4096) = 0
mremap(0x1000241c000, 718004224, 718004224, MREMAP_MAYMOVE) =
0x1000241c000
open( "/etc/passwd ", O_RDONLY) = 25
fcntl(25, F_GETFD) = 0
fcntl(25, F_SETFD, FD_CLOEXEC) = 0
fstat(25, {st_mode=S_IFREG|0644, st_size=1492, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x100023fa000
read(25, "root:x:0:0:root:/root:/bin/bash\n "..., 4096) = 1492
read(25, " ", 4096) = 0
close(25)

The above repeats endlessly until all memory is consumed.

I have added the following to /etc/pam.d/system-auth:
auth sufficient /lib64/security/pam_winbind.so
account required /lib64/security/pam_winbind.so
session required /lib64/security/pam_mkhomedir.so skel=/etc/skel

I found it odd that /lib/ did not contain these libs and that I had to
use /lib64/.

I am able to join this server to active directory and rpc without issue,
and kinit _SEEMS_ to connect properly.

I have verified that the same /etc/samba/smb.conf and /etc/krb5.conf works
on my x86 test server without problem but I can provide those if needed.
wbinfo -g and wbinfo -u reports fine, however "getent passwd " and "getent
groups " reports the local machine accounts, then hangs when it gets to
where it should report the active directory users and groups.

Any insight is most welcome.

Cheers,
Shane

--
"Given enough time, all legal battles in the tech industry will invoke the
DMCA. This generally means that all constructive arguments have ended. "
               -NialScorva


--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list