[FreeNX-kNX] Cannot load long webpage in NX

Paul van der Vlis paul at vandervlis.nl
Tue Mar 27 10:04:02 UTC 2007


Fabian Franz schreef:
>>Hm
>>I have very similar problems. When I view graphics of any kind (pictures,
>>web 
>>pages with jpgs, gifs, flash, etc.), pdf files, I experience huge memory 
>>usage on my thin client. More specifically, for example, when viewing a
>>pdf 
>>file, with every page opened the memory of the thin client increases. If I
>>close the application (I use for viewing pdf files) the memory is freed.
>>The 
>>real program/process that uses that memory on the thin client is
>>Xorg/Xfree, 
>>it caches all this images in the thin client memory and releases them when
>>the program taht you use to view them is closed. 
> 
> 
> Yes, this is a known problem. I also think that the caching of images is 
> the same problem Paul had. Unfortunately I see no way of disabling it via 
> X11 command line :-(.
> 
> I guess it needs to be done in source, but it could hurt performance a bit ...

Which source do you mean?

>>May be this is the problem with your client, check how much memory he has
>>on 
>>his thin client not on the server. Or you can watch memory usage on the
>>thin 
>>client as this page is displayed.
> 
> 
> Yes, thats the same advice I would give. 

0050BF934EE8:/tmp/profile# free
              total         used         free       shared      buffers
  Mem:       192424        68896       123528            0        12024
 Swap:            0            0            0
Total:       192424        68896       123528
0050BF934EE8:/tmp/profile# free
              total         used         free       shared      buffers
  Mem:       192424        76164       116260            0        12024
 Swap:            0            0            0
Total:       192424        76164       116260
0050BF934EE8:/tmp/profile# free
              total         used         free       shared      buffers
  Mem:       192424        99320        93104            0        12024
 Swap:            0            0            0
Total:       192424        99320        93104
0050BF934EE8:/tmp/profile# free
              total         used         free       shared      buffers
  Mem:       192424       153196        39228            0        12024
 Swap:            0            0            0
Total:       192424       153196        39228
0050BF934EE8:/tmp/profile# free
              total         used         free       shared      buffers
  Mem:       192424       187580         4844            0        12024
 Swap:            0            0            0
Total:       192424       187580         4844
0050BF934EE8:/tmp/profile# free
              total         used         free       shared      buffers
  Mem:       192424       189860         2564            0        12008
 Swap:            0            0            0
Total:       192424       189860         2564
0050BF934EE8:/tmp/profile# free
              total         used         free       shared      buffers
  Mem:       192424       186616         5808            0        12008
 Swap:            0            0            0
Total:       192424       186616         5808

Then the client crashes.

> Disabling backing store on client might help with not image-related memory usage.

That's not a problem, so far I know.

With regards,
Paul van der Vlis.



-- 
http://www.vandervlis.nl/




More information about the FreeNX-kNX mailing list