Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 16:55:25 +0400
From:      Sergey A Nasedkin <s.nasedkin@tz.ru>
To:        stable@FreeBSD.ORG
Subject:   Samba problem.
Message-ID:  <111517111196.20020830165525@tz.ru>

next in thread | raw e-mail | index | archive | help
Hello stable,

  I have a problem with samba port. When I copy files to machine
  running samba after short period it take 95-99% using cpu.
  Data writing on disk created with vinum. The problem was detected
  on FreeBSD 4.5.I've try to use samba 2.2.3a and 2.2.5 . Does anybody
  have same problem ? Any suggestion ?
  
  
Configuration:

Samba 2.2.6pre1

OS : FreeBSD 4.6.2
        kern.osreldate: 460101
        using kernel GENERIC
top:
CPU states:  0.5% user,  0.0% nice, 97.8% system,  0.2% interrupt,  1.4%
idle
Mem: 14M Active, 78M Inact, 20M Wired, 8648K Cache, 22M Buf, 488K Free
Swap: 239M Total, 36K Used, 239M Free

PID     USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  162 root      63   0  4184K  2904K RUN     69:13 97.51% 97.51% smbd

vinum.conf:
drive d1 device /dev/ad2s1e
drive d2 device /dev/ad3s1e
drive d3 device /dev/ad1s1e
volume bigger
                 plex org concat
                   sd length 0 drive d1
                   sd length 0 drive d2
                   sd length 0 drive d3

vinum info:
maximum allocs:      307, malloc table at 0xc10323a0
0 requests active, maximum 148 active

df:
Filesystem          Size   Used  Avail Capacity  Mounted on
/dev/ad0s1a         126M    96M    20M    83%    /
/dev/ad0s1f         252M    42M   190M    18%    /tmp
/dev/ad0s1g         6.9G   2.5G   3.8G    40%    /usr
procfs              4.0K   4.0K     0B   100%    /proc
/dev/vinum/bigger   335G   266G    41G    87%    /usr/data

Kernel tuning:
sysctl -w net.inet.tcp.delayed_ack=0
    sysctl -w net.local.stream.recvspace=65535
    sysctl -w net.local.stream.sendspace=65535
    sysctl -w net.inet.tcp.sendspace=65535
    sysctl -w net.inet.tcp.recvspace=65535
  

Best regards,
 Sergey A Nasedkin                          mailto:s.nasedkin@tz.ru


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?111517111196.20020830165525>