Send xmonad mailing list submissions to
xmonad@haskell.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/xmonad
or, via email, send a message with subject or body 'help' to
xmonad-request@haskell.org
You can reach the person managing the list at
xmonad-owner@haskell.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of xmonad digest..."
Today's Topics:
1. Re: Leak... somewhere... I periodically restart xmonad to
recover gobs of swap space (Michael Witten)
----------------------------------------------------------------------
Message: 1
Date: Wed, 15 Jan 2014 22:03:57 -0000
From: Michael Witten <mfwitten@gmail.com>
To: Daniel Wagner <daniel@wagner-home.com>
Cc: xmonad@haskell.org
Subject: Re: [xmonad] Leak... somewhere... I periodically restart
xmonad to recover gobs of swap space
Message-ID: <4d080b1716e84f9fbac463f8ebbf10d9-mfwitten@gmail.com>
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>"
}
------------------------------
Subject: Digest Footer
_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad
------------------------------
End of xmonad Digest, Vol 82, Issue 7
*************************************