Samba 2.2.3a on Solaris 8

Andy Thomas ajt at icd.cc.purdue.edu
Wed Apr 17 13:53:21 GMT 2002


 >We have samba 2.2.3a installed on Solaris 8 (Sun 450 2xcpu 1GB Ram) with
 >about 250 users.  We are finding that smbd's are hanging around consuming
 >loads of cpu time. When performing a truss on the offending pids, we see the
 >following:
 >
 >fcntl(13, F_SETLKW64, 0xFFBEEADO)                                0
 >fcntl(13, F_SETLKW64, 0xFFBEEADO)                                0
 >
 >
 >This seems to be go on forever (see attached zip file), is this a bug in
 >2.2.3a or a Solaris bug and is there a work around?  
 >
 >Thanks,
 >
 >Mark     
 >


  We have seen the same thing, except it was fd 14.  lsof showed
this was /var/samba/locks/printing.tdb.  This was with 2.2.3a

  We tried 2.2.4-pre today.  Same thing.  System seems OK for a while.  
After a few hundred smbds running, we start seeing problems.  Many
processes all doing continuous fcntl's on printers.tdb.  (each process
doing over 100 fcntl/sec).   Some truss output is included below.


Andy Thomas



fcntl(14, F_SETLKW64, 0xFFBEEBA8)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=176   len=1     sys=4776504 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_WRLCK  whence=SEEK_SET start=176   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=8772  len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=176   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_WRLCK  whence=SEEK_SET start=180   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_RDLCK  whence=SEEK_SET start=19156 len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEBA8)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=180   len=1     sys=4776504 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_WRLCK  whence=SEEK_SET start=180   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=19156 len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_RDLCK  whence=SEEK_SET start=3436  len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEBA8)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=180   len=1     sys=4776504 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_WRLCK  whence=SEEK_SET start=180   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=3436  len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_RDLCK  whence=SEEK_SET start=3748  len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEBA8)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=180   len=1     sys=4776504 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_WRLCK  whence=SEEK_SET start=180   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=3748  len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=180   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_WRLCK  whence=SEEK_SET start=184   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_RDLCK  whence=SEEK_SET start=15812 len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEBA8)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=184   len=1     sys=4776504 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_WRLCK  whence=SEEK_SET start=184   len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=15812 len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0
        typ=F_RDLCK  whence=SEEK_SET start=21704 len=1     sys=8067527 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEBA8)               = 0
        typ=F_UNLCK  whence=SEEK_SET start=184   len=1     sys=4776504 pid=0
fcntl(14, F_SETLKW64, 0xFFBEEB48)               = 0







More information about the samba-technical mailing list