On Tue, 19 Sep 2000, Jeremy C. Reed wrote:
> My load averages often raise to 7 and above (sometimes around 11 and
> above). But if I switch (Blackbox menu -> Others) to another window
> manager the load instantly drops and stays (for over 24 hours) at an
> acceptable load average of below 0.50. (When I do a BlackBox menu ->
> Restart, the load average drops but then slowly rises.)

I may have figured out my problem! I am thinking that a badly configured
Style can make blackbox use extra resources.

I changed themes yesterday and now my load average is still low.
  10:01AM  up 2 days,  2:54, 1 user, load averages: 0.12, 0.47, 0.35

So I switched back to the bad style and a few minutes later:
  10:12AM  up 2 days,  3:05, 1 user, load averages: 2.70, 1.21, 0.65

When I switched back to Spiff style:
  10:14AM  up 2 days,  3:08, 1 user, load averages: 3.27, 2.05, 1.08
and then to TDF style the load continued to rise.
  10:17AM  up 2 days,  3:10, 1 user, load averages: 3.26, 2.50, 1.40

So then I did a Blackbox menu -> Restart:
  10:21AM  up 2 days,  3:15, 1 user, load averages: 0.21, 1.28, 1.16
and now several minutes later:
  10:43AM  up 2 days,  3:36, 1 user, load averages: 0.16, 0.16, 0.34

Below is my bad style file. If blackbox does have a problem with bad
styles then it should be fixed.

In May, I attempted to make it from looking at some other style called
SteelBlue. (It seems like I heard about a style conversion script, but I
can't find the URL; does anyone know where I can find it.)

toolbar:                        raised solid bevel1
toolbar.color:                  rgb:4/6/8
toolbar.colorTo:                rgb:4/6/8
toolbar.button:                 parentrelative
toolbar.button.picColor:        rgb:2/3/4
toolbar.button.pressed:         sunken diagonal gradient bevel1
toolbar.button.pressed.color:   rgb:2/3/4
toolbar.button.pressed.colorTo: rgb:6/9/c
toolbar.label:                  parentrelative
toolbar.label.textColor:        lightgrey
toolbar.windowLabel:            parentrelative
toolbar.windowLabel.textColor:  lightgrey
toolbar.clock:                  parentrelative
toolbar.clock.textColor:        lightgrey
toolbar.justify:                center
toolbar.font:                   lucidasans-10

menu.title:                     flat solid
menu.title.color:               rgb:5/78/a
menu.title.colorTo:             rgb:3/3/6
menu.title.textColor:           white
menu.title.font:                lucidasans-10
menu.title.justify:             right

menu.frame:                     raised solid bevel1
menu.frame.color:               rgb:4/6/8
menu.frame.colorTo:             grey20
menu.frame.textColor:           lightgrey
menu.frame.disableColor:        rgb:2/2/4
menu.frame.font:                lucidasans-10
menu.frame.justify:             left

menu.bullet.position:           right
menu.bullet:                    triangle

menu.hilite:                    flat solid
menu.hilite.color:              rgb:5/78/a
menu.hilite.colorTo:            rgb:3/3/6
menu.hilite.textColor:          white

window.title.focus:             raised solid
window.title.focus.color:       rgb:5/78/a
window.title.focus.colorTo:     rgb:4/6/8
window.title.unfocus:           flat solid
window.title.unfocus.color:     grey30
window.title.unfocus.colorTo:   grey20

window.label.focus:             parentrelative
window.label.focus.textColor:   white
window.label.unfocus:           parentrelative
window.label.unfocus.textColor: grey60

window.button.focus:            parentrelative
window.button.focus.picColor:   rgb:6/9/c
window.button.unfocus:          parentrelative
window.button.unfocus.picColor: grey20
window.button.pressed:          flat crossdiagonal gradient
window.button.pressed.color:    grey40
window.button.pressed.colorTo:  grey20

window.handle.focus:            raised solid bevel1
window.handle.focus.color:      rgb:5/78/a
window.handle.focus.colorTo:    rgb:3/3/6
window.handle.unfocus:          flat solid
window.handle.unfocus.color:    rgb:4/6/8
window.handle.unfocus.colorTo:  grey20

window.grip.focus:              parentrelative
window.grip.unfocus:            parentrelative

window.frame.focus:             flat solid
window.frame.focus.color:       rgb:5/78/a
window.frame.unfocus:           flat solid
window.frame.unfocus.color:     rgb:4/6/8

window.font:                    lucidasans-10
window.justify:                 right

borderColor:                    grey10

bevelWidth:                     1
borderWidth:                    1
handleWidth:                    4

*textColor:                     lightgrey
*Font:                          lucidasans-10

rootCommand:                    bsetroot -solid rgb:4/6/8

bbpager.desktop.focus:          flat solid
bbpager.desktop.focus.color:    rgb:6/9/c
bbpager.desktop.focus.colorTo:  rgb:3/48/6
  

  Jeremy C. Reed
....................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net/

Reply via email to