/usr/bin/python2 /bin/xpra --version
xpra v3.1.2-r25

uname -a
Linux dev-server 3.10.0-1160.45.1.el7.x86_64 #1 SMP Fri Sep 24 10:17:16 UTC 
2021 x86_64 x86_64 x86_64 GNU/Linux

Red Hat Enterprise Linux Server 7.9 (Maipo)

I am testing the simple xclock application and find that with each connection 
to the server, it uses about 400MB of RAM
Here is the CLIENT command:
 xpra start ssh://myuser:mypassw...@myserver.com ^
  --encoding=jpeg --speaker=disabled  --microphone=disabled 
--env=XPRA_SCROLL_ENCODING=0 --use-display=auto ^
  --env=remoteuser=%username% --html=no --dpi=120 --idle-timeout=3600 
--exit-with-client=yes ^
  --exit-with-children=yes --start-child=xclock--opengl=no --quality=80 
--lock=yes

What I've tried so far:
 1. Disabling microphone and audio
 2. Using encoding=jpeg
 3. Edit /etc/xpra/xorg.conf to use a smaller value of VideoRam = 256000 
instead of the default value of 768000

 4. In addition, the manual document says: "The xpra server allocates an 
over-large framebuffer when using Xvfb; this wastes memory."
On our server, it seems that Xpra is using Xdummy (another guy installed this).
I don't know how to disable Xvfb and not sure if should I disable it or not.

In conclusion, my question is: How can I reduce the amount of RAM that server 
uses for each connection. Because we have a lot of users need to connect to the 
server at the same time.

Thank you!

****************************************************************************************************************************************************************************
This e-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return e-mail. Internet 
communications cannot be guaranteed to be timely, secure, error or virus-free. 
The sender does not accept liability for any errors or omissions.

Tính riêng tư của thư điện tử này có thể được bảo vệ về mặt pháp lý. Nếu quý vị 
không phải là người chủ định được nhận và được sử dụng, đề nghị không sao chép, 
chuyển tiếp, tiết lộ hoặc sử dụng bất kỳ nội dung hay file đính kèm nào trong 
thư điện tử này. Nếu quý vị nhận được thư điện tử này do lỗi trong quá trình 
gửi, đề nghị xóa thư đó và tất cả các bản sao trong hệ thống của quý vị, đồng 
thời thông báo cho người gửi thư ngay lập tức. Thông tin liên lạc qua Internet 
không thể đảm bảo kịp thời, an toàn, không bị lỗi hay không có virus, do vậy 
người gửi không chịu trách nhiệm đối với bất kỳ lỗi hoặc thiếu sót nào.
****************************************************************************************************************************************************************************
****************************************************************************************************************************************************************************
This e-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return e-mail. Internet 
communications cannot be guaranteed to be timely, secure, error or virus-free. 
The sender does not accept liability for any errors or omissions.

Tính riêng tư của thư điện tử này có thể được bảo vệ về mặt pháp lý. Nếu quý vị 
không phải là người chủ định được nhận và được sử dụng, đề nghị không sao chép, 
chuyển tiếp, tiết lộ hoặc sử dụng bất kỳ nội dung hay file đính kèm nào trong 
thư điện tử này. Nếu quý vị nhận được thư điện tử này do lỗi trong quá trình 
gửi, đề nghị xóa thư đó và tất cả các bản sao trong hệ thống của quý vị, đồng 
thời thông báo cho người gửi thư ngay lập tức. Thông tin liên lạc qua Internet 
không thể đảm bảo kịp thời, an toàn, không bị lỗi hay không có virus, do vậy 
người gửi không chịu trách nhiệm đối với bất kỳ lỗi hoặc thiếu sót nào.
****************************************************************************************************************************************************************************
_______________________________________________
shifter-users mailing list
shifter-users@lists.devloop.org.uk
https://lists.devloop.org.uk/mailman/listinfo/shifter-users

Reply via email to