You are not logged in.

#1 2013-12-12 19:55:32

markus2107
Member
Registered: 2012-03-21
Posts: 50

mysqld stays alive after logging out

I've got problems with my hfs+ /home partition. So it seems to be unmounted dirty.

I can umount it safely, but for now i do it like this...

- logging out (KDE)
- logging in as root (TTY)
- then i have to pkill mysqld, 'cause lsof /home shows me, that its still alive and strangely the USER is my normal USERNAME, also i logged out before (KDE)
- then i umount my /home parition
- finally i can reboot with a clean hfs+ partition

So, to me it seems like mysqld stays alive when i reboot normaly via KDE and so the drive can't be umounted proberly.
Could this be right?
Is it normal, that there are akonadi related mysqld tasks still alive, also i logged out via KDE? Could someone please try?

I personally think that lsof /home should have no entries when no user is loged in...

Offline

#2 2013-12-13 17:55:25

markus2107
Member
Registered: 2012-03-21
Posts: 50

Re: mysqld stays alive after logging out

To be more precisely, lsof /home looks something like this

akonadi_c  9888 markus  cwd    DIR    8,3        93     88 /home/markus
akonadi_c  9888 markus    1w   REG    8,3    316405 900704 /home/markus/.xsession-errors
akonadi_c  9888 markus    2w   REG    8,3    316405 900704 /home/markus/.xsession-errors
mysqld     9892 markus  cwd    DIR    8,3        11   5277 /home/markus/.local/share/akonadi/db_data
mysqld     9892 markus    1w   REG    8,3      2872 900732 /home/markus/.local/share/akonadi/db_data/mysql.err
mysqld     9892 markus    2w   REG    8,3      2872 900732 /home/markus/.local/share/akonadi/db_data/mysql.err
mysqld     9892 markus    3uW  REG    8,3  18874368  18022 /home/markus/.local/share/akonadi/db_data/ibdata1
mysqld     9892 markus    8uW  REG    8,3  67108864 894477 /home/markus/.local/share/akonadi/db_data/ib_logfile0
mysqld     9892 markus    9uW  REG    8,3  67108864 894484 /home/markus/.local/share/akonadi/db_data/ib_logfile1
mysqld     9892 markus   10uW  REG    8,3    131072  18702 /home/markus/.local/share/akonadi/db_data/akonadi/collectionattributetable.ibd
mysqld     9892 markus   12uW  REG    8,3    114688  18685 /home/markus/.local/share/akonadi/db_data/akonadi/resourcetable.ibd
mysqld     9892 markus   13uW  REG    8,3    131072 148202 /home/markus/.local/share/akonadi/db_data/akonadi/collectiontable.ibd
mysqld     9892 markus   14uW  REG    8,3    114688 149188 /home/markus/.local/share/akonadi/db_data/akonadi/collectionmimetyperelation.ibd
mysqld     9892 markus   15uW  REG    8,3        52 877885 /home/markus/.local/share/akonadi/db_data/aria_log_control
mysqld     9892 markus   16r   DIR    8,3        11   5277 /home/markus/.local/share/akonadi/db_data
mysqld     9892 markus   17u   REG    8,3     16384 877886 /home/markus/.local/share/akonadi/db_data/aria_log.00000001
mysqld     9892 markus   22uW  REG    8,3    114688 149193 /home/markus/.local/share/akonadi/db_data/akonadi/collectionpimitemrelation.ibd
mysqld     9892 markus   23uW  REG    8,3    114688  18690 /home/markus/.local/share/akonadi/db_data/akonadi/flagtable.ibd
mysqld     9892 markus   24uW  REG    8,3    114688  18687 /home/markus/.local/share/akonadi/db_data/akonadi/mimetypetable.ibd
mysqld     9892 markus   25uW  REG    8,3    196608  18688 /home/markus/.local/share/akonadi/db_data/akonadi/parttable.ibd
mysqld     9892 markus   26uW  REG    8,3    114688 149184 /home/markus/.local/share/akonadi/db_data/akonadi/pimitemflagrelation.ibd
mysqld     9892 markus   27uW  REG    8,3    147456 894500 /home/markus/.local/share/akonadi/db_data/akonadi/pimitemtable.ibd
mysqld     9892 markus   28uW  REG    8,3     98304  18682 /home/markus/.local/share/akonadi/db_data/akonadi/schemaversiontable.ibd

Offline

#3 2013-12-13 18:01:57

mrinx
Member
From: Richmond, VA
Registered: 2013-08-01
Posts: 87
Website

Re: mysqld stays alive after logging out

Oh, I think it makes more sense now smile I believe that mysqld runs on background as a daemon, so it's normal that it won't terminate after you log in/out...


English isn't my first language.
Is Arch Linux user called archer? Where are our bows and arrows?

Offline

#4 2013-12-13 21:31:17

markus2107
Member
Registered: 2012-03-21
Posts: 50

Re: mysqld stays alive after logging out

So, when its normal then this could not be the reason for why my home partition is dirty, after a normal shutdown?

Offline

#5 2013-12-13 21:44:05

mrinx
Member
From: Richmond, VA
Registered: 2013-08-01
Posts: 87
Website

Re: mysqld stays alive after logging out

I would expect, that mysqld would be terminated on reboot or shutdown, also all partitions should be unmounted automatically, at least I would think, that that was systemd's job.


English isn't my first language.
Is Arch Linux user called archer? Where are our bows and arrows?

Offline

Board footer

Powered by FluxBB