Samba wolno działa

Instalacja i konfiguracja oprogramowania sieciowego.
majo82
Piegowaty Guziec
Piegowaty Guziec
Posty: 1
Rejestracja: 29 cze 2009, 12:19
Płeć: Mężczyzna
Wersja Ubuntu: 8.04
Środowisko graficzne: Brak

Samba wolno działa

Post autor: majo82 »

Witam,

Używam Samby jak serwer plików, na początku działało wszytko OK przez ok 3 lata, ostatnio pojawiły się problemy z wydajnością. Serwer plików zaczął strasznie mulić, pojawiły też się błędy w logach, na które nie bardzo mogę poszukać rozwiązanie.

Wersja samby 3.4.7
Ubuntu 10.04.4 LST werjsa server 64 bit
całośc chodzi na Intel Core 2 Duo 2x213, 5 GB RAM, RAID 1 na kontrolerze Intel® RAID Controller SRCSASBB8I i dyskach 2 x 2TB ST2000NM00 SATA/600 64MB
Na komputerze tym jest zainstalowane VMware ESXi 5.0 i na tym maszyna wirtualna z ubuntu i sambą.


syslog z błędami

Kod: Zaznacz cały

Feb 17 07:34:41 samba kernel: [45245.758025]  CIFS VFS: No response to cmd 46 mid 51065
Feb 17 07:34:41 samba kernel: [45245.833389]  CIFS VFS: Send error in read = -11
Feb 17 07:35:43 samba kernel: [45307.938635]  CIFS VFS: No response to cmd 46 mid 56045
Feb 17 07:35:43 samba kernel: [45307.983961]  CIFS VFS: Send error in read = -11
Feb 17 07:44:13 samba kernel: [45817.708692]  CIFS VFS: No response to cmd 46 mid 28536
Feb 17 07:44:13 samba kernel: [45817.754303]  CIFS VFS: Send error in read = -11
Feb 17 07:44:13 samba kernel: [45817.872574]  CIFS VFS: No response for cmd 117 mid 19337
Feb 17 07:44:13 samba kernel: [45817.938653]  CIFS VFS: No response to cmd 46 mid 28551
Feb 17 07:44:13 samba kernel: [45817.984852]  CIFS VFS: Send error in read = -11
Feb 17 07:55:53 samba kernel: [46517.552718]  CIFS VFS: No response to cmd 46 mid 16719
Feb 17 07:55:53 samba kernel: [46517.734492]  CIFS VFS: Send error in read = -11
Feb 17 08:11:00 samba kernel: [47424.628929]  CIFS VFS: No response to cmd 46 mid 23974
Feb 17 08:11:00 samba kernel: [47424.674663]  CIFS VFS: Send error in read = -11
Feb 17 08:11:01 samba kernel: [47425.948752]  CIFS VFS: No response to cmd 46 mid 24071
Feb 17 08:11:01 samba kernel: [47425.993702]  CIFS VFS: Send error in read = -11
Feb 17 08:16:22 samba kernel: [47746.716078]  CIFS VFS: No response for cmd 117 mid 19380
Feb 17 08:17:01 samba CRON[12212]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 17 08:20:19 samba kernel: [47983.660501] Status code returned 0xc0000008 NT_STATUS_INVALID_HANDLE
Feb 17 08:20:19 samba kernel: [47983.676905]  CIFS VFS: Send error in read = -9
Feb 17 08:20:36 samba kernel: [48001.388620]  CIFS VFS: No response to cmd 46 mid 2658
Feb 17 08:20:36 samba kernel: [48001.435593]  CIFS VFS: Send error in read = -11
Feb 17 08:20:54 samba kernel: [48019.098630]  CIFS VFS: No response to cmd 46 mid 4700
Feb 17 08:20:54 samba kernel: [48019.145797]  CIFS VFS: Send error in read = -11
Feb 17 08:20:56 samba kernel: [48020.928629]  CIFS VFS: No response to cmd 46 mid 4819
Feb 17 08:20:56 samba kernel: [48020.999379]  CIFS VFS: Send error in read = -11
Feb 17 08:26:27 samba rsyncd[18307]: name lookup failed for 192.168.1.178: Name or service not known
Feb 17 08:26:27 samba rsyncd[18307]: connect from UNKNOWN (192.168.1.178)
Feb 17 08:26:27 samba rsyncd[18307]: rsync to mariuszno_backup/Poczta Mariusz/ from mariuszno@UNKNOWN (192.168.1.178)
Feb 17 08:26:27 samba rsyncd[18307]: receiving file list
Feb 17 08:53:27 samba kernel: [49971.674270]  CIFS VFS: Received no data, expecting 13527
Feb 17 08:53:27 samba kernel: [49971.793952]  CIFS VFS: No response to cmd 46 mid 16297
Feb 17 08:53:27 samba kernel: [49971.843740]  CIFS VFS: Send error in read = -11
Feb 17 08:53:31 samba kernel: [49975.824948]  CIFS VFS: Received no data, expecting 10607
Feb 17 08:53:31 samba kernel: [49975.888636]  CIFS VFS: No response to cmd 46 mid 16386
Feb 17 08:53:31 samba kernel: [49975.937906]  CIFS VFS: Send error in read = -11
Feb 17 08:56:09 samba kernel: [50134.539804]  CIFS VFS: No response to cmd 46 mid 20804
Feb 17 08:56:09 samba kernel: [50134.603950]  CIFS VFS: Send error in read = -11
Feb 17 08:56:18 samba kernel: [50142.423511] Status code returned 0xc0000008 NT_STATUS_INVALID_HANDLE
Feb 17 08:56:18 samba kernel: [50142.423539]  CIFS VFS: Send error in read = -9
Feb 17 08:58:10 samba rsyncd[18307]: rsync: read error: Connection reset by peer (104)
Feb 17 08:58:10 samba rsyncd[18307]: rsync: writefd_unbuffered failed to write 4 bytes to socket [generator]: Broken pipe (32)
Feb 17 08:58:10 samba rsyncd[18307]: rsync error: error in rsync protocol data stream (code 12) at io.c(1530) [generator=3.0.7]
Feb 17 09:01:45 samba kernel: [50470.383355]  CIFS VFS: No response to cmd 46 mid 37871
Feb 17 09:01:45 samba kernel: [50470.430427]  CIFS VFS: Send error in read = -11
Feb 17 09:06:08 samba kernel: [50733.388623]  CIFS VFS: No response to cmd 46 mid 56794
Feb 17 09:06:08 samba kernel: [50733.437244]  CIFS VFS: Send error in read = -11
Feb 17 09:13:43 samba kernel: [51188.548770]  CIFS VFS: No response to cmd 46 mid 20399
Feb 17 09:13:43 samba kernel: [51188.597900]  CIFS VFS: Send error in read = -11
Feb 17 09:17:02 samba CRON[14791]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 17 09:23:45 samba kernel: [51790.098624]  CIFS VFS: No response to cmd 46 mid 63583
Feb 17 09:23:45 samba kernel: [51790.146827]  CIFS VFS: Send error in read = -11
Feb 17 09:26:32 samba kernel: [51957.218704]  CIFS VFS: No response to cmd 46 mid 7923
Feb 17 09:26:32 samba kernel: [51957.266712]  CIFS VFS: Send error in read = -11
Feb 17 09:28:41 samba kernel: [52085.975690]  CIFS VFS: No response for cmd 50 mid 19516
Feb 17 09:28:41 samba kernel: [52086.058621]  CIFS VFS: No response to cmd 46 mid 17977
Feb 17 09:28:41 samba kernel: [52086.106503]  CIFS VFS: Send error in read = -11
Feb 17 09:31:27 samba kernel: [52251.668714]  CIFS VFS: No response to cmd 46 mid 29921
Feb 17 09:31:27 samba kernel: [52251.716995]  CIFS VFS: Send error in read = -11
Feb 17 09:34:57 samba kernel: [52462.378629]  CIFS VFS: No response to cmd 46 mid 46213
Feb 17 09:34:57 samba kernel: [52462.444620]  CIFS VFS: Send error in read = -11
Feb 17 09:34:58 samba kernel: [52463.588644]  CIFS VFS: No response to cmd 46 mid 46303
Feb 17 09:34:58 samba kernel: [52463.636611]  CIFS VFS: Send error in read = -11
Feb 17 09:35:00 samba kernel: [52464.738636]  CIFS VFS: No response to cmd 46 mid 46398
Feb 17 09:35:00 samba kernel: [52464.786981]  CIFS VFS: Send error in read = -11
Feb 17 09:35:46 samba kernel: [52511.368644]  CIFS VFS: No response to cmd 46 mid 48848
Feb 17 09:35:46 samba kernel: [52511.416781]  CIFS VFS: Send error in read = -11
Feb 17 09:37:05 samba kernel: [52590.368596]  CIFS VFS: No response to cmd 46 mid 55408
Feb 17 09:37:05 samba kernel: [52590.423560]  CIFS VFS: Send error in read = -11
Feb 17 09:40:24 samba kernel: [52789.028705]  CIFS VFS: No response to cmd 46 mid 3516
Feb 17 09:40:24 samba kernel: [52789.076072]  CIFS VFS: Send error in read = -11
Feb 17 09:43:13 samba kernel: [52957.868623]  CIFS VFS: No response to cmd 46 mid 16974
Feb 17 09:43:13 samba kernel: [52957.933561]  CIFS VFS: Send error in read = -11
Feb 17 09:43:16 samba kernel: [52961.168624]  CIFS VFS: No response to cmd 46 mid 17210
Feb 17 09:43:16 samba kernel: [52961.217479]  CIFS VFS: Send error in read = -11
Feb 17 09:43:46 samba kernel: [52990.542063]  CIFS VFS: No response to cmd 46 mid 18760
Feb 17 09:43:46 samba kernel: [52990.751643]  CIFS VFS: Send error in read = -11
Feb 17 09:52:56 samba kernel: [53540.688642]  CIFS VFS: No response to cmd 115 mid 19574
Feb 17 09:52:56 samba kernel: [53540.746903]  CIFS VFS: Send error in SessSetup = -11
Feb 17 09:52:56 samba kernel: [53540.818631]  CIFS VFS: No response for cmd 117 mid 63808
Feb 17 09:52:56 samba kernel: [53540.938617]  CIFS VFS: No response to cmd 46 mid 63823
Feb 17 09:52:56 samba kernel: [53540.984182]  CIFS VFS: Send error in read = -11
Proszę o sprawdzenie logów i pomoc.
saygon
Sędziwy Jeż
Sędziwy Jeż
Posty: 33
Rejestracja: 23 wrz 2009, 11:09
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86_64
Lokalizacja: Hamburg
Kontakt:

Re: Samba wolno działa

Post autor: saygon »

Ok, na początek zrób backup pliku cifs.conf

Kod: Zaznacz cały

cp /etc/modprobe.d/cifs.conf /etc/modprobe.d/cifs.conf.bp
następnie wrzuć tu zawartość tego pliku, wydaj polecenie

Kod: Zaznacz cały

cat /etc/modprobe.d/cifs.conf
zobaczymy co da się zrobić.
ODPOWIEDZ

Wróć do „Sieci, serwery, Internet”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 1 gość