[SOLVED] Root fills up when uploading to OneDrive

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
HRJ21

[SOLVED] Root fills up when uploading to OneDrive

Post by HRJ21 »

When I upload files to OneDrive from my Mint machine, my root partition fills up!

Before I try to upload the files,

Code: Select all

df -h
gives me this:

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
udev            5.8G     0  5.8G   0% /dev
tmpfs           1.2G  1.6M  1.2G   1% /run
/dev/sda5       23G   17.9G  5.1G  78% /
tmpfs           5.9G   48M  5.8G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           5.9G     0  5.9G   0% /sys/fs/cgroup
tmpfs           5.9G   24K  5.9G   1% /tmp
/dev/sda3       342G  123G  220G  36% /mnt/321E27F01E27AC33
/dev/sda1       256M   74M  183M  29% /boot/efi
/dev/sda6       521G  158G  353G  31% /home
tmpfs           1.2G   44K  1.2G   1% /run/user/1000
and when I try to upload files to OneDrive (which has become painfully slow, I don't know if this is related), it gives me this:

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
udev            5.8G     0  5.8G   0% /dev
tmpfs           1.2G  1.6M  1.2G   1% /run
/dev/sda5        23G   20G  2.0G  92% /
tmpfs           5.9G   48M  5.8G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           5.9G     0  5.9G   0% /sys/fs/cgroup
tmpfs           5.9G   24K  5.9G   1% /tmp
/dev/sda3       342G  123G  220G  36% /mnt/321E27F01E27AC33
/dev/sda1       256M   74M  183M  29% /boot/efi
/dev/sda6       521G  158G  353G  31% /home
tmpfs           1.2G   44K  1.2G   1% /run/user/1000
Is this normal or have I done something stupid? Will I get this space back once the upload is complete?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gm10

Re: Root fills up when uploading to OneDrive

Post by gm10 »

HRJ21 wrote: Sun Sep 23, 2018 11:31 am Will I get this space back once the upload is complete?
I don't know, did you? You lost over 2 GB, how big was the file you were uploading? dropbox should cache to your home folder by default, not the system partition.

Otherwise possibly some runaway log file, check size of /var/log:

Code: Select all

sudo du -hs /var/log
HRJ21

Re: Root fills up when uploading to OneDrive

Post by HRJ21 »

Thanks for your reply.
I don't know, did you?
No, when the upload finished, my root filesystem remains full. The files were around 2G in total, yes.

I ran the command you said, and it says the size of /var/log is 8.7G. Can I safely remove the contents of this directory? Is it related to my upload and is there something I can do to prevent it from growing like this?
gm10

Re: Root fills up when uploading to OneDrive

Post by gm10 »

HRJ21 wrote: Sun Sep 23, 2018 12:23 pm I ran the command you said, and it says the size of /var/log is 8.7G. Can I safely remove the contents of this directory? Is it related to my upload and is there something I can do to prevent it from growing like this?
8.7 GB? Culprit identified for sure. To give you a reference, here's the output from my system

Code: Select all

$ sudo du -hs /var/log
20M	/var/log
Check which log file or files take up all that space in that folder, then check what they actually say so we can identify the problem and come up with a solution.

PS: But don't try to open a log file of that size with your regular text editor, use something like glogg or from the command line do something like
tail -n 100 /var/log/syslog to display only the end of a file (the last 100 lines in this case).
HRJ21

Re: Root fills up when uploading to OneDrive

Post by HRJ21 »

So there are 3 large log files in /var/log:
kern.log : 2.89G
syslog : 2.79G
ufw.log : 2.79G

Here are the tails of the three logs:
kern.log

Code: Select all

Sep 23 17:11:58 ENVY kernel: [ 5429.633058] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1679 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3340 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.633942] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8504 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.633978] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8506 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634192] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1680 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634225] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1681 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634257] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1682 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634281] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1683 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634303] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1684 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634489] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=8508 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635111] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8509 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635152] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8511 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635817] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1685 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635853] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1686 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635878] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1687 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635901] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1688 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635924] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1689 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3340 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635979] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=8513 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.636723] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8514 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0
syslog

Code: Select all

Sep 23 17:11:58 ENVY kernel: [ 5429.630720] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8494 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.630867] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1677 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3340 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.631761] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8496 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.631803] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8498 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.631956] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1678 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.632862] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8500 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.632906] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8502 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.633058] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1679 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3340 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.633942] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8504 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.633978] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8506 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634192] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1680 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634225] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1681 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634257] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1682 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634281] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1683 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634303] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1684 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634489] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=8508 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635111] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8509 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635152] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8511 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635817] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1685 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635853] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08
ufw.log

Code: Select all

Sep 23 17:11:58 ENVY kernel: [ 5429.634303] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1684 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.634489] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=8508 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635111] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8509 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635152] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8511 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635817] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1685 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635853] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1686 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635878] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1687 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635901] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=95 TOS=0x00 PREC=0x00 TTL=120 ID=1688 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK PSH URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635924] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1689 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3340 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.635979] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=8513 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.636723] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8514 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.636785] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8516 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.636990] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1690 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3346 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.637862] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8518 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.637906] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8520 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.638935] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8522 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.638962] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8524 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.639153] [UFW AUDIT] IN=wlan0 OUT= MAC=10:02:b5:03:fb:a1:8a:05:2a:38:a2:38:08:00 SRC=13.107.136.9 DST=192.168.1.222 LEN=40 TOS=0x00 PREC=0x00 TTL=120 ID=1691 DF PROTO=TCP SPT=443 DPT=59026 WINDOW=3340 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.640044] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8526 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.640074] [UFW AUDIT] IN= OUT=wlan0 SRC=192.168.1.222 DST=13.107.136.9 LEN=2920 TOS=0x00 PREC=0x00 TTL=64 ID=8528 DF PROTO=TCP SPT=59026 DPT=443 WINDOW=1834 RES=0x00 ACK URGP=0 
Sep 23 17:11:58 ENVY kernel: [ 5429.640293] [UFW Ah
Thanks again for your time.
gm10

Re: Root fills up when uploading to OneDrive

Post by gm10 »

Ok, if that's all that's spamming your logs then that's self-inflicted. You raised the UFW log level from the default "low" to a higher level, and you are logging it to all 3 logs simultaneously.

The former is up to you to decide, I don't know why you raised the level in the first place, but I suggest you prevent at least the latter from happening by running this and uncommenting the last line in the editor that opens (remove the #):

Code: Select all

sudo nano /etc/rsyslog.d/20-ufw.conf
Save with Ctrl+S then Ctrl+X.

And yes, you can just delete the offending log files (sudo rm /var/log/syslog etc.) and then reboot.
HRJ21

Re: Root fills up when uploading to OneDrive

Post by HRJ21 »

Ah ok, thank you. I'm not sure how I managed to do this as all I changed about ufw recently was to enable it with

Code: Select all

sudo ufw enable
. So am I correct in saying that every time I was uploading a file, ufw was writing lines to those 3 log files which just became large very quickly?

Thank you for your help.
gm10

Re: Root fills up when uploading to OneDrive

Post by gm10 »

HRJ21 wrote: Sun Sep 23, 2018 1:46 pm Ah ok, thank you. I'm not sure how I managed to do this as all I changed about ufw recently was to enable it with

Code: Select all

sudo ufw enable
Well, something raised it. I don't think dropbox would, or would it? Never used it. Anyway, Mint menu > gufw > Edit menu > Preferences and change ufw logging back to low or just disable it completely.
HRJ21 wrote: Sun Sep 23, 2018 1:46 pm So am I correct in saying that every time I was uploading a file, ufw was writing lines to those 3 log files which just became large very quickly?
If all the 2.8 GB of each log looked like that then yes, that was the only reason. You'll see in the future after lowering/disabling the log level (I'd just disable it tbh, you're unlikely to ever review those logs, right?). I bet your performance drop was also due to this. That's a lot of data to write.

PS: If you've got journald running then you've had those logs in 4 places actually and the /var/log/journal folder would be huge as well, something to check.
User avatar
JerryF
Level 16
Level 16
Posts: 6572
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: [SOLVED] Root fills up when uploading to OneDrive

Post by JerryF »

@gm10

OP was using OneDrive, not Dropbox.
gm10

Re: [SOLVED] Root fills up when uploading to OneDrive

Post by gm10 »

JerryF wrote: Sun Sep 23, 2018 5:26 pm OP was using OneDrive, not Dropbox.
Thanks. Close enough, slipped within the category. ;)
Locked

Return to “Beginner Questions”