Wifi goes offline after uploading around 400MB

When I upload around 400 MB with a browser to a cloud drive, or if I use the cloud drive app, or I upload a video to YouTube, the wifi goes offline and I can’t connect anymore. No wifi connections are found and I have to restart to be able to connect with the internet again.

I also have Windows 10 on the system and there I don’t have this issue, so it’s not a hardware problem. Also I could upload on this computer/Manjaro for many months without problems. It just happened recently. With Timeshift I just jumped back 2 week, but sadly, it didn’t help.

System:    Kernel: 5.9.8-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: Xfce 4.14.3 Distro: Manjaro Linux 
Machine:   Type: Desktop System: Intel product: KBL-R MRD v: 0.1 serial: <filter> 
           Mobo: Intel model: MIR1 v: RVP7 serial: <filter> UEFI [Legacy]: American Megatrends v: 5.12 date: 07/12/2018 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K270 charge: 100% (should be ignored) 
           status: Discharging 
CPU:       Info: Quad Core model: Intel Core i7-8650U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 33615 
           Speed: 800 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 801 6: 800 7: 800 8: 801 
Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.9 driver: intel resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.2 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Device-2: C-Media USB Advanced Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-3:2 
           Sound Server: ALSA v: k5.9.8-2-MANJARO 
Network:   Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel port: f040 bus ID: 01:00.0 
           IF: wlp1s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
           IF: enp2s0 state: down mac: <filter> 
Drives:    Local Storage: total: 942.70 GiB used: 779.16 GiB (82.7%) 
           ID-1: /dev/sda vendor: Seagate model: ST500LT012-9WS142 size: 465.76 GiB 
           ID-2: /dev/sdb vendor: SanDisk model: SD8SN8U512G1027 size: 476.94 GiB 
Partition: ID-1: / size: 19.10 GiB used: 14.56 GiB (76.2%) fs: ext4 dev: /dev/sdb6 
           ID-2: /home size: 400.62 GiB used: 308.00 GiB (76.9%) fs: ext4 dev: /dev/sdb7 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 59.5 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 305 Uptime: 4m Memory: 15.43 GiB used: 2.59 GiB (16.8%) Init: systemd Compilers: gcc: 10.2.0 
           clang: 11.0.0 Packages: 1579 Shell: Bash v: 5.0.18 inxi: 3.1.08 



wlp1s0    IEEE 802.11  ESSID:"Nice Nest 302"  
          Mode:Managed  Frequency:2.432 GHz  Access Point: 14:4D:67:B4:D7:1C   
          Bit Rate=150 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=64/70  Signal level=-46 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:68   Missed beacon:0



[admin@manjaro-2019-11 ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 00:e0:4c:e1:09:3a brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c0:b6:f9:9c:8a:fb brd ff:ff:ff:ff:ff:ff
    inet 192.168.5.4/24 brd 192.168.5.255 scope global dynamic noprefixroute wlp1s0
       valid_lft 28362sec preferred_lft 28362sec




[admin@manjaro-2019-11 ~]$ nmcli -f GENERAL,WIFI-PROPERTIES dev show wlp1s0
GENERAL.DEVICE:                         wlp1s0
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/Devices/3
GENERAL.VENDOR:                         Intel Corporation
GENERAL.PRODUCT:                        Wireless 3165 (Dual Band Wireless AC 3165)
GENERAL.DRIVER:                         iwlwifi
GENERAL.DRIVER-VERSION:                 5.9.8-2-MANJARO
GENERAL.FIRMWARE-VERSION:               29.198743027.0 7265D-29.ucode
GENERAL.HWADDR:                         C0:B6:F9:9C:8A:FB
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.IP4-CONNECTIVITY:               4 (full)
GENERAL.IP6-CONNECTIVITY:               1 (none)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/wlp1s0
GENERAL.PATH:                           pci-0000:01:00.0
GENERAL.IP-IFACE:                       wlp1s0
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Nice Nest 302
GENERAL.CON-UUID:                       3f62ec88-5ab1-4166-904a-534dea3653ef
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        no (guessed)
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                   yes
WIFI-PROPERTIES.5GHZ:                   yes
WIFI-PROPERTIES.MESH:                   no
WIFI-PROPERTIES.IBSS-RSN:               yes





[admin@manjaro-2019-11 ~]$ iwconfig wlp1s0
wlp1s0    IEEE 802.11  ESSID:"Nice Nest 302"  
          Mode:Managed  Frequency:2.432 GHz  Access Point: 14:4D:67:B4:D7:1C   
          Bit Rate=150 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=65/70  Signal level=-45 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:77   Missed beacon:0

I tried different kernels, but sadly it didn’t help.

First thing to do is to update your system. I recommend to install a swap file or swap partition of at least 2 GiB and to increase the size of your / partition to at least 30 GiB at cost of your huge /home partition if possible. I would use GParted for that re-partitioning from a live ISO boot.

Manjaro problem

[admin@manjaro-2019-11 ~]$ df
Filesystem Size Used Avail Use% Mounted on
dev 7.8G 0 7.8G 0% /dev
run 7.8G 1.4M 7.8G 1% /run
/dev/sdb6 20G 14G 5.0G 73% /
tmpfs 7.8G 226M 7.5G 3% /dev/shm
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
tmpfs 7.8G 47M 7.7G 1% /tmp
/dev/sdb7 401G 255G 126G 67% /home
/dev/sda1 466G 457G 9.2G 99% /media/acer
tmpfs 1.6G 104K 1.6G 1% /run/user/1000

I use this installation for over one year and never had problems uploading with this configuration. I have 5GB free space on / so I don’t need more space there. And I haven’t installed a swap file/partition, because I have 16GB of RAM and I never use all of it (there are very seldom cases, when it causes problems though).

Perhaps I should follow your suggestion eventually, but I guess it has nothing to do with my current problem, because my / partition has 5GB of empty space and my RAM is just around 20% full when the problem happens, and also I haven’t had the problem for over one year.

Have you checked buffers and cache as well? Could easily eat up the rest…

I will try to make a video later.
Yes, it could be a problem, but I am just surprised that it was working fine before. And now suddenly the wifi is completely broken. Closing everything, restarting wifi etc. It all doesn’t help. I have to restart to make it work again.
sudo systemctl restart NetworkManager.service
this command does nothing, when the wifi is broken after the upload.

Ok, I will make the video and upload it in 10 hours. Thank you for your help.

I just recorded the video. I cannot include any links here, so please go to YouTube and add this to the URL:
/watch?v=d6Rd2DhrQSs

On the bottom right you see, that I uploaded 1,4GB until it happens (sometimes I can upload more, often less).

The problems happens at 3:40. Suddenly the internet is completely broken. At 4:40 I try to restart it with
sudo systemctl restart NetworkManager.service
but it has no effect. I can’t find any wifi connections.

At 4:30 you can see an error message from nethogs:
The interface went down.