On Tue, 28 Mar 2000, Dan Williams wrote:
> "Bradley T. Hughes" wrote:
>
> > well... in the mar 26 alpha i implemented a new pixmap timeout feature (i
> > think i mentioned it)
> >
> > well... all i can say is set your timeouts *low*... 1 minute would be a
> > good value :)
> >
> > last night i completely brought X to its knees by changing styles numerous
> > times... last i saw X got up to ~ 250mb in size and ~120mb
> > resident... completely filled up my swap space...
> >
> > i had my timeout set for 2 hours, but until i fix this little problem, i
> > recommend telling blackbox to purge it's cache very very often :)
> >
> > --- signature Wed Dec 29 17:52:53 1999
> > +++ .signature Wed Dec 29 17:53:19 1999
> > @@ -0,0 +1,3 @@
> > +Bradley T Hughes <[EMAIL PROTECTED]>
> > +-----------------------------------
> > + http://blackbox.alug.org/
>
> Thanks Brad for the info...
>
> I recently upgraded to Linux kernel 2.3.99-pre3 and Blackbox-0.60.0mar26 at
> the same time and was wondering which was the culprit...of course I was ready
> to blame Linus...:) I know...shouldn't be upgrading too many things at
> once...
no... it's my fault on this one ;) the problem that i ran into was simply
running out of memory... blackbox had around (i'm guessing) 9k-10k pixmaps
stored in the X server... and we're not talking about 2 and 3k
pixmaps... some of them are very large (especially if you run netscape or
maximize applications)
> How do we set the timeout? Sorry if this is a stupid question, but if you
> answer, I'll promise to answer all mail asking about this on the
> mailinglist...a fair trade? :)
the timeout is set in .blackboxrc under session.cacheLife... it takes an
integer which it interprets into minutes to wait before purging it's cache
of unused pixmaps... setting it low reduces the problem of the
(EEK) bloat, but it doesn't completely correct it... if you change styles
enough you could probably still bring your box to its knees just as i
did...
another solution is telling the new pixmap cache to behave like the old
cache and set session.cacheLife to zero, which tells blackbox to not wait,
and purge unused pixmaps immediately
> Thanks in advance!
> Dan
>
--- signature Wed Dec 29 17:52:53 1999
+++ .signature Wed Dec 29 17:53:19 1999
@@ -0,0 +1,3 @@
+Bradley T Hughes <[EMAIL PROTECTED]>
+-----------------------------------
+ http://blackbox.alug.org/