[xmonad] Leak... somewhere... I periodically restart xmonad to recover gobs of swap space
Michael Witten
mfwitten at gmail.com
Wed Jan 15 22:03:57 UTC 2014
On Tue, 14 Jan 2014 15:23:57 -0500, Daniel Wagner wrote:
>> On 2014-01-13 13:45, Michael Witten wrote:
>>
>> Software:
>>
>> xmonad 0.11
>> xmobar 0.10
>> Xorg 1.14.1
>>
>>
>> After a while (say, a month) of normal activity, my swap space
>> becomes almost entirely eaten up; the problem can be solved by
>> restarting xmonad (`mod-q').
>>
>> The problem could well be `xmobar' or `X' itself.
>
> Could you include your config file? Perhaps there's something an
> experienced Haskeller can spot quickly. Then again perhaps not. In
> any case I have been using xmonad for several years and have not
> noticed the problem you describe.
> ~d
~/.xmonad/xmonad.hs
-------------------
import XMonad
import XMonad.Hooks.DynamicLog
main = xmonad =<< xmobar defaultConfig { modMask = mod4Mask, terminal = "urxvtc" }
~/.xmobarrc
-----------
Config {
font = "xft:DejaVu Sans Mono:size=9"
, bgColor = "black"
, fgColor = "grey"
, position = Top
, lowerOnStart = True
, commands = [ Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Network "eth2" [] 10
, Run Date "%a %Y-%m-%d %H:%M:%S" "date" 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%cpu% | %memory% * %swap% | %eth2% } %StdinReader% { <fc=#ee9a00>%date%</fc>"
}
More information about the xmonad
mailing list