You are not logged in.

#1 2015-09-17 14:26:25

Gooberpatrol66
Member
Registered: 2015-09-17
Posts: 6

Installing a very large package crashes my X session

This is weird. I'm trying to install https://aur.archlinux.org/packages/quartus-free/ but when the process gets to Extracting Sources the screen goes blank, I see a login prompt, when I login again all my programs are closed, and the computer is extremely laggy until I restart it.

Since the package is so big I've been expanding /tmp with
sudo mount -t tmpfs tmpfs /tmp -o size=15000M,mode=1777,remount

I have 140G of free disk space. Is something using up too much ram? The task manager reports nothing unusual until the crash happens. What's going on?

Offline

#2 2015-09-17 14:40:41

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Installing a very large package crashes my X session

Tmpfs uses RAM and swap, free disk space is irrelevant.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2015-09-17 15:28:48

Gooberpatrol66
Member
Registered: 2015-09-17
Posts: 6

Re: Installing a very large package crashes my X session

Yeah as I look more into this, https://bugs.launchpad.net/ubuntu/+sour … bug/159356 seems extremely relevant, though the system reports no high memory usage before the crash

Offline

#4 2015-10-12 15:08:49

Gooberpatrol66
Member
Registered: 2015-09-17
Posts: 6

Re: Installing a very large package crashes my X session

Alright so now i changed it to

sudo mount /tmp -o size=15000M,mode=1777,remount

so it will store it on the disk but it still crashes the system when it gets to Extracting package...

Offline

#5 2015-10-12 15:11:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Installing a very large package crashes my X session

So stop building in tmpfs and see what happens.

Offline

#6 2015-10-12 22:30:58

Gooberpatrol66
Member
Registered: 2015-09-17
Posts: 6

Re: Installing a very large package crashes my X session

Yeah that's what I did

Offline

#7 2015-10-12 23:22:29

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: Installing a very large package crashes my X session

Gooberpatrol66 wrote:

Yeah that's what I did

And it work?


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#8 2015-10-13 03:57:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Installing a very large package crashes my X session

Based on the command you posted, no, you didn't.

Offline

#9 2015-10-14 16:09:21

Gooberpatrol66
Member
Registered: 2015-09-17
Posts: 6

Re: Installing a very large package crashes my X session

Scimmia wrote:

Based on the command you posted, no, you didn't.

See

Gooberpatrol66 wrote:

Alright so now i changed it to

sudo mount /tmp -o size=15000M,mode=1777,remount

so it will store it on the disk but it still crashes the system when it gets to Extracting package...

I've verified in the file manager that it's downloading the package to the hard drive, so unless I'm doing something wrong...

Offline

#10 2015-10-14 16:16:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: Installing a very large package crashes my X session

That command doesn't specify a device, so it would just use fstab and/or defaults which is to have tmp as tmpfs.  So no you didn't stop building in tmpfs.

I'm also not sure how a file manager would tell you which device was being written to.

Rather than all this hard-way-around guessing, just stop messing with mount options and building in /tmp/ and be done with it.  Build somewhere in your home directory.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2015-10-14 16:37:27

Gooberpatrol66
Member
Registered: 2015-09-17
Posts: 6

Re: Installing a very large package crashes my X session

Trilby wrote:

Rather than all this hard-way-around guessing, just stop messing with mount options and building in /tmp/ and be done with it.  Build somewhere in your home directory.

How do I do that?

Offline

#12 2015-10-14 16:42:48

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,649
Website

Re: Installing a very large package crashes my X session

How do I do that?

Let me guess, you use yaourt or something without actually knowing what you're doing?

Read https://wiki.archlinux.org/index.php/Ar … Repository and https://wiki.archlinux.org/index.php/Makepkg


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB