On Tue, 6 Jan 2004, Petter Reinholdtsen wrote:

> [Mark Vojkovich]
> > When I see these sort of requests I usually feel pretty comfortable
> > dismissing them as application resource leaks.
> 
> Is it possible for dead applications to "use" resources in the X
> server?  I mean, if a web browser allocate several resources in the X
> server (shared memory, pixmaps, fonts, I do not know what types of
> resources are available for allication), and they die, is all these
> resources released in the server?

   Server-side resources are released when the connection between
the server and client is severed.  Only apps that stick around an
leak cause problems.  

   You can check the resource usage with:

http://www.xfree86.org/~mvojkovi/restest.c

   Be careful running it though.  It grabs the server and dumps
data to stdout, which means there's a deadlock situation if you
run it from within X without redirecting the output.  So either
run it remotely or redirect to a file "restest >& resout".


                        Mark.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to