Disk access log files under the home folder...?

If none of the more specific forums is the right place to ask

Disk access log files under the home folder...?

Postby andoru » 2017-02-27 18:01

I keep on getting three log files under my home folder: "disk_access.log" "disk_buffer.log" and "disk_io_thread.log". Sometimes they can get a few hundred megs big. Can anyone let me know why these show up and how to disable this kind of logging?
Thanks in advance!
I support Universal Basic Income, and so should you, here's why. Another reason why.
Commonly asked questions about UBI
Spread the word!
andoru
 
Posts: 230
Joined: 2014-03-14 16:59

Re: Disk access log files under the home folder...?

Postby Segfault » 2017-02-27 19:44

Methinks SQL server is writing these, do you have it running?
Segfault
 
Posts: 412
Joined: 2005-09-24 12:24

Re: Disk access log files under the home folder...?

Postby andoru » 2017-02-27 19:55

No...? At least it wasn't intended to run. How could one check?
I support Universal Basic Income, and so should you, here's why. Another reason why.
Commonly asked questions about UBI
Spread the word!
andoru
 
Posts: 230
Joined: 2014-03-14 16:59


Re: Disk access log files under the home folder...?

Postby andoru » 2017-02-27 21:24

Code: Select all
# /etc/init.d/mysql status
-su: /etc/init.d/mysql: No such file or directory


Code: Select all
# systemctl status mysql
Unit mysql.service could not be found
.

So no, apparently it isn't running...
I support Universal Basic Income, and so should you, here's why. Another reason why.
Commonly asked questions about UBI
Spread the word!
andoru
 
Posts: 230
Joined: 2014-03-14 16:59

Re: Disk access log files under the home folder...?

Postby Segfault » 2017-02-27 21:37

I never thought it would be ran as system service and logging into home directory.

Did you check the ownership of log files? Did you look at at the content?
Segfault
 
Posts: 412
Joined: 2005-09-24 12:24

Re: Disk access log files under the home folder...?

Postby andoru » 2017-02-27 21:50

Segfault wrote:I never thought it would be ran as system service and logging into home directory.


Likewise.

Segfault wrote:Did you check the ownership of log files? Did you look at at the content?


The files are owned by me, and I have read+write permission to them.
I didn't look into any of them as the files are too large, and it would take ages to open them up. I did try to open the smallest one (disk_access.log), and these are all the first few lines:

Code: Select all
2920261 read 745544260155
2936045 read_end 745544391227
3607068 read 745544391227
3607569 read_end 745544522299
6170548 read 437720186880
6251500 read_end 437720317952
6932690 read 256949734031
6945668 read_end 256949865103
6945803 read 747358966101
6970988 read_end 747359097173
6971035 read 755210824588
6971227 read_end 755210873740
7311783 read 755210922892
7319840 read_end 755211004812
8584886 read 755211283340
8593586 read_end 755211398028
8716964 read 256949865103
8737892 read_end 256949996175
8738438 read 747359097173
8755101 read_end 747359228245
9570567 read 256949996175
9588515 read_end 256950127247
I support Universal Basic Income, and so should you, here's why. Another reason why.
Commonly asked questions about UBI
Spread the word!
andoru
 
Posts: 230
Joined: 2014-03-14 16:59

Re: Disk access log files under the home folder...?

Postby Segfault » 2017-02-27 22:46

I wonder how you intended to open those files. Normal commands like tail and head or even cat should work instantly. Anyhow, did you check with ps if there is mysql running? When you rm these files, do they come back? Do they come back only if you log in as your normal user? Is there a specific application that is run before these files appear? These are the questions you should have asked yourself.

Sorry, but I won't be back in this thread, just noticed your footer links. Utter nonsense for me. Nothing personal, just unpleasant for me, I do not come here to get negative experiences.
Segfault
 
Posts: 412
Joined: 2005-09-24 12:24

Re: Disk access log files under the home folder...?

Postby andoru » 2017-02-27 23:46

Segfault wrote:Anyhow, did you check with ps if there is mysql running?


No, it is not.

Segfault wrote:When you rm these files, do they come back?


Yes, they do.

Segfault wrote:Do they come back only if you log in as your normal user?


The new log data is appended to the files after loging in. So in other words, the logging continues on the same files (without overwriting) after resuming the session (suspend/hibernate), or after a cold boot.

Segfault wrote:Is there a specific application that is run before these files appear?


I wouldn't know.

I did a lsof on the files, and it seems that qBittorrent is accessing the logs, so I'm guessing I found the culprit. Will take this over to their github issues page.

Segfault wrote:Sorry, but I won't be back in this thread, just noticed your footer links. Utter nonsense for me. Nothing personal, just unpleasant for me, I do not come here to get negative experiences.


I find it rather amusing you're offended by an idea, on the internet of all places!

Segfault wrote:Nothing personal, just unpleasant for me, I do not come here to get negative experiences.


lol, yeah, whatever. Don't let the door hit you on your way out dearie.
I support Universal Basic Income, and so should you, here's why. Another reason why.
Commonly asked questions about UBI
Spread the word!
andoru
 
Posts: 230
Joined: 2014-03-14 16:59


Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable