Thank you for your quick response, looks like we need to update nx_libs
/tmp/x2go-username have grown to: 2.7G /tmp/.x2go-aharper 1.6G /tmp/.x2go-iobrien We are currently running: nx-libs.x86_64 3.5.99.25-2.el7 @epel7-x86_64-20210128 Sincerely, Sherry Leithner Computer Systems Specialist Petroleum Abstracts At The University of Tulsa 918-631-3011 Cell: 918-691-1738 ________________________________ From: x2go-user <x2go-user-boun...@lists.x2go.org> on behalf of x2go-user-requ...@lists.x2go.org <x2go-user-requ...@lists.x2go.org> Sent: Friday, January 28, 2022 5:00 AM To: x2go-user@lists.x2go.org <x2go-user@lists.x2go.org> Subject: x2go-user Digest, Vol 93, Issue 15 Send x2go-user mailing list submissions to x2go-user@lists.x2go.org To subscribe or unsubscribe via the World Wide Web, visit https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.x2go.org%2Flistinfo%2Fx2go-user&data=04%7C01%7Csherry.leithner%40energyabstracts.com%7Cf732bbe315b1419ffbcb08d9e24d5f1e%7Cc598e59c2e194342a52ba055a26296c6%7C0%7C0%7C637789644957631538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jQcQVFhVXjaevqzMPiVccRW9O2Kdi2eg0AgUkIjAluI%3D&reserved=0 or, via email, send a message with subject or body 'help' to x2go-user-requ...@lists.x2go.org You can reach the person managing the list at x2go-user-ow...@lists.x2go.org When replying, please edit your Subject line so it is more specific than "Re: Contents of x2go-user digest..." Today's Topics: 1. Change TMPDIR from /tmp to /app (Sherry Leithner) 2. Re: Change TMPDIR from /tmp to /app (Ulrich Sibiller) ---------------------------------------------------------------------- Message: 1 Date: Thu, 27 Jan 2022 14:17:01 +0000 From: Sherry Leithner <sherry.leith...@energyabstracts.com> To: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: [X2Go-User] Change TMPDIR from /tmp to /app Message-ID: <dm6pr08mb3948c388a3ef20424403d884e8...@dm6pr08mb3948.namprd08.prod.outlook.com> Content-Type: text/plain; charset="iso-8859-1" x2go creates large files in /tmp/.x2go-username when a session is saved. This is causing us difficulty because /tmp is filling up and users cannot log in. Our /tmp directory is too small and I don't have access to increase it currently. We need to change the default tmp directory from /tmp to /app. I have set TMPDIR in my .profile, /etc/profile and also in /etc/x2go/Xsession to /app .profile export TMPDIR=/app/ Xsession variables initialize variables for use by all session scripts OPTIONFILE=/etc/x2go/Xsession.options SYSRESOURCES=/etc/x2go/Xresources USRRESOURCES=$HOME/.Xresources-x2go SYSSESSIONDIR=/etc/x2go/Xsession.d USERXSESSION=$HOME/.xsession-x2go USERXSESSIONRC=$HOME/.xsessionrc-x2go ALTUSERXSESSION=$HOME/.Xsession-x2go ERRFILE="${HOME}/.xsession-x2go-${cur_hostname}-errors" TMPDIR=/app The session still creates the tmp files in /tmp The x2go process which is running: leithner 16137 1 0 11:23 ? 00:00:00 sshfs -o idmap=user,uid=1007,gid=1001,default_permissions,ServerAliveInterval=300,IdentityFile=/home/leithner/.x2go/ssh/key.p14092,UserKnownHostsFile=/home/leithner/.x2go/ssh/key.p14092.ident SLeithne@127.0.0.1:/cygdrive/C/Users/SLeithne/X2GO~1/S-2E61~1/spool /tmp/.x2go-leithner/spool/C-leithner-50-1643045018_stDXFCE_dp32 -p 50660 leithner@entrada:/app$ echo $TMPDIR /app Where should I be changing this variable? Can it be changed? Thank you for any help. Sincerely, Sherry Leithner Computer Systems Specialist Petroleum Abstracts At The University of Tulsa 918-631-3011 Cell: 918-691-1738 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.x2go.org%2Fpipermail%2Fx2go-user%2Fattachments%2F20220127%2Fa7f18ed9%2Fattachment-0001.htm&data=04%7C01%7Csherry.leithner%40energyabstracts.com%7Cf732bbe315b1419ffbcb08d9e24d5f1e%7Cc598e59c2e194342a52ba055a26296c6%7C0%7C0%7C637789644957631538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=L3UKn9mY2WoYkrdGnVGR9%2BS2QoKQE%2BFvn7HXbmu2vtI%3D&reserved=0> ------------------------------ Message: 2 Date: Thu, 27 Jan 2022 15:40:17 +0100 From: Ulrich Sibiller <ul...@gmx.de> To: sherry.leith...@energyabstracts.com Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Change TMPDIR from /tmp to /app Message-ID: <CANVnVYKPtqgBixM2eZghy9-ZO0wm0TRfabkm7vF4=-q8zw4...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" On Thu, Jan 27, 2022 at 3:17 PM Sherry Leithner <sherry.leith...@energyabstracts.com> wrote: > > x2go creates large files in /tmp/.x2go-username when a session is saved. This > is causing us difficulty because /tmp is filling up and users cannot log in. > Our /tmp directory is too small and I don't have access to increase it > currently. We need to change the default tmp directory from /tmp to /app. What do you mean by "large"? I currently have 25 sessions lying around in /tmp and they are 14MB in total. The largest one is 6.4MB. Is that really a problem? We had a bug a while ago where /tmp/.x2go-username/C-*/session.log grew to some GB (see https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-archive.com%2Fx2go-user%40lists.x2go.org%2Fmsg04107.html&data=04%7C01%7Csherry.leithner%40energyabstracts.com%7Cf732bbe315b1419ffbcb08d9e24d5f1e%7Cc598e59c2e194342a52ba055a26296c6%7C0%7C0%7C637789644957631538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=CsWacaCw7DvwP%2Bf2rCYhfMQiTeTPD%2Bru%2FrmA3vCp7XI%3D&reserved=0) but this is fixed in the current release nx-libs 3.5.99.26. Uli > > I have set TMPDIR in my .profile, /etc/profile and also in > /etc/x2go/Xsession to /app > > .profile > export TMPDIR=/app/ > > Xsession variables > > initialize variables for use by all session scripts > OPTIONFILE=/etc/x2go/Xsession.options > > SYSRESOURCES=/etc/x2go/Xresources > > USRRESOURCES=$HOME/.Xresources-x2go > > SYSSESSIONDIR=/etc/x2go/Xsession.d > > USERXSESSION=$HOME/.xsession-x2go > > USERXSESSIONRC=$HOME/.xsessionrc-x2go > > ALTUSERXSESSION=$HOME/.Xsession-x2go > > ERRFILE="${HOME}/.xsession-x2go-${cur_hostname}-errors" > > TMPDIR=/app > > The session still creates the tmp files in /tmp > > The x2go process which is running: > > leithner 16137 1 0 11:23 ? 00:00:00 sshfs -o > idmap=user,uid=1007,gid=1001,default_permissions,ServerAliveInterval=300,IdentityFile=/home/leithner/.x2go/ssh/key.p14092,UserKnownHostsFile=/home/leithner/.x2go/ssh/key.p14092.ident > SLeithne@127.0.0.1:/cygdrive/C/Users/SLeithne/X2GO~1/S-2E61~1/spool > /tmp/.x2go-leithner/spool/C-leithner-50-1643045018_stDXFCE_dp32 -p 50660 > > leithner@entrada:/app$ echo $TMPDIR > /app > > Where should I be changing this variable? Can it be changed? > > Thank you for any help. > > Sincerely, > > Sherry Leithner > Computer Systems Specialist > Petroleum Abstracts > At The University of Tulsa > 918-631-3011 > Cell: 918-691-1738 > _______________________________________________ > x2go-user mailing list > x2go-user@lists.x2go.org > https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.x2go.org%2Flistinfo%2Fx2go-user&data=04%7C01%7Csherry.leithner%40energyabstracts.com%7Cf732bbe315b1419ffbcb08d9e24d5f1e%7Cc598e59c2e194342a52ba055a26296c6%7C0%7C0%7C637789644957631538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jQcQVFhVXjaevqzMPiVccRW9O2Kdi2eg0AgUkIjAluI%3D&reserved=0 ------------------------------ Subject: Digest Footer _______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.x2go.org%2Flistinfo%2Fx2go-user&data=04%7C01%7Csherry.leithner%40energyabstracts.com%7Cf732bbe315b1419ffbcb08d9e24d5f1e%7Cc598e59c2e194342a52ba055a26296c6%7C0%7C0%7C637789644957631538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jQcQVFhVXjaevqzMPiVccRW9O2Kdi2eg0AgUkIjAluI%3D&reserved=0 ------------------------------ End of x2go-user Digest, Vol 93, Issue 15 *****************************************
_______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user