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

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

 



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: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