Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Wednesday, February 1, 2017

#ubuntu channel featuring Pici, rifter, Guest30671, kang0, The_Myth, bot_, and 17 others.

EriC^^ 2017-02-01 05:45:18
erm3nda: :)
erm3nda 2017-02-01 05:45:25
MWM it's not just under the Login box? as a text link?
MWM 2017-02-01 05:46:17
Only my user is accessible. Login box and password box reboot and shutdown are the only options
ikevin 2017-02-01 05:46:53
MWM, try with an empty home
erm3nda 2017-02-01 05:47:15
MWM https://ubuntuforums.org/showthread.php?t=1238605
erm3nda 2017-02-01 05:47:16
Kuser
erm3nda 2017-02-01 05:47:26
it is that channel good for Kubuntu users? :-X
MWM 2017-02-01 05:47:55
thanks. looks like I will have to set up a guest account! :)
erm3nda 2017-02-01 05:47:59
yes
veysiubuntu 2017-02-01 05:48:54
hi
EriC^^ 2017-02-01 05:50:58
MWM: try "grep -iHR handbrake /etc"
MWM 2017-02-01 05:53:17
grep -iHR handbrake /etc returns no such file or directory
EriC^^ 2017-02-01 05:54:25
MWM: what about "grep -iHR handbrake ~/"
MWM 2017-02-01 05:55:21
oh damnit anyway. adding the guest account is messing up my ability to access the headless machine remotely
MWM 2017-02-01 05:55:46
nm. got it
MWM 2017-02-01 05:57:25
grep -iHR handbrake ~/ is causing the terminal to hang
Guest30671 2017-02-01 05:59:05
hello, does anyone know if I can reach ubuntu system files (var, etc) from another ubuntu installation on same PC? :)
ph88 2017-02-01 05:59:12
i try to remove all files in subdirectories that are not of a certain extension, but rm is not taking it saying "missing operand" when i try to use pipe like this: find . -not -name "*.vhdl" -type f | rm
Guest30671 2017-02-01 05:59:49
did you try adding rm -r ? maybe that helps?
rifter 2017-02-01 06:00:07
Guest30671, yes you can reach them if you can mount the filesystem they are on
Guest30671 2017-02-01 06:01:05
so I need to find out where it is located.. ok I can google that thanks :)
rifter 2017-02-01 06:01:14
ph88, yeah you need to use -r to do subdirectories. I would include -v so you can see what you just nuked
rifter 2017-02-01 06:01:37
Guest30671, well it's not hard to find where they are
Pici 2017-02-01 06:01:44
ph88: don't pipe the output from find to rm, either use find's -delete, or look at using xargs.
MWM 2017-02-01 06:01:49
rm -R for subdirectories
Pici 2017-02-01 06:01:59
ph88: personally the -delete argument is the easiest way of doing this.
ppf 2017-02-01 06:02:04
ph88: find -delete
MWM 2017-02-01 06:02:21
I am gonna have to move on for today. Ill stop back in if I cant get this one figured out . THanks for helping guys :)
rifter 2017-02-01 06:03:21
Guest30671, if you do dmesg | grep -E "sd[a-z]"
rifter 2017-02-01 06:03:31
you'll see all the disks
rifter 2017-02-01 06:04:28
Guest30671, any of those that is a hard disk you can do for example: sfdisk -l /dev/sda
rifter 2017-02-01 06:04:40
Guest30671, that will show you the partitions on it
ppf 2017-02-01 06:04:54
just sfdik -l will suffice
rifter 2017-02-01 06:05:04
Pici, I agree
Guest30671 2017-02-01 06:05:06
okay thanks a lot :) I will check it
Guest30671 2017-02-01 06:06:09
okay that's great I found them all thanks a lot :)
domdagen 2017-02-01 06:14:01
exit
kang0 2017-02-01 06:16:44
(kang0) What's difference between bootable and non bootable os
bot_ 2017-02-01 06:20:55
sss
bigpic 2017-02-01 06:22:11
hey guys.. I'm trying to increase the Max open files on a webserver box.. I've read a ton of howtos
Amis 2017-02-01 06:22:13
Hi! Is it possible to focus to a certain window using keyboard shortcuts? Like I have a very specific active program running on a desktop and if I press Alt+9 it focuses on it
bigpic 2017-02-01 06:22:19
ulimit -n is reporting 65536
EriC^^ 2017-02-01 06:22:22
kang0: every os has to be bootable some way, do you mean a bootable iso?
bigpic 2017-02-01 06:22:32
but doing a cat /proc/1408/limits reports 1024
bigpic 2017-02-01 06:22:37
for the same user
bigpic 2017-02-01 06:22:48
why/how are they different?
kang0 2017-02-01 06:22:52
I am not sure what's meaning of bootable
bigpic 2017-02-01 06:22:54
any suggestions on how to fix?
kang0 2017-02-01 06:23:07
Is it so that only os can become bootable?
kang0 2017-02-01 06:23:25
Music or video or other data can't become bootable? EriC^^
FManTropyx 2017-02-01 06:23:47
I can make a demo that is bootable
erm3nda 2017-02-01 06:24:09
Amis, you can use king of autokey softwares then script them to found your desired window, if exists, while exists
Amis 2017-02-01 06:24:26
erm3nda, sounds like it would work
EriC^^ 2017-02-01 06:24:39
kang0: well yes, let me explain bootable, bootable usually means there's some bootloader that the pc's bios executes and hands over the execution to it so it does whatever it wants
erm3nda 2017-02-01 06:25:23
Amis, i found xdotool small and powerfull, take a look at http://blog.rot13.org/2010/07/focus-window-by-name-using-xdotool-and-awesome-window-manager.html
kang0 2017-02-01 06:25:29
FManTropyx how
EriC^^ 2017-02-01 06:25:31
kang0: it's just some code that does something after the bios sees it and says ok you can take control of the pc now
Amis 2017-02-01 06:25:33
erm3nda, thanks
erm3nda 2017-02-01 06:25:42
just google focus x windows and found my little and nice xdotool :-)
erm3nda 2017-02-01 06:26:05
simple dead
Amis 2017-02-01 06:26:18
Question 2: (Ubuntu server 16 LTS 64bit, 8GB ram, 8 cores) I'm experiencing constant OOMs on said machine but the OOM log doesn't make sense as the VM is ~4GB and the total RSS is 500MB. What are some lesser known, non-trivial causes of such OOMs?
FManTropyx 2017-02-01 06:26:33
by making a bootloader for any program of my choosing
Amis 2017-02-01 06:26:39
Same configuration on a 4 core, 32bit 4GB machine does not produce this
erm3nda 2017-02-01 06:26:55
FManTropyx, a demo of what?
erm3nda 2017-02-01 06:27:17
You can get any damn small linux, slitaz, tiny core, that are already bootable, then add your shit
The_Myth 2017-02-01 06:27:17
guys, lemme ask a question. I can install any Ubuntu flavour into SD card and boot it from there, right? I know the SD card won't last long, but it's just for testing purposes.
FManTropyx 2017-02-01 06:27:17
anything
nacc 2017-02-01 06:27:21
Amis: pastebin the oom log?
erm3nda 2017-02-01 06:27:28
oom killer is a bitch
nacc 2017-02-01 06:27:38
!language | erm3nda
ubottu 2017-02-01 06:27:38
erm3nda: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList
erm3nda 2017-02-01 06:27:40
sorry
erm3nda 2017-02-01 06:27:49
oom killer is a big beach
erm3nda 2017-02-01 06:27:54
:-B
kang0 2017-02-01 06:28:25
FManTropyx how to make bootloader
Amis 2017-02-01 06:28:33
nacc, unfortunately I do not have access to it right know but I'm interested as what else could be it. Even with overcommit enabled it just kills a random high mem user for no reason. Swap is almost always unused
erm3nda 2017-02-01 06:28:38
The_Myth, u should use USB creators for that, that usually ships with syslinux boot
erm3nda 2017-02-01 06:29:00
Amis, you may tweak the swapiness
erm3nda 2017-02-01 06:29:06
it is you sure it's mounted?
ducasse 2017-02-01 06:29:14
kang0: what are you actually trying to do?
FManTropyx 2017-02-01 06:29:20
kang0, http://wiki.osdev.org/Bootloader
erm3nda 2017-02-01 06:29:20
u can set oom score to certaing things you don't wanna see diying
Amis 2017-02-01 06:29:25
erm3nda, it is. As I remember it's around 2GB and some 50MB are sometimes used
erm3nda 2017-02-01 06:29:47
Amis, case of extreme, you can install monit then shutdown processes not used "that you know" you can
Amis 2017-02-01 06:29:51
erm3nda, what I don't get is that nothing seems out of place. The memory usage BARELY reached 600MB
The_Myth 2017-02-01 06:30:01
but it's possible indeed, correct? but sooner or later the SD card will burn. :x
erm3nda 2017-02-01 06:30:12
Amis, all is on the logs. there's a reason for it, find it
kang0 2017-02-01 06:30:28
ducasse understanding
erm3nda 2017-02-01 06:30:28
The_Myth,yes, but there are tweaks for that
erm3nda 2017-02-01 06:30:32
like the noatime
erm3nda 2017-02-01 06:30:42
to reduce commits to memory then play more "into the ram"
erm3nda 2017-02-01 06:30:56
actually, ssd and eMMC are sdcard with special controllers
erm3nda 2017-02-01 06:31:14
the key is that ssd and eMMC are not shitty memories with class2/4/6
erm3nda 2017-02-01 06:31:50
class 10 mega product from sandisk can be wrote MILLIONS times. The range between cycles vary so much
nacc 2017-02-01 06:31:52
Amis: an OOM is a failure to allocate a page in the kernel, the log is very important
nacc 2017-02-01 06:32:04
Amis: the order of the allocation matters, e.g.
erm3nda 2017-02-01 06:32:14
also, the special eMMC / SSD controllers, does a smart usage of blocks to avoid kill them at all, and inodes can be relocated on the fly
erm3nda 2017-02-01 06:32:29
inodes don't lost info at all, just becomed unwritable when reaches limits
erm3nda 2017-02-01 06:32:42
the bigger is your device, the more time it will live
erm3nda 2017-02-01 06:33:01
i am actuall under 32Gb eMMC. :-) i wont see it diying please don0t scare me
erm3nda 2017-02-01 06:33:48
I used SD card to boot Debian7 into wm8505 SOC device and worked from YEARS with no problem
erm3nda 2017-02-01 06:34:04
for* years
sirv 2017-02-01 06:37:43
when i use sd cards or usb disks as primary partition they always fail soon
sirv 2017-02-01 06:38:09
all the time system gets corrupted
sirv 2017-02-01 06:38:30
*file system
compdoc 2017-02-01 06:38:55
usb isnt reliable for always on devices
kang0 2017-02-01 06:39:07
EriC^^ What's bootable iso
Amis 2017-02-01 06:39:27
erm3nda, nacc: I managed to acquire a log of an OOM: http://pastebin.com/6FQ9wcSU
erm3nda 2017-02-01 06:39:38
sirv, seems you used bad memorys, with noatime, and you used them so much
erm3nda 2017-02-01 06:39:43
all vary on the quality, and usage
erm3nda 2017-02-01 06:39:48
but yes, are made to die :-)
BlueProtoman 2017-02-01 06:39:52
On Ubuntu 16.10, the menus for some (but not all) Qt-using applications are distorted. More details here. http://askubuntu.com/q/878736/61195 Any tips?
EriC^^ 2017-02-01 06:40:14
kang0: it's an image that has a special code so it can boot if you plug it into the pc when it starts
erm3nda 2017-02-01 06:40:31
sirv, im sure you can add somo virtual controller for the memory card, like commit at shutdown or whatever
kang0 2017-02-01 06:40:37
What's mbr and vbr
erm3nda 2017-02-01 06:40:37
never digg into that
erm3nda 2017-02-01 06:40:46
u can use software raid then attach 4sd cards
erm3nda 2017-02-01 06:40:55
then replace them in the order they die :-)
erm3nda 2017-02-01 06:41:02
buy using SSD will be more profitable
erm3nda 2017-02-01 06:42:34
Amis, it is you compiling?
erm3nda 2017-02-01 06:42:57
is cc1plus the one who ate your memory
Amis 2017-02-01 06:43:09
erm3nda, yes but that does not matter in this case as without it a program will still die
Amis 2017-02-01 06:43:47
There are several other cases where the machine is idling and that highest consumer is davmail doing nothing (4GB VM, 200MB RSS)
nacc 2017-02-01 06:44:30
Amis: hrm, that does look odd
Amis 2017-02-01 06:44:36
erm3nda, where exactly does it show me that the compilation ate all of the 8GB? I'm adding up RSS and it doesn't reach it
erm3nda 2017-02-01 06:44:37
Amis, look at http://askubuntu.com/questions/371302/make-my-ubuntu-use-more-swap-than-ram/371329#371329
ducasse 2017-02-01 06:44:42
kang0: we do ubuntu support here, i'm sure there are more appropriate places for such general questions. mbr = master boot record, vbr = variable bitrate.
erm3nda 2017-02-01 06:44:53
well, im not sure about that, i just know that is the compiling process the one
Amis 2017-02-01 06:44:53
Note: overcommit is enabled
erm3nda 2017-02-01 06:45:00
it is you compiling GTAV ? XD