home磁碟空間不足(.xsession-error) - Linux
By Freda
at 2013-05-27T20:58
at 2013-05-27T20:58
Table of Contents
: 發現是/home/使用者/.session-error-old檔案太大(佔了4X GB)
: 再我砍掉之後
: 過段時間後(不到一天)卻又跑出空間不足的訊息
: 但這次卻變成是/home/使用者/.session-error檔案太大(佔了4X GB)
: 砍掉之後過斷時間還是又變成這麼大
是~/.xsession-error嗎? 正常剛裝的ubuntu沒有~/.session-error這個檔
用session manager時(ex. lightdm)
俗成的約定是把session manager生出來的新程序的stderr全都導進~/.xsession-error
所以看看裡面的內容可以知到哪個程式整天吐message出來
ex:
** (zeitgeist-datahub:19198): WARNING **: recent-manager-provider.vala:133:
Desktop file for "file:///media/***" was not found,
exec: soffice, mime_type: text/plain
(nautilus:19014): Gtk-WARNING **: Refusing to add non-unique action 'dynamic5' to
action group 'BookmarksGroup'
(nautilus:19014): Gtk-CRITICAL **: gtk_action_set_sensitive: assertion
`GTK_IS_ACTION (action)' failed
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
GTK Panel of SCIM 1.4.9
這類的內容,如果不是發發者大概不會有什麼興趣
$ head -n 10000 ~/.xsession-errors | sort | uniq -c | sort -rn | head
這行東西可以可以把最多的message抓出來,看是什麼在吐error
--
: 再我砍掉之後
: 過段時間後(不到一天)卻又跑出空間不足的訊息
: 但這次卻變成是/home/使用者/.session-error檔案太大(佔了4X GB)
: 砍掉之後過斷時間還是又變成這麼大
是~/.xsession-error嗎? 正常剛裝的ubuntu沒有~/.session-error這個檔
用session manager時(ex. lightdm)
俗成的約定是把session manager生出來的新程序的stderr全都導進~/.xsession-error
所以看看裡面的內容可以知到哪個程式整天吐message出來
ex:
** (zeitgeist-datahub:19198): WARNING **: recent-manager-provider.vala:133:
Desktop file for "file:///media/***" was not found,
exec: soffice, mime_type: text/plain
(nautilus:19014): Gtk-WARNING **: Refusing to add non-unique action 'dynamic5' to
action group 'BookmarksGroup'
(nautilus:19014): Gtk-CRITICAL **: gtk_action_set_sensitive: assertion
`GTK_IS_ACTION (action)' failed
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
GTK Panel of SCIM 1.4.9
這類的內容,如果不是發發者大概不會有什麼興趣
$ head -n 10000 ~/.xsession-errors | sort | uniq -c | sort -rn | head
這行東西可以可以把最多的message抓出來,看是什麼在吐error
--
Tags:
Linux
All Comments
By Linda
at 2013-05-28T23:45
at 2013-05-28T23:45
Related Posts
smtp無法寄信問題
By Puput
at 2013-05-27T17:22
at 2013-05-27T17:22
shell script
By Rae
at 2013-05-27T14:37
at 2013-05-27T14:37
HackingThursday 固定聚會 (2013-05-30)
By Barb Cronin
at 2013-05-27T12:03
at 2013-05-27T12:03
squid3的認證失效
By Suhail Hany
at 2013-05-27T08:34
at 2013-05-27T08:34
ubuntu 12.04 64-bit 關機FAIL
By Leila
at 2013-05-27T00:24
at 2013-05-27T00:24