RE: [Thinstation-developer] Re: [XFree86] Out of Memory
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 = 0x20, mask = 0x1f): 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 = 0x40, mask = 0x1f): 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 = 0x60, mask = 0x1f): 3 resource types PIXMAP: 1 (512 bytes) COLORMAP ENTRY: 1 Unregistered resource 32: 1 Client 3 (base = 0x80, mask = 0x1f): 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 = 0xa0, mask = 0x1f): 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:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 12:48 p.m. To: '[EMAIL PROTECTED]' Cc: bingjie bingjie; [EMAIL PROTECTED]; 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
RE: [Thinstation-developer] Re: [XFree86] Out of Memory
is there anyway to limit or set a maximum to the amount of pximap memory that's allocated? -Original Message- From: Mark Vojkovich [mailto:[EMAIL PROTECTED] Sent: Monday, 8 September 2003 12:51 p.m. To: Miles Roper Cc: bingjie bingjie; [EMAIL PROTECTED]; Thinstation-Developer (E-mail); 'Mike Eriksen'; '[EMAIL PROTECTED]' Subject: RE: [Thinstation-developer] Re: [XFree86] Out of Memory On Mon, 8 Sep 2003, Miles Roper wrote: 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? That looks like normal behavior. The client allocated 7 Meg worth of pixmaps and the server footprint grows accordingly. Mark. ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
RE: [Thinstation-developer] Re: [XFree86] Out of Memory
On Mon, 8 Sep 2003, Miles Roper wrote: is there anyway to limit or set a maximum to the amount of pximap memory that's allocated? In the server? No. I don't suppose something like that would be difficult to hack, but apps will most likely not be able to deal with failing pixmap allocations. Mark. -Original Message- From: Mark Vojkovich [mailto:[EMAIL PROTECTED] Sent: Monday, 8 September 2003 12:51 p.m. To: Miles Roper Cc: bingjie bingjie; [EMAIL PROTECTED]; Thinstation-Developer (E-mail); 'Mike Eriksen'; '[EMAIL PROTECTED]' Subject: RE: [Thinstation-developer] Re: [XFree86] Out of Memory On Mon, 8 Sep 2003, Miles Roper wrote: 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? That looks like normal behavior. The client allocated 7 Meg worth of pixmaps and the server footprint grows accordingly. Mark. ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [Thinstation-developer] Re: [XFree86] Out of Memory
You've removed all the other Load lines from your Module section and just left the vnc.so there. The 'Load vnc' line should be added to your EXISTING!! Module Section not completely replaced. That's your problem. And as for the crashing, you've not read the release notes properly. The .101 release requires you to put back the original video driver from XFree86 4.3.0. Alan. On Fri, Sep 05, 2003 at 05:48:25PM +1200, Miles Roper wrote: Hi Alan, Could you have a look at this, I've been trying to work out a problem with Mark, but ran into a snitch with xf4vnc and would like your feedback. when I try a xdpyinfo it doesn't show the X_Resouce extenstion when I do a xdpyinfo -ext all it says XFree-VidModeExtention extention not supported by server SHAPE extention not supported by server SYNC extention not supported by server XFree86-DGA extention not supported by server XFree86-Misc extention not supported by server DOUBLE-DUFFER extention not supported by server RECORD extention not supported by server XINERAMA extention not supported by server now, I'm loading the vnc.so module which I've just found out is the reason all the above extenstions aren't working. When I remove it they work. I've just tried to upgrade to xf4vnc 4.3.0.101 to see if this fixes any problems but now it doesn't work at all, here is my XFree86.log Also, a couple of people have been saying how slow Xfree seems to them, could it be because the above extenstions aren't supported? Cheers Miles -Original Message- From: Mark Vojkovich [mailto:[EMAIL PROTECTED] Sent: Friday, 5 September 2003 04:49 p.m. To: Miles Roper Cc: '[EMAIL PROTECTED]'; bingjie bingjie; [EMAIL PROTECTED]; Thinstation-Developer (E-mail) Subject: RE: [Thinstation-developer] Re: [XFree86] Out of Memory On Fri, 5 Sep 2003, Miles Roper wrote: is this built as part of the XFree Binary, or is it in a seperate lib.a file, if so which one as I need to include this into my build. It looks like it's in the libextmod.a module. Perhaps you're just not loading that module? Mark. ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
RE: [Thinstation-developer] Re: [XFree86] Out of Memory
is this built as part of the XFree Binary, or is it in a seperate lib.a file, if so which one as I need to include this into my build. -Original Message- From: Mark Vojkovich [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 September 2003 05:56 a.m. To: Miles Roper Cc: '[EMAIL PROTECTED]'; bingjie bingjie; [EMAIL PROTECTED]; Thinstation-Developer (E-mail); 'Mike Eriksen' Subject: RE: [Thinstation-developer] Re: [XFree86] Out of Memory On Wed, 3 Sep 2003, Miles Roper wrote: restest XResQueryExtension failed If X-Resource doesn't show up in the list of extensions that xdpyinfo prints out, your server doesn't have support for the X Resource extension built in. I believe XFree86 4.3 and newer build this by default (just make World without modifying anything). Mark. ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
RE: [Thinstation-developer] Re: [XFree86] Out of Memory
On Fri, 5 Sep 2003, Miles Roper wrote: is this built as part of the XFree Binary, or is it in a seperate lib.a file, if so which one as I need to include this into my build. It looks like it's in the libextmod.a module. Perhaps you're just not loading that module? Mark. ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
RE: [Thinstation-developer] Re: [XFree86] Out of Memory
On Wed, 3 Sep 2003, Miles Roper wrote: restest XResQueryExtension failed If X-Resource doesn't show up in the list of extensions that xdpyinfo prints out, your server doesn't have support for the X Resource extension built in. I believe XFree86 4.3 and newer build this by default (just make World without modifying anything). Mark. ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
[XFree86] Out of Memory
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 [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
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 [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86 ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
RE: [Thinstation-developer] Re: [XFree86] Out of Memory
Hi Mark, Tried running this and I get the below restest log sh: Syntax error bad fd number restest log cating the log file XResQueryExtension failed restest XResQueryExtension failed have compiled and included the libXRes.so.1.0 in lib on the machine I'm running it on, its linked to libXRes.so.1 and libXRes.so I haven't replaced XFree86 with the new one I compiled including the #define SharedLibXRes YES, I just copied the library into lib have built x with #define BuildDocs NO #define BuildDebug NO #define CcCmd gcc -B/mnt/hdc/thinstation_src/glibc-2.1.3/lib -Wl,-rpath-link,/mnt/hdc/thinstation_src/glibc-2.1.3/lib -Os -mcpu=i586 -march=i386 #define DefaultGcc2i386Opt -Os -fno-strength-reduce #define HasPam YES #define TouchScreen NO #define XVirtualFramebufferServer NO #define XprtServer NO #define BuildFonts NO #define HasCookieMaker NO #define HasGlide2 NO #define HasGlide3 NO #define HasMMXSupport NO #define Has3DNowSupport NO #define JoystickSupport NO #define SharedLibXRes YES -Original Message- From: Mark Vojkovich [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 12:48 p.m. To: '[EMAIL PROTECTED]' Cc: bingjie bingjie; [EMAIL PROTECTED]; 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/thinstation-developer ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86