xpra icon
Bug tracker and wiki

Opened 8 months ago

Closed 8 months ago

#2731 closed defect (duplicate)

xpra memory leak

Reported by: stdedos Owned by: Antoine Martin
Priority: minor Milestone: 4.0
Component: server Version: 3.0.x
Keywords: Cc:

Description

I am wondering if this would interest you

$ ps faux | grep xpra | cut -c "-${COLUMNS}"
userunix  1878  0.1  0.3 1970616 246812 ?      Sl   Μάρ17  44:46          \_ python3 /usr/bin/xpra shadow :0
userunix 31764  0.0  0.0   4504   788 ?        Ss   10:36   0:00  |       \_ sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":2";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":2";elif [ -x /usr/local/bin/xpra ]; then /
userunix 31781  0.0  0.0 276660 23164 ?        Sl   10:36   0:00  |           \_ /usr/bin/python3 /usr/bin/xpra _proxy :2
userunix 31977  0.0  0.0   4504   776 ?        Ss   10:36   0:00  |       \_ sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then
userunix 31995  0.0  0.0 276660 23064 ?        Sl   10:36   0:01  |           \_ /usr/bin/python3 /usr/bin/xpra _proxy :20
userunix 32326  0.0  0.0   4504   696 ?        Ss   10:36   0:00          \_ sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":200";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":200";elif [ -x /usr/local/bin/xpra ]; th
userunix 32344  0.0  0.0 276664 23352 ?        Sl   10:36   0:00              \_ /usr/bin/python3 /usr/bin/xpra _proxy :200
userunix 30050  0.0  0.0  15456  1020 pts/34   S+   11:06   0:00      \_ grep --color=auto xpra
userunix  2485  0.2  0.8 2187320 573536 ?      Sl   Απρ06  38:19 /usr/bin/python3 /usr/bin/xpra upgrade :200
userunix  2838  0.0  0.8 1833336 557280 ?      Sl   Απρ06   9:00 /usr/bin/python3 /usr/bin/xpra upgrade :50
userunix 14150  0.0  0.0   4504   788 ?        Ss   Απρ06   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":200";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":200";elif [ -x /usr/local/bin/xpra ]; then /usr/l
userunix 14192  0.0  0.0 276660 17020 ?        Sl   Απρ06   0:17  \_ /usr/bin/python3 /usr/bin/xpra _proxy :200
userunix 24649  0.0  0.0   4504   796 ?        Ss   Απρ07   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":200";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":200";elif [ -x /usr/local/bin/xpra ]; then /usr/l
userunix 24667  0.0  0.0 276664 16984 ?        Sl   Απρ07   0:10  \_ /usr/bin/python3 /usr/bin/xpra _proxy :200
userunix 13431  0.0  0.0   4504   852 ?        Ss   Απρ07   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":50";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":50";elif [ -x /usr/local/bin/xpra ]; then /usr/loc
userunix 13454  0.0  0.0 276664 16920 ?        Sl   Απρ07   0:00  \_ /usr/bin/python3 /usr/bin/xpra _proxy :50
userunix  7263  1.6  2.8 3592856 1879140 ?     Sl   Απρ08 212:50 /usr/bin/python3 /usr/bin/xpra start --use-display=yes :20
userunix  7402  0.0  0.0 324412  5792 ?        Sl   Απρ08   0:00  \_ pulseaudio --start -n --daemonize=false --system=false --exit-idle-time=-1 --load=module-suspend-on-idle --load=module-null-sink sink_name="Xpra-Speaker" sink_properties=device.description="Xpra\ Speaker" --load
userunix 12705  0.0  0.0   4504   852 ?        Ss   Απρ08   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then /usr/loc
userunix 12723  0.0  0.0 276676 16872 ?        Sl   Απρ08   0:38  \_ /usr/bin/python3 /usr/bin/xpra _proxy :20
userunix 15185  0.0  0.0   4504   848 ?        Ss   Απρ08   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":200";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":200";elif [ -x /usr/local/bin/xpra ]; then /usr/l
userunix 15213  0.0  0.0 276664 16944 ?        Sl   Απρ08   0:51  \_ /usr/bin/python3 /usr/bin/xpra _proxy :200
userunix  5615  0.0  0.0   4504   704 ?        Ss   Απρ09   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then /usr/loc
userunix  5649  0.0  0.0 276664 16988 ?        Sl   Απρ09   1:04  \_ /usr/bin/python3 /usr/bin/xpra _proxy :20
userunix 25179  0.0  0.0   4504   704 ?        Ss   Απρ09   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":200";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":200";elif [ -x /usr/local/bin/xpra ]; then /usr/l
userunix 25213  0.0  0.0 276664 17096 ?        Sl   Απρ09   0:12  \_ /usr/bin/python3 /usr/bin/xpra _proxy :200
userunix  2702  0.0  0.0   4504   704 ?        Ss   Απρ14   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then /usr/loc
userunix  2729  0.0  0.0 276660 17536 ?        Sl   Απρ14   0:28  \_ /usr/bin/python3 /usr/bin/xpra _proxy :20
userunix  6663  0.0  0.0   4504   840 ?        Ss   Απρ14   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then /usr/loc
userunix  6680  0.0  0.0 276660 17812 ?        Sl   Απρ14   0:05  \_ /usr/bin/python3 /usr/bin/xpra _proxy :20
userunix  4333  0.5  0.8 2016632 530588 ?      Sl   Απρ14  21:49 /usr/bin/python3 /usr/bin/xpra upgrade :2
userunix  4832  0.0  0.0   4504   788 ?        Ss   Απρ14   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":2";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":2";elif [ -x /usr/local/bin/xpra ]; then /usr/local
userunix  4859  0.0  0.0 276664 17744 ?        Sl   Απρ14   0:04  \_ /usr/bin/python3 /usr/bin/xpra _proxy :2
userunix 19523  0.0  0.0   4504   680 ?        Ss   Απρ15   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":2";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":2";elif [ -x /usr/local/bin/xpra ]; then /usr/local
userunix 19555  0.0  0.0 276660 17792 ?        Sl   Απρ15   0:20  \_ /usr/bin/python3 /usr/bin/xpra _proxy :2
userunix 19658  0.0  0.0   4504   740 ?        Ss   Απρ15   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then /usr/loc
userunix 19692  0.0  0.0 276664 17676 ?        Sl   Απρ15   1:26  \_ /usr/bin/python3 /usr/bin/xpra _proxy :20
root     19321  0.0  0.0 325324 27052 ?        Ssl  Απρ15   0:00 /usr/bin/python3 /usr/bin/xpra proxy :14500 --daemon=no --bind-tcp=0.0.0.0:14500 --tcp-auth=sys --ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on --bind=/run/xpra/system --auth=peercred --socket-dirs=/run/xpra --socket-per
userunix  7717  0.0  0.0   4504   792 ?        Ss   Απρ16   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":2";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":2";elif [ -x /usr/local/bin/xpra ]; then /usr/local
userunix  7754  0.0  0.0 276664 18200 ?        Sl   Απρ16   0:04  \_ /usr/bin/python3 /usr/bin/xpra _proxy :2
userunix 26038  0.0  0.0   4504   768 ?        Ss   Απρ16   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then /usr/loc
userunix 26054  0.0  0.0 276660 18260 ?        Sl   Απρ16   0:06  \_ /usr/bin/python3 /usr/bin/xpra _proxy :20
userunix 14133  0.0  0.0   4504   780 ?        Ss   Απρ16   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":20";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":20";elif [ -x /usr/local/bin/xpra ]; then /usr/loc
userunix 14161  0.1  0.0 276664 19136 ?        Sl   Απρ16   1:48  \_ /usr/bin/python3 /usr/bin/xpra _proxy :20
userunix 14356  0.0  0.0   4504   756 ?        Ss   Απρ16   0:00 sh -c xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy ":2";elif which "xpra" > /dev/null 2>&1; then xpra _proxy ":2";elif [ -x /usr/local/bin/xpra ]; then /usr/local
userunix 14373  0.0  0.0 276664 19048 ?        Sl   Απρ16   0:25  \_ /usr/bin/python3 /usr/bin/xpra _proxy :2
$ xpra list
Found the following xpra sessions:
/run/user/1000/xpra:
	LIVE session at :2
	LIVE session at :20
	LIVE session at :200
	LIVE session at :50
/run/xpra:
	LIVE session at :2
	LIVE session at :20
	LIVE session at :200
	LIVE session at :50

Total xpra memory is ~5.0G, on v3.0.9-r26132 (but I don't know what those displays' individual versions are)

Change History (1)

comment:1 Changed 8 months ago by Antoine Martin

Resolution: duplicate
Status: newclosed

Looks like a duplicate of #2730

Note: See TracTickets for help on using tickets.