RE: [Thinstation-developer] Re: [XFree86] Out of Memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

ok, using restest I get the following with ica, when viewing a powerpoint
presentation, with a heap of bitmap pictures.

X-Resource extension version 1.0
There are 5 clients
Client 0 (base = 0x200000, mask = 0x1fffff): 7 resource types
   WINDOW: 3
   GC: 5
   FONT: 2
   CURSOR: 2
   COLORMAP ENTRY: 1
   Unregistered resource 22: 1
   Unregistered resource 32: 1
Client 1 (base = 0x400000, mask = 0x1fffff): 10 resource types
   WINDOW: 100
   PIXMAP: 71  (750616 bytes)
   GC: 7
   FONT: 5
   CURSOR: 4
   COLORMAP ENTRY: 1
   OTHER CLIENT: 3
   PASSIVE GRAB: 48
   Unregistered resource 21: 2
   Unregistered resource 32: 1
Client 2 (base = 0x600000, mask = 0x1fffff): 3 resource types
   PIXMAP: 1  (512 bytes)
   COLORMAP ENTRY: 1
   Unregistered resource 32: 1
Client 3 (base = 0x800000, mask = 0x1fffff): 9 resource types
   WINDOW: 4
   PIXMAP: 25  (356372 bytes)
   GC: 37
   FONT: 2
   CURSOR: 3
   COLORMAP ENTRY: 1
   OTHER CLIENT: 1
   Unregistered resource 22: 1
   Unregistered resource 32: 1
Client 4 (base = 0xa00000, mask = 0x1fffff): 1 resource types
   GC: 1

I'll just show the pixmap line as the power point show runs.

   PIXMAP: 33  (1894900 bytes)
   PIXMAP: 33  (5425556 bytes)
   PIXMAP: 35  (6385684 bytes)
   PIXMAP: 36  (7345684 bytes)
   PIXMAP: 35  (7345556 bytes)
   PIXMAP: 35  (7345556 bytes)
   PIXMAP: 35  (7345556 bytes)
   PIXMAP: 34  (7345428 bytes)
   PIXMAP: 35  (7345556 bytes)
   PIXMAP: 35  (7345556 bytes)
   PIXMAP: 36  (7345684 bytes)
   PIXMAP: 36  (7345684 bytes)
   PIXMAP: 36  (7345684 bytes)
   PIXMAP: 36  (7345684 bytes)
   PIXMAP: 39  (7346068 bytes)
   PIXMAP: 41  (6452660 bytes)
   PIXMAP: 37  (6385940 bytes)
   PIXMAP: 25  (356372 bytes)

doing a PS shows the memory of the XServer Process shows

8456
11276
14096
14108
13168
8456

I tried with rdesktop and get something similar.

Ideas?

Cheers

Miles

-----Original Message-----
From: Mark Vojkovich [mailto:mvojkovi@xxxxxxxxxxx]
Sent: Wednesday, 3 September 2003 12:48 p.m.
To: 'XFree86@xxxxxxxxxxx'
Cc: bingjie bingjie; thinstation-general@xxxxxxxxxxxxxxxxxxxxx;
Thinstation-Developer (E-mail); 'Mike Eriksen'
Subject: [Thinstation-developer] Re: [XFree86] Out of Memory



  It really doesn't sound like this is a server problem, rather
the client is allocating BIG pixmaps or something like that.  You
can verify that by running restest:

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

 Be careful!  If you run that app you'll want to run it by redirecting
the output to a file "restest >& outfile" because it grabs the server
and can introduce a deadlock if the terminal is printing the output
while restest is running.  Restest prints out the number of bytes
worth of pixmap memory held on behalf of each client.  Restest needs
XFree86 4.3 or newer to run.


			Mark.


On Wed, 3 Sep 2003, Miles Roper wrote:

> I'm curious how you got it to work too :o)
> 
> Yep, that's the Xfree memory problem, this has been mentioned before on
> mailing list.  no idea why this occurs.  X is basically eating up all the
> memory and then crashing when it runs out.  No known solution as yet, I've
> posted to the X mailing list, no answer :o(  This one bug I would really
> like to get sorted but don't have any solutions, I've spent several hours
> searching on net and trolling through mailing lists, any help from anyone
> would be much appreciated.
> 
> where you using ICA, rdesktop or something else when playing the movie?
> 
> I've attached the orginally email I got no reply to below...
> 
> Hi,
> 
> I'm having a really weird XFree86 problem.  I'm using XFree 4.3 and
running
> on it Citrix ICA Version 7.0
> 
> The ICA client connects to a windows Citrix server.
> 
> If I open up a document in word through the ICAClient with a bitmap
picture
> the memory requirements of XFree86 seem to increase dramatically, but the
> wfica process stays the same.  If I close the file the memory returns to
> normal.
> 
> ie before document:
>                      Memory
>  1952 root       3612 S   XFree86 :1 -depth 16
> 
> after document:
>                       Memory
>  1952 root       4836 S   XFree86 :1
> 
> if I open up 12 documents the machine runs out of memory and closes down
the
> X server.  However, if I re-establish the connection to the server, which
> restores the 5 documents, I can open up another 5 before the client runs
out
> of memory again, and so on and so it.
> 
> It only seems to be with certain documents as others seem to open up fine,
> the ones that seem effected are ones with a scanned in signature which I
> suspect is a BMP image embedded in the document.
> 
> I've tried limiting the XFree86 server by using the following switches but
> it doesn't make any difference:
> 
> XFree86 :1 -depth 16 -ld 4096 -ls 1024
> 
> The client is 4.3.0.1, kernel version 2.4.20, ICA Client Version 7.0
> Server is Metraframe XP Version 1, Features release 3, Service Pack 3
> 
> Ok, I'm stumped any help would be great.
> 
> Cheers
> 
> Miles
> 
> 
> >TS 1.0 RC2
> >When I playing Movie online the TS shutdown & give the
> >message:
> >syslog.err klogd:Out of memory:killed process 678(3)
> 
> >What's wrong with TS?
> 
> >By the way,thanks Miles Roper.
> >The TS sound problem has benn fixed.
> 
> >thanks.
> _______________________________________________
> XFree86 mailing list
> XFree86@xxxxxxxxxxx
> http://XFree86.Org/mailman/listinfo/xfree86
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Thinstation-developer mailing list
Thinstation-developer@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/thinstation-developer

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux