/srv/irclogs.ubuntu.com/2019/11/28/#ubuntu-server.txt

=== Guest22092 is now known as lordievader
=== mIk3_09 is now known as mIk3_08
frickleris there some glibc maintainer around here? I'd like to get the fix for https://sourceware.org/bugzilla/show_bug.cgi?id=23844 into bionic, seems to affect multiple consumers, in our case openvswitch11:17
ubottusourceware.org bug 23844 in nptl "pthread_rwlock_trywrlock results in hang" [Normal,Resolved: fixed]11:17
rbasakfrickler: packages in Ubuntu are team maintained11:21
rbasakfrickler: we'd be grateful if you could test/QA/land any bugfix in Ubuntu. See https://wiki.ubuntu.com/StableReleaseUpdates for details on how to do that, and please ask if you have any questions.11:22
fricklerrbasak: thanks, I guess I would rewrite my question then as: Is there someone with enough interest in fixing that glibc bug such that I don't have to do the SRU procedure myself? ;) otherwise I'll try to get something started once I can confirm that the fix works for me locally11:39
rbasakfrickler: please start by filing a bug - then coordination with others who are affected can begin.11:40
rbasakfrickler: what proportion of Ubuntu users are likely to be affected? If that number is high, then the Canonical Server Team will prioritise it. If low, then it'll be up to volunteers only.11:41
fricklerrbasak: I would re-target https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1839592 once I confirm the correlation11:41
ubottuLaunchpad bug 1839592 in openvswitch (Ubuntu) "Open vSwitch (Version 2.9.2) goes into deadlocked state" [Undecided,Confirmed]11:41
rbasakfrickler: sounds good. Thank you for coordinating!11:42
rbasakfrickler: the 'sts' tag suggests to me that there's interest from Canonical customers, so you may be in luck with "someone with enough interest" :)11:43
m_tadeuhi...I have a VM that is mounting a ext4 that lives on the host:tempfs...seems like it's caching, which seems unnecessary....how can I enable direct access (no caching for this device on the VM)?12:15
tomreynthis sounds like something you'd manage non the virtualization you're using12:35
m_tadeutomreyn: sorry didn't get it...I'm creating img files in the host tmpfs and using them as disks in the VM....problem is that the VM is caching data from a disk that is already in memory12:41
tomreynm_tadeu: i don't think i'm getting this scenario where "the VM is caching data from a disk that is already in memory". maybe it'll help if you'll discuss which ubuntu server version you're discussing here, what's running on the host and guest, which virtualization you're using, and how virtual storages translate into physical storage.12:44
tomreynmaybe you're saying that you would like the gurst system to use the hosts' I/O cache. this is not something you can setup on the guest, though, but need to configure on the virtualization.12:47
m_tadeuhost is ubuntu-server16.04 and the vm is ubuntu-server18.04. I'm using libvirt+kvm+qemu. I have a tempfs in /ramdisks, where I'm creating a disk1.qcow2 file. This file (/ramdisks/disk1.qcow2) will be used and mounted in the VM.12:48
m_tadeunow this disk1.qcow2 is already in the host memory (since it's in a tmpfs), but when the VM is using it, it's caching data (from disk1.qcow2) that is already in memory12:50
cpaelzerm_tadeu: cache=none in the libvirt xml would do what you need12:51
cpaelzer=> https://libvirt.org/formatdomain.html#elementsDisks12:52
m_tadeucpaelzer: I'm getting a 'Invalid argument' error when I use that. any ideas?12:57
cpaelzerm_tadeu: it will have to open the disk with O_DIRECT not sure if that works on TMPFS12:57
cpaelzerbut also I think on tmpfs there will be no page cache12:57
cpaelzerI'd not assume the kernel is that stupid12:58
cpaelzercan't proove it, just gut feeling12:58
cpaelzeryep, as I assumed https://lkml.org/lkml/2007/1/4/5512:59
cpaelzernice to see nown names so much back in time :-)12:59
m_tadeuso it fails because cache=none uses O_DIRECT and fails because it's in tmpfs?13:03
cpaelzeryes13:03
m_tadeucrap13:04
cpaelzeryou can't tell it to not-cache where there isn't a concept of cache+backingstore to begin with13:04
m_tadeuwell not on the tmpfs...but the vm seems to see it a regular partition....so it's filling all the memory as it uses that partition....so it seems to be caching in the vm13:06
tomreyn!info nocache13:19
ubottunocache (source: nocache): bypass/minimize file system caching for a program. In component universe, is optional. Version 1.0-1 (bionic), package size 16 kB, installed size 60 kB13:19
tomreyn^ in case you can't edit source code.13:20
rafaeldtinoco!info eatmydata13:21
ubottueatmydata (source: libeatmydata): Library and utilities designed to disable fsync and friends. In component main, is optional. Version 105-6 (bionic), package size 5 kB, installed size 21 kB13:21
rafaeldtinocoas well =)13:21
m_tadeu:) gonna check that14:53
=== oerheks1 is now known as oerheks
m_tadeuis there a way for systemctl staatus <service> not to print special chars, like the initial ball?18:38
sdezielm_tadeu: if all you care is to know if a unit runs or not, you might try 'systemctl is-active <service>' instead. Not sure that would achieve what you want18:43
m_tadeusdeziel: woaa...that's what I really need....thx18:44
sdezielcool18:44
sdezielm_tadeu: it accepts --quiet if you only care about the return code18:45
m_tadeusweet18:48

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!