Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

1. Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Danilo Martins Silvério Cardoso
danilo325

(usa Ubuntu)

Enviado em 05/04/2017 - 13:32h

Olá, boa tarde a todos.
Estou com um problema já faz alguns dias.
Instalei o ubuntu Server 16.04 em uma máquina de 16GB de ram ,250GB HD(SSD) com um processador i5-3330 3.0 e mais dois HDs de 1TB (para armazenar os backups).
Minha intenção era colocar os backups da empresa nesta máquina e mais pra frente instalara o bacula e configura-lo (Coisa que ainda tenho que estudar), mas por enquanto devido a uma urgência eu adicionei a máquina no meu AD ( utilizado o tutorial do eabreu https://www.vivaolinux.com.br/artigo/Ingressar-desktop-GNU-Linux-no-dominio-Active-Directory-do-Wind... e fiz um compartilhamento dos discos , consigo acessar, copiar, criar pastas e arquivos mas quando vou transferir o meu backup ( que possui por volta de 50 GB) a máquina trava completamente, já utilizei o xfce e cheguei a pensar que o problema poderia ter sido com ele ai desinstalei e reinstalei o ubuntu server sem interface mas nada o problema continua.
abaixo está o meu /etc/samba/smb.conf

[global]
security = ads
realm = MINHA.INTRANET
workgroup =MINHA
idmap uid = 10000-15000
idmap gid = 10000-15000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
client use spnego = yes
winbind use default domain = yes
restrict anonymous = 2

[BD]
comment = Guarda os backup's dos bancos de dados
path = /mnt/disco1
user = @backup_adm
browseable = yes
read only = no
writable = yes
public =no


Detalhe que o arquivo é transferido de uma estação windows, e notei também que no momento da transferência o cache ocupa toda a memória livre disponível no ubuntu.
Obrigado !!


  


2. MELHOR RESPOSTA

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 04/05/2017 - 19:52h

danilo325 escreveu:

Opa
olha eu aki!!!
consegui encontrar algo no kern.log (/var/log/kern.log)

------------[ cut here ]------------
May 4 16:23:15 bkpcoacal01 kernel: [ 2046.708887] WARNING: CPU: 2 PID: 6 at /home/kernel/COD/linux/kernel/exit.c:661 do_exit+0x60/0xb50
May 4 16:23:15 bkpcoacal01 kernel: [ 2046.710848] Modules linked in: intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_via snd_hda_codec_generic eeepc_wmi asus_wmi jitterentropy_rng sparse_keymap rfkill hmac snd_hda_intel snd_hda_codec drbg snd_hda_core ansi_cprng snd_hwdep joydev snd_pcm aesni_intel aes_x86_64 lrw snd_timer gf128mul glue_helper ablk_helper cryptd snd lpc_ich intel_cstate serio_raw soundcore sg mfd_core mei_me mei shpchp battery tpm_infineon ie31200_edac edac_core evdev tpm_tis tpm autofs4 ext4 crc16 jbd2 mbcache sd_mod hid_generic usbhid ata_generic hid i915 crc32c_intel psmouse ata_piix libata i2c_algo_bit scsi_mod ehci_pci drm_kms_helper ehci_hcd usbcore drm r8169 mii usb_common wmi fan thermal fjes video button
May 4 16:23:15 bkpcoacal01 kernel: [ 2046.723747] CPU: 2 PID: 6 Comm: kworker/u8:0 Tainted: G D 4.7.0-040700rc5-generic #201606262232
May 4 16:23:15 bkpcoacal01 kernel: [ 2046.725410] Hardware name: System manufacturer System Product Name/P8H61-M LX2 R2.0, BIOS 1802 06/20/2014
May 4 16:23:15 bkpcoacal01 kernel: [ 2046.727073] Workqueue: writeback wb_workfn (flush-8:32)
May 4 16:23:15 bkpcoacal01 kernel: [ 2046.728749] 0000000000000286 000000003fcc9fae ffffffff81320fe5 0000000000000000


esta tela apareceu quando eu estava na frente do servidor ( in loco) ai consegui encontrar esses dados no kern.log
mas já descarto problema com samba
alguém ai tem uma luz!



Parace realmente que esta lhe dando problemas a nivel de Kernel...
Eu tentaria o seguinte:


1° - Atualizar o kernel para ultimo possível(acha pela internet os .deb, amenos que seu kernel seja customizado por c)
2° - Caso ainda problemas, usuário outra distro(CentOS por exemplo)
3°- Ou iria virtualizar o servidor com ESXi




Abraço
#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds

3. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 05/04/2017 - 13:52h



de uma olhada nos logs pra ver se não apresenta erro no disco e tal



4. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Danilo Martins Silvério Cardoso
danilo325

(usa Ubuntu)

Enviado em 05/04/2017 - 16:25h

Quais logs?



5. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Danilo Martins Silvério Cardoso
danilo325

(usa Ubuntu)

Enviado em 06/04/2017 - 13:27h

Opa!!
não consegui identificar se existe algum erro de disco !
mas ai vai como está o meu arquivo fstab(/etc/fstab)
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=3711e15a-d9c4-4f6a-9010-cc8c2a02573d / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=d2d638ec-79aa-49df-92e6-6076b0ee31ef none swap sw 0 0

#montar o HD que guarda o banco de dados

/dev/sdb1 /mnt/disco1 ext4

#monta o HD que guarda os arquivos

/dev/sdc1 /mnt/disco2 ext4


detalhe é que os discos estão em ext4.

Se alguém tiver alguma sugestão, sou todo ouvidos.
obrigado!



6. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 07/04/2017 - 00:18h

Faça uma transferência, aguarde um pouco(antes de travar claro) execute e poste aqui:

sudo top -b -d 1 -n 1 &> /home/TOP.txt


Poste aqui o conteúdo do arquivo /home/TOP.txt
#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds


7. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Danilo Martins Silvério Cardoso
danilo325

(usa Ubuntu)

Enviado em 10/04/2017 - 12:40h

Desculpe a demora.

Ai esta o comando top, o mais próximo de conseguir antes de travar


PID USUÁRIO PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2334 adminis+ 20 0 348452 17488 13964 D 13,3 0,1 3:13.43 smbd
956 root 20 0 287744 10364 8204 S 6,7 0,1 0:00.16 winbindd
1 root 20 0 37684 5784 4116 S 0,0 0,0 0:00.89 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/0
4 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kworker/0:0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:+
7 root 20 0 0 0 0 S 0,0 0,0 0:00.93 rcu_sched
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
10 root rt 0 0 0 0 S 0,0 0,0 0:00.03 watchdog/0
11 root rt 0 0 0 0 S 0,0 0,0 0:00.02 watchdog/1
12 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/1
13 root 20 0 0 0 0 S 0,0 0,0 0:00.03 ksoftirqd/1
15 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:+


tem uma imagen do HTOP no momento que travou
http://tinypic.com/r/2wnteeg/9 (esta no tinypic)

como eu estava acessando via SSH o comando HTOP ficou congelado na tela assim que o servidor parou, permitindo que eu desse um print.






8. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 10/04/2017 - 20:14h

danilo325 escreveu:

Desculpe a demora.

Ai esta o comando top, o mais próximo de conseguir antes de travar


PID USUÁRIO PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2334 adminis+ 20 0 348452 17488 13964 D 13,3 0,1 3:13.43 smbd
956 root 20 0 287744 10364 8204 S 6,7 0,1 0:00.16 winbindd
1 root 20 0 37684 5784 4116 S 0,0 0,0 0:00.89 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/0
4 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kworker/0:0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:+
7 root 20 0 0 0 0 S 0,0 0,0 0:00.93 rcu_sched
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
10 root rt 0 0 0 0 S 0,0 0,0 0:00.03 watchdog/0
11 root rt 0 0 0 0 S 0,0 0,0 0:00.02 watchdog/1
12 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/1
13 root 20 0 0 0 0 S 0,0 0,0 0:00.03 ksoftirqd/1
15 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:+


tem uma imagen do HTOP no momento que travou
http://tinypic.com/r/2wnteeg/9 (esta no tinypic)

como eu estava acessando via SSH o comando HTOP ficou congelado na tela assim que o servidor parou, permitindo que eu desse um print.





Sem problemas....
A sua saída do comando que pedi esta faltando muita coisa, impossível só ter essas linhas, poste todas por favor.
A Imagem não ajuda por preciso de todos os processo(como mencionei acima).


Abraço
#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds


9. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Danilo Martins Silvério Cardoso
danilo325

(usa Ubuntu)

Enviado em 11/04/2017 - 07:42h

Opa, blz.
Ai esta ele completo.
Sinto muito, tente novamente.
top - 11:50:49 up 3:43, 1 user, load average: 0,67, 0,67, 0,66
Tarefas: 128 total, 1 executando, 127 dormindo, 0 parado, 0 zumbi
%Cpu(s): 0,1 us, 0,2 sy, 0,0 ni, 97,3 id, 2,3 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem : 16308820 total, 164500 free, 301436 used, 15842884 buff/cache
KiB Swap: 16651260 total, 16651260 free, 0 used. 15631160 avail Mem

PID USUÁRIO PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2334 adminis+ 20 0 348452 17488 13964 D 13,3 0,1 3:13.43 smbd
956 root 20 0 287744 10364 8204 S 6,7 0,1 0:00.16 winbindd
1 root 20 0 37684 5784 4116 S 0,0 0,0 0:00.89 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/0
4 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kworker/0:0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:+
7 root 20 0 0 0 0 S 0,0 0,0 0:00.93 rcu_sched
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
10 root rt 0 0 0 0 S 0,0 0,0 0:00.03 watchdog/0
11 root rt 0 0 0 0 S 0,0 0,0 0:00.02 watchdog/1
12 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/1
13 root 20 0 0 0 0 S 0,0 0,0 0:00.03 ksoftirqd/1
15 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:+
16 root rt 0 0 0 0 S 0,0 0,0 0:00.03 watchdog/2
17 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/2
18 root 20 0 0 0 0 S 0,0 0,0 0:00.01 ksoftirqd/2
19 root 20 0 0 0 0 S 0,0 0,0 0:00.37 kworker/2:0
20 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/2:+
21 root rt 0 0 0 0 S 0,0 0,0 0:00.03 watchdog/3
22 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/3
23 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/3
25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/3:+
26 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
28 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 perf
29 root 20 0 0 0 0 S 0,0 0,0 0:00.00 khungtaskd
30 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
31 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
32 root 39 19 0 0 0 S 0,0 0,0 0:00.06 khugepaged
33 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
34 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
35 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
36 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
37 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ata_sff
38 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 md
39 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
41 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/2:1
43 root 20 0 0 0 0 S 0,0 0,0 0:01.30 kswapd0
44 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
45 root 20 0 0 0 0 S 0,0 0,0 0:00.00 fsnotify_m+
46 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ecryptfs-k+
62 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
63 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 acpi_therm+
64 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
65 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
66 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
67 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
68 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
69 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
70 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
71 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
72 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_0
73 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_0
74 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_1
75 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_1
77 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_2
78 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_2
79 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_3
80 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_3
88 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ipv6_addrc+
102 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 deferwq
103 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 charger_ma+
106 root 20 0 0 0 0 S 0,0 0,0 0:00.10 kworker/3:1
108 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
110 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
111 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
112 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
113 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:+
156 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kpsmoused
179 root 0 -20 0 0 0 S 0,0 0,0 0:00.02 kworker/0:+
181 root 20 0 0 0 0 S 0,0 0,0 0:00.16 jbd2/sda1-8
182 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ext4-rsv-c+
214 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kauditd
231 root 20 0 35276 4092 3768 S 0,0 0,0 0:00.09 systemd-jo+
246 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/3:3
270 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/1:2
272 root 20 0 44400 3948 3080 S 0,0 0,0 0:00.06 systemd-ud+
351 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 edac-poller
352 root -51 0 0 0 0 S 0,0 0,0 0:00.00 irq/29-mei+
420 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kvm-irqfd-+
459 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 led_workqu+
480 root 0 -20 0 0 0 S 0,0 0,0 0:03.18 kworker/2:+
481 root 20 0 0 0 0 D 0,0 0,0 0:04.56 jbd2/sdc1-8
482 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ext4-rsv-c+
491 root 20 0 0 0 0 S 0,0 0,0 0:00.10 kworker/1:3
613 root 20 0 28548 3132 2812 S 0,0 0,0 0:00.01 systemd-lo+
616 root 20 0 29304 3220 2936 S 0,0 0,0 0:00.01 cron
623 root 20 0 280700 6752 5976 S 0,0 0,0 0:00.13 accounts-d+
635 syslog 20 0 260548 3296 2612 S 0,0 0,0 0:00.02 rsyslogd
641 message+ 20 0 47060 3808 3356 S 0,0 0,0 0:00.01 dbus-daemon
751 root 20 0 19472 240 0 S 0,0 0,0 0:00.31 irqbalance
790 root 20 0 65520 5592 4896 S 0,0 0,0 0:00.00 sshd
843 bacula 20 0 207520 3964 3120 S 0,0 0,0 0:00.00 bacula-sd
845 root 20 0 16236 1788 1652 S 0,0 0,0 0:00.00 agetty
847 ntp 20 0 114188 5320 4668 S 0,0 0,0 0:00.48 ntpd
864 postgres 20 0 295248 24504 22760 S 0,0 0,2 0:00.12 postgres
872 root 20 0 197104 2548 1796 S 0,0 0,0 0:00.01 bacula-fd
890 tomcat8 20 0 3154220 218028 17416 S 0,0 1,3 0:19.15 java
895 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/3:+
920 postgres 20 0 295248 3924 2184 S 0,0 0,0 0:00.00 postgres
921 postgres 20 0 295248 5584 3844 S 0,0 0,0 0:00.07 postgres
922 postgres 20 0 295248 3924 2184 S 0,0 0,0 0:00.05 postgres
923 postgres 20 0 295636 6660 4636 S 0,0 0,0 0:00.07 postgres
924 postgres 20 0 150232 3232 1492 S 0,0 0,0 0:00.08 postgres
950 root 20 0 240300 5980 4152 S 0,0 0,0 0:01.21 nmbd
962 root 20 0 418952 17596 14592 S 0,0 0,1 0:00.15 winbindd
991 root 20 0 343052 17904 15260 S 0,0 0,1 0:00.10 smbd
992 root 20 0 330104 4452 1996 S 0,0 0,0 0:00.00 smbd
993 root 20 0 294340 12904 10700 S 0,0 0,1 0:00.01 winbindd
999 root 20 0 422148 16580 13624 S 0,0 0,1 0:00.05 winbindd
1000 root 20 0 288160 6592 4432 S 0,0 0,0 0:00.01 winbindd
1008 root 20 0 343052 5708 3064 S 0,0 0,0 0:00.02 smbd
1149 root 20 0 65408 4632 4156 S 0,0 0,0 0:00.03 master
1151 postfix 20 0 71676 4500 4032 S 0,0 0,0 0:00.00 qmgr
1516 root 20 0 0 0 0 S 0,0 0,0 0:00.16 kworker/0:1
1969 root 20 0 110088 7732 6700 S 0,0 0,0 0:00.04 sshd
1975 adminis+ 20 0 45248 4752 4052 S 0,0 0,0 0:00.01 systemd
1977 adminis+ 20 0 89264 1932 0 S 0,0 0,0 0:00.00 (sd-pam)
1995 adminis+ 20 0 112176 6204 5156 S 0,0 0,0 0:00.06 sshd
1996 adminis+ 20 0 22700 5408 3820 S 0,0 0,0 0:00.06 bash
2476 root 20 0 0 0 0 S 0,0 0,0 0:00.07 kworker/u8+
2511 root 20 0 0 0 0 S 0,0 0,0 0:00.05 kworker/u8+
2535 postfix 20 0 71628 4468 4004 S 0,0 0,0 0:00.00 pickup
2622 root 20 0 83824 5904 5076 S 0,0 0,0 0:00.05 sudo
2623 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/u8+
2624 root 20 0 46180 4072 3512 R 0,0 0,0 0:00.00 top




E obrigado pela paciência.




10. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 12/04/2017 - 02:20h

danilo325 escreveu:

Opa, blz.
Ai esta ele completo.
Sinto muito, tente novamente.
top - 11:50:49 up 3:43, 1 user, load average: 0,67, 0,67, 0,66
Tarefas: 128 total, 1 executando, 127 dormindo, 0 parado, 0 zumbi
%Cpu(s): 0,1 us, 0,2 sy, 0,0 ni, 97,3 id, 2,3 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem : 16308820 total, 164500 free, 301436 used, 15842884 buff/cache
KiB Swap: 16651260 total, 16651260 free, 0 used. 15631160 avail Mem

PID USUÁRIO PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2334 adminis+ 20 0 348452 17488 13964 D 13,3 0,1 3:13.43 smbd
956 root 20 0 287744 10364 8204 S 6,7 0,1 0:00.16 winbindd
1 root 20 0 37684 5784 4116 S 0,0 0,0 0:00.89 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/0
4 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kworker/0:0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:+
7 root 20 0 0 0 0 S 0,0 0,0 0:00.93 rcu_sched
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
10 root rt 0 0 0 0 S 0,0 0,0 0:00.03 watchdog/0
11 root rt 0 0 0 0 S 0,0 0,0 0:00.02 watchdog/1
12 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/1
13 root 20 0 0 0 0 S 0,0 0,0 0:00.03 ksoftirqd/1
15 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:+
16 root rt 0 0 0 0 S 0,0 0,0 0:00.03 watchdog/2
17 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/2
18 root 20 0 0 0 0 S 0,0 0,0 0:00.01 ksoftirqd/2
19 root 20 0 0 0 0 S 0,0 0,0 0:00.37 kworker/2:0
20 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/2:+
21 root rt 0 0 0 0 S 0,0 0,0 0:00.03 watchdog/3
22 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/3
23 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/3
25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/3:+
26 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
28 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 perf
29 root 20 0 0 0 0 S 0,0 0,0 0:00.00 khungtaskd
30 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
31 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
32 root 39 19 0 0 0 S 0,0 0,0 0:00.06 khugepaged
33 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
34 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
35 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
36 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
37 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ata_sff
38 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 md
39 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
41 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/2:1
43 root 20 0 0 0 0 S 0,0 0,0 0:01.30 kswapd0
44 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
45 root 20 0 0 0 0 S 0,0 0,0 0:00.00 fsnotify_m+
46 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ecryptfs-k+
62 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
63 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 acpi_therm+
64 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
65 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
66 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
67 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
68 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
69 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
70 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
71 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
72 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_0
73 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_0
74 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_1
75 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_1
77 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_2
78 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_2
79 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_3
80 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_3
88 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ipv6_addrc+
102 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 deferwq
103 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 charger_ma+
106 root 20 0 0 0 0 S 0,0 0,0 0:00.10 kworker/3:1
108 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
110 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
111 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
112 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
113 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:+
156 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kpsmoused
179 root 0 -20 0 0 0 S 0,0 0,0 0:00.02 kworker/0:+
181 root 20 0 0 0 0 S 0,0 0,0 0:00.16 jbd2/sda1-8
182 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ext4-rsv-c+
214 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kauditd
231 root 20 0 35276 4092 3768 S 0,0 0,0 0:00.09 systemd-jo+
246 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/3:3
270 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/1:2
272 root 20 0 44400 3948 3080 S 0,0 0,0 0:00.06 systemd-ud+
351 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 edac-poller
352 root -51 0 0 0 0 S 0,0 0,0 0:00.00 irq/29-mei+
420 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kvm-irqfd-+
459 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 led_workqu+
480 root 0 -20 0 0 0 S 0,0 0,0 0:03.18 kworker/2:+
481 root 20 0 0 0 0 D 0,0 0,0 0:04.56 jbd2/sdc1-8
482 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ext4-rsv-c+
491 root 20 0 0 0 0 S 0,0 0,0 0:00.10 kworker/1:3
613 root 20 0 28548 3132 2812 S 0,0 0,0 0:00.01 systemd-lo+
616 root 20 0 29304 3220 2936 S 0,0 0,0 0:00.01 cron
623 root 20 0 280700 6752 5976 S 0,0 0,0 0:00.13 accounts-d+
635 syslog 20 0 260548 3296 2612 S 0,0 0,0 0:00.02 rsyslogd
641 message+ 20 0 47060 3808 3356 S 0,0 0,0 0:00.01 dbus-daemon
751 root 20 0 19472 240 0 S 0,0 0,0 0:00.31 irqbalance
790 root 20 0 65520 5592 4896 S 0,0 0,0 0:00.00 sshd
843 bacula 20 0 207520 3964 3120 S 0,0 0,0 0:00.00 bacula-sd
845 root 20 0 16236 1788 1652 S 0,0 0,0 0:00.00 agetty
847 ntp 20 0 114188 5320 4668 S 0,0 0,0 0:00.48 ntpd
864 postgres 20 0 295248 24504 22760 S 0,0 0,2 0:00.12 postgres
872 root 20 0 197104 2548 1796 S 0,0 0,0 0:00.01 bacula-fd
890 tomcat8 20 0 3154220 218028 17416 S 0,0 1,3 0:19.15 java
895 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/3:+
920 postgres 20 0 295248 3924 2184 S 0,0 0,0 0:00.00 postgres
921 postgres 20 0 295248 5584 3844 S 0,0 0,0 0:00.07 postgres
922 postgres 20 0 295248 3924 2184 S 0,0 0,0 0:00.05 postgres
923 postgres 20 0 295636 6660 4636 S 0,0 0,0 0:00.07 postgres
924 postgres 20 0 150232 3232 1492 S 0,0 0,0 0:00.08 postgres
950 root 20 0 240300 5980 4152 S 0,0 0,0 0:01.21 nmbd
962 root 20 0 418952 17596 14592 S 0,0 0,1 0:00.15 winbindd
991 root 20 0 343052 17904 15260 S 0,0 0,1 0:00.10 smbd
992 root 20 0 330104 4452 1996 S 0,0 0,0 0:00.00 smbd
993 root 20 0 294340 12904 10700 S 0,0 0,1 0:00.01 winbindd
999 root 20 0 422148 16580 13624 S 0,0 0,1 0:00.05 winbindd
1000 root 20 0 288160 6592 4432 S 0,0 0,0 0:00.01 winbindd
1008 root 20 0 343052 5708 3064 S 0,0 0,0 0:00.02 smbd
1149 root 20 0 65408 4632 4156 S 0,0 0,0 0:00.03 master
1151 postfix 20 0 71676 4500 4032 S 0,0 0,0 0:00.00 qmgr
1516 root 20 0 0 0 0 S 0,0 0,0 0:00.16 kworker/0:1
1969 root 20 0 110088 7732 6700 S 0,0 0,0 0:00.04 sshd
1975 adminis+ 20 0 45248 4752 4052 S 0,0 0,0 0:00.01 systemd
1977 adminis+ 20 0 89264 1932 0 S 0,0 0,0 0:00.00 (sd-pam)
1995 adminis+ 20 0 112176 6204 5156 S 0,0 0,0 0:00.06 sshd
1996 adminis+ 20 0 22700 5408 3820 S 0,0 0,0 0:00.06 bash
2476 root 20 0 0 0 0 S 0,0 0,0 0:00.07 kworker/u8+
2511 root 20 0 0 0 0 S 0,0 0,0 0:00.05 kworker/u8+
2535 postfix 20 0 71628 4468 4004 S 0,0 0,0 0:00.00 pickup
2622 root 20 0 83824 5904 5076 S 0,0 0,0 0:00.05 sudo
2623 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/u8+
2624 root 20 0 46180 4072 3512 R 0,0 0,0 0:00.00 top




E obrigado pela paciência.



Opa!
Esse "top" foi quando vc esta testando ?



Abraço
#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds


11. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Danilo Martins Silvério Cardoso
danilo325

(usa Ubuntu)

Enviado em 13/04/2017 - 16:09h

Sim
A transferência já estava em uns 19% concluida


12. Re: Ubuntu server congelando quando transfiro um arquivo pelo compartilhamento [RESOLVIDO]

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 14/04/2017 - 16:03h

danilo325 escreveu:

Sim
A transferência já estava em uns 19% concluida


Por aquele TOP ali que vc postou o servidor estava Tranquilo.
Faça assim:
Execute o teste novamente.
E execute varios "top" como abaixo só mudando o arquivo de destino, isso para vermos se conforme o processo de transferência esta sendo executa os recursos do servidos estão sendo drenados..


sudo top -b -d 1 -n 1 &> /home/TOP1.txt # Em 10%
sudo top -b -d 1 -n 1 &> /home/TOP2.txt # 20%
sudo top -b -d 1 -n 1 &> /home/TOP3.txt # 30%
sudo top -b -d 1 -n 1 &> /home/TOP4.txt # 40% por ai....



Mais algumas perguntas:

Quando o servidor trava, ele ainda responde na rede como a ping ou ssh por exemplo ?
Quando o servidor trava, na console(fisicamente ou em VM) , a algum erro em tela ?


Abraço
#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts