Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
andoru
Posts: 272
Joined: 2014-03-14 16:59

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

#1 Post by andoru »

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!

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

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

#2 Post by Segfault »

Methinks SQL server is writing these, do you have it running?

andoru
Posts: 272
Joined: 2014-03-14 16:59

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

#3 Post by andoru »

No...? At least it wasn't intended to run. How could one check?


andoru
Posts: 272
Joined: 2014-03-14 16:59

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

#5 Post by andoru »

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...

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

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

#6 Post by Segfault »

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?

andoru
Posts: 272
Joined: 2014-03-14 16:59

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

#7 Post by andoru »

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

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

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

#8 Post by Segfault »

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.

andoru
Posts: 272
Joined: 2014-03-14 16:59

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

#9 Post by andoru »

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.

Post Reply