/srv/irclogs.ubuntu.com/2015/08/23/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
stevenrooseis it possible that certain RAID controllers are not supported by Debian?01:49
TJ-stevenroose: Yes, it is possible01:50
stevenrooselike an Intel RAID controller? They have drivers for RHeL and SUSE01:50
stevenroosebut with most hardware, the community often ports them01:50
stevenrooseTJ-: is there a way I can check?01:50
TJ-stevenroose: look at the PCI ID of the device, and see which, if any, driver has that device ID listed01:51
stevenrooseI feel sorry to ask you, but how do I check pci ids and where do I find the driver listings for Debian?01:53
TJ-stevenroose: "lspci -nn" and look at the [VVVV:PPPP] id (Vendor:Product), then do "grep -i 'VVVV.*PPPP' /lib/modules/$(uname -r)/*" ... any module that claims an alias for that ID will be reported01:55
stevenroose1000 for intel, could that be right?01:56
stevenroosecendor id01:56
stevenrooseI think I got one01:59
stevenroosemegaraid_sas01:59
stevenroosenice, thanks01:59
stevenroosealtough, that means the issue lies within the raid controller, a lot harder to fix :s02:00
stevenrooseTJ-: lsst question on RAID, do some raids provide a way to configure them from within linux and if so, how?02:01
stevenroosecurrently, I should boot into the BIOS of the RAID controller, but it wont boot02:01
pmatulisstevenroose: the "issue" *may be* that the controller is not supported by the Ubuntu kernel you're running02:02
TJ-stevenroose: it depends on the RAID controller make/model. Some have F/OSS tools as well as the BIOS config, others have proprietary Linux tools02:02
TJ-stevenroose: 'won't boot' doesn't tell us a lot. what do you see specifically? how is the disk partitioned (MBR or GPT)02:03
TJ-stevenroose: I fixed an issue for a user earlier with hardware RAID with 4TB disk array, partitioned as GPT whic wouldn't boot. It needed a hybrid MBR with the boot partition in the MBR, so that the BOOT BIOS could find it02:04
stevenrooseTJ-: well, I had a software raid on the drives using mdadm, and I wanted to move them to the controller02:05
stevenrooseI did not repartition them or anything..02:05
stevenroose(I'm fine with the data being lost though)02:05
stevenrooseprepared for that02:05
TJ-stevenroose: that will rarely work, the mdadm metadata will not work with the metadata the RAID controller will use02:05
stevenroosewhat the bios boot says is "there aren;t any devices:02:06
stevenrooseTJ-: yea I figured that, I just assumed the controller would be able to reformat everything according to how they needed it02:06
stevenrooseagain, I prepared for losing the data02:07
TJ-stevenroose: boot with a Live ISO image, then look at the raw data on the hardware RAID device, that will give you some idea of how the array is presented02:07
TJ-stevenroose: have you already created the array in the controller's BIOS setup?02:07
stevenrooseTJ-: how does booting from a live image matter there?02:07
stevenrooseI can boot the computer02:07
stevenrooseno, the controllers bios won't start02:08
stevenrooseif I press the key to enter it, it prints "there aren't any devices" shortly and exits02:08
stevenroosecontinuing the regular boot process02:08
TJ-stevenroose: if the device won't boot put is present, you can look at the raw data and figure out if there's an offset required to get to the partitions inside the mdadm volumes02:08
TJ-stevenroose: have you connected the drives to the correct ports on the controller?02:09
stevenrooseyes, it has one plug that fans out into 4 cables02:09
stevenrooseI connected 0-2 to my 3 drives02:09
stevenroosethe first thing you said I did not understand, though :p02:09
TJ-stevenroose: what is the exact make/model of controller?02:09
stevenrooseIntel RAID controller SRCSASLS4I02:10
stevenrooseI bought it second hand though02:10
stevenrooseso at boottime it says that the drives [it used to work with] are not present, asks to press C to reconfigure, enters BIOS, prints "there arent't any devices" and exits02:11
stevenroose(it does not load the graphical bios like on the manual, though; it just prints console"02:11
stevenrooseweird thing is, that it seems to recognize the disks in some way, before the message comes, it very briefly prints a table with SATA and other data in it (too short to give it a good look), with 3 rows, and when I booted  with the devices unplugged, the table was emty02:13
stevenrooseTJ-: so yes, the partitioning might be at fault. what should normally be done when preparing a hard disk for usage with a raid controller? I have no experience with them02:14
TJ-stevenroose: at boot time you see "Press <CTRL><G> to run BIOS Console 2." ?02:15
stevenrooseyes02:15
stevenrooseI press it02:15
stevenroosethen the table comes up shortly02:15
TJ-stevenroose: At that point you should have a Configure menu02:16
stevenroosethen there is something that I can pause or skip (with CTRL + somethign), but it is over so quickly that I cannot interact, and then the screen refreshed with some specs on top and then the "there aren't any devices" message02:16
stevenroosewould you be able to tell more if I filmed it? :D02:17
TJ-stevenroose: I'm just reading the hardware guide02:17
stevenrooseany luck?02:19
TJ-stevenroose: you need to read the Software User Guide, it has extensive info on configuration02:20
stevenroosegot a link perhaps?02:21
stevenrooseI have a disk here, but I dont have a drisk drive anymore on any of my current machines02:21
stevenroosejust to make sure: there are no common requirements regarding the partitioning of disks when connecting them for hardware raid?02:22
TJ-Looks like Chapter 8 applies you your device.  http://download.intel.com/support/motherboards/server/sb/d29305023_raid_swug_r23_5.pdf02:24
stevenrooseTJ-: do you know the answer to my last question? it might save me a lot of time :)02:28
TJ-stevenroose: the controller is responsible for writing metadata to the disks, it then presents a logical view to the BIOS and operating system, and they can do whatever they want on the logical disk02:30
stevenrooseTJ-: so whatever partitioning they have when connected, the controller will just ingore the partitioning and overwrite it when the setup is confirmed?02:31
TJ-stevenroose: it'll look for its own existing metadata and if not found assume the disks are unallocated02:32
stevenroosethe problem is that the use guide assumes everything is working02:35
stevenrooselike here02:35
stevenroosehttp://imgur.com/5eabysZ02:35
stevenrooseI don't get to the second part of the first step02:35
TJ-stevenroose: maybe that's a sign the controller is faulty02:40
TJ-stevenroose: if no controller selection appears, then its probably dead02:41
stevenrooseTJ-: I'm trying to film the boot process for you to judge what you think, but my phone doesnt seem to want to boot anymore, give me a minute02:46
=== JanC_ is now known as JanC
samthewildonecan I use ubuntu server as a mining for bitcoin without actually installing a desktop environment ?03:48
pmatulisstevenroose: skip to a terminal and use lspci to determine if the controller is recognized03:50
lordievaderGood morning.06:04
=== Lcawte|Away is now known as Lcawte
=== cluelessperson_ is now known as cluelessperson
cluelesspersonhey guys, I'm trying to setup my swap partition.  I extened the drive space for my VM, and I created 2.25GB for swap, and I'm tryiong to setup fstab to load it, but it doesn't seem to work09:23
cluelesspersonswapon -s  shows nothing.09:24
lordievadercluelessperson: Did you reboot after you added it to fstab (or did you run swapon -a)?09:27
cluelesspersonlordievader, rebooted, twice09:27
cluelesspersonswapon -s    http://paste.ubuntu.com/12170224/09:28
lordievaderCould you pastebin your fstab?09:28
cluelesspersoncat /etc/fstab        http://paste.ubuntu.com/12170232/09:28
lordievaderThe uuid is correct?09:29
cluelesspersonlordievader, I copied it when I did the make swap command09:30
lordievadercluelessperson: What is the output of 'sudo lsblk -o name,uuid'?09:30
cluelesspersonhttp://paste.ubuntu.com/12170242/09:31
lordievaderIs sda2 swap?09:32
cluelesspersonlordievader, It should be, yes09:32
lordievaderThen the uuid should be: 7d7df027-4b53-4744-9656-cca0d1739a4e09:32
lordievaderThen run swapon -a again.09:34
cluelesspersonlordievader, excellent! :D09:36
cluelesspersonlordievader, thanks, sorry for the annoyance.  I must have mis-copied or gotten mixed up10:03
lordievaderNo problem ;)10:03
hackeronhey, anyone has idea what is leaking memory on my ubuntu server and how to troubleshoot? < http://superuser.com/questions/793192/invisible-memory-leak-on-linux-ubuntu-server-not-disk-cache-buffers10:26
bekksNothing is leaking memory.10:27
bekksAs being told in the post, the memory management works different from how you think it does.10:28
bekkshackeron: Please see http://www.linuxatemyram.com/ as well.10:28
hackeronbekks: I did - read again10:29
hackeronbekks: look at the -/+ buffers/cache line in that post10:29
bekksI did - can you rephrase whats to be seen there?10:29
hackeronbekks: no you didn't, -/+ buffers/cache:       1771        220 -- so after accounting for cache/buffers, there is only 220MB free, 1.7GB is missing/leaked10:30
bekksSo read and try to understand http://www.linuxatemyram.com/10:30
hackeronbekks: I did10:31
hackeronbekks: read and try to understand my question10:31
bekksI did. Your question is explained on http://www.linuxatemyram.com/10:31
hackeronbekks: no it is not - you are misunderstanding the question10:31
bekksSo rephrase it please.10:31
hackeronbekks: memory is not used for disk caching10:31
hackeronbekks: what that page says does not apply10:32
bekksSo you manually disabled disk caching in memory?10:32
dasjoeThat superuser.com question is a year old10:32
bekksIf you didnt, then the memory is caching.10:32
hackerondasjoe: it is still an issue in 15.0410:32
dasjoehackeron: I don't see an issue, sorry10:32
bekkshackeron: It isnt, and it never was, after understanding http://www.linuxatemyram.com/10:32
hackeronbekks: I did, read the question: sync; sync; sync; echo 3 > /proc/sys/vm/drop_caches10:32
hackeronbekks: I did drop caches explicitly, it is not a disk caching issue10:33
dasjoe"note cached and buffers are both low so this is not disk cache or buffers!", how is 1771 MB "low"?10:33
bekksDroping cache does not mean disabling them.10:33
hackerondasjoe: you are misreading the output of free....10:33
hackerondasjoe: -/+ buffers/cache means without buffers or cache10:34
hackeronbekks: dropping cache would clear that 1.7GB if it was a disk caching issue10:34
bekkshackeron: It would write down the content but not remove the cache.10:34
hackeronbekks: ok, how do you disable disk cache just to prove to you it is nothing to do with disk cache?10:35
bekksThere is no issue to be proven.10:35
hackeronbekks: look at the meminfo output -- look at the cached line10:35
bekksYour question clearly shows that you did not understand the output of free -m10:35
hackeronbekks: no it does not - read the link you posted10:36
bekksI know that link very well, and it perfectly explains the output of free -m10:36
hackeronbekks: To see how much ram is free to use for your applications, run free -m and look at the row that says "-/+ buffers/cache" in the column that says "free". That is your answer in megabytes:10:36
hackeronbekks: so the free memory is 220MB according to your link10:37
hackeronbekks: you really really do not - I'm sorry to say10:37
hackeronbekks: you are wrong, completely and you need to read your link before you say anything more because this is pretty embarassing for you10:38
bekkshackeron: I'm not sorry to say that you dont understand what "free" and "unused" means.10:38
hackeronbekks: ok, just read your link...10:38
hackeronbekks: free is 153MB -- free when you subtract cache and buffers is 220MB -- there is 1.7GB unaccounted for10:38
bekkshackeron: The only thing embarrassing here is your attitude getting angry with people who try to help you. You're just not worth to waste my time any further.10:38
bekks*plonk*10:39
hackeronbekks: you are not helping, you are wrong and refusing to accept it10:39
hackeronAnyone has idea what is leaking memory on my ubuntu server and how to troubleshoot? (Note this is not a disk cache/buffers issue, free memory is 153MB, after subtracting cache and buffers, it is 220MB, there is 1.7GB missing and unaccounted for) < http://superuser.com/questions/793192/invisible-memory-leak-on-linux-ubuntu-server-not-disk-cache-buffers10:40
hackeronupdated the question to include this for people like bekks who really should know better: "Please note, I have read and understood http://www.linuxatemyram.com - this is not a disk cache/buffers that is using up the memory. Before subtracting cache/buffers, the free memory is 153MB, after subtracting it is 220MB, there is still 1.7GB missing and unaccounted for."10:43
dinetgood day12:01
dinetI have a quite annoying problem. Have three vhosts in apache and after a while apache stops responding. I got the sites to work yesterday but now it broke again12:01
dinetthe sites is stored in ~/www/sitename with a link in /var/wwww12:01
stevenroosepmatulis: if you have aminute to look into this, I made a question over at serverfault, https://serverfault.com/questions/716105/intel-raid-controller-cannot-open-bios-and-doesnt-recognize-hard-drives12:02
Slingdinet: define 'after a while' and 'stops responding', does it happen frequenty, after a set time? after doing something specific12:02
Slingalso did you check the logs and if possible mod_status output?12:02
dinetSling: or more like the connection freezez. the browser can stay on loading for ~30 min. This stint it froze after less than 24 hours12:04
dinetSling: saw this in error.log: H00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting12:05
Slingdinet: what MPM are you using and what settings does it have? did you change any of them?12:05
dinetmpm?12:06
Slingyou can see this in apache2ctl -V output12:06
dinetServer MPM:     prefork12:06
Slinghttp://httpd.apache.org/docs/2.4/mod/prefork.html#how-it-works12:07
Slingthat describes which settings control how many clients can be served simultaneously in prefork12:07
SlingI would recommend using event or worker though, prefork is the least performing way of running apache httpd12:07
dinetcan I change in http.conf?12:08
dinetand that is how long ago I did these things..12:09
Slingdepends on which version you are running, in 2.4 you can switch MPM my loading the relevant mpm module12:09
Slingbut in 2.2 its compiled in the server12:09
dinetSling: standard install in ubuntu12:09
Slingits also in the -V output12:10
dinet2.412:10
Slingthe default ubuntu package doesn't use prefork I think, unless you use mod_php, are you using that?12:11
dinetyes I do12:11
Slinghm thats also a quite oldfashioned way of running apache+php :)12:12
Slingcome to #httpd and I will trigger some links to read up12:12
dinetSling: or how it now i started. did the install early this summer and used apt-get install apache2 php5 mysql12:13
Slingdinet: yeah because of some legacy non-threadsafe php things, it will default to the prefork mpm12:14
Slingwhich spawns a process per request so it doesn't break non-threadsafe php features12:14
Slingbut spawning a process every time a request comes in is not very performance efficient :)12:14
RoyKSling: what would you recommend instead of mod_php? fastcgi?13:02
Tangurinhi!13:12
patdk-lapI would never recommend mod_php :)13:14
patdk-lapfastcgi is the best option13:14
patdk-lapgoing with either direct php, or php-fpm, I perfer fpm myself13:14
JanCSling: -prefork doesn't spawn a process on every request (that's why it's called PREfork)13:16
patdk-lapand it still doesn't do it per request, but per connection13:17
JanCand dinet: if you have enough RAM to do so, you can raise MaxRequestWorkers indeed13:17
patdk-lapand php is built in trusty using threadsafe, so apache doesn't need prefork13:17
tompawMorning.13:31
SlingJanC: well, once the serverstart-number of processes are started, thats essentially what happens on a busy server14:09
Slingin any case, its not optimal when dealing with high traffic14:10
RoyKpatdk-lap: is php threadsafe now?14:36
patdk-lapit has been for a long long time14:37
patdk-lapthe problem is, most modules aren't, so no one used the threadsafe version14:37
patdk-lapbut debian/ubuntu with apache 2.4, switched to threadsafe mod_php14:38
xednivwhat is the best way to clone a real/metal server to a vm under kvm? and if it is to be done manually, is thereanything ready-made that lets you configure which /etc directories and files should be carried over gracefully?15:52
xednivpossibly with interdiffing/choosing which one gets applied15:52
=== Tangurin is now known as Tangen
catalasesudo usermod -a -G catalase debian-transmission. usermod: user 'debian-transmission' does not exist16:22
catalasehow can a user own those files but not exist. i can't move them, i can't even view the directory.16:22
catalasewhy can't i change the permissions16:24
catalasesudo chmod 777 /var/lib/transmission-daemon. chmod: cannot access ‘/var/lib/transmission-daemon’: No such file or directory16:24
maxbcatalase: Well, the obvious first question is 'Since the command says it doesn't exist, what's the evidence that it does?'16:27
catalasebecause when i use filezilla to look at the filesystem i can see that it exists16:30
catalasehttp://i.imgur.com/RPUl747.png16:30
catalasesudo service transmission-daemon stop. transmission-daemon: unrecognized service16:33
catalasei cant edit the settings.json to change the umask to 016:33
maxbI don't know filezilla. I suggest you use 'ls -l /var/lib', not least because you can paste that to IRC16:39
skittishtriggerIn terminal, do you use the same method as changing /home mount points for /var?16:40
samthewildoneis there a way I can run a gpu miner without the xserver on the server ?16:40
samthewildoneor I must install a desktop environment ?16:40
maxbskittishtrigger: You probably need to explain in a little more detail what you're trying to do, I don't quite understand what you're asking from what you've said so far16:42
skittishtriggerI want to change the mount point for /var. atm (transferring servers and the mountpoint for /var is too small in new one)16:42
skittishtriggeror would symslinking be better in this scenario?16:44
maxbIt's a bit unusual to have /var be its own mount point at all, have you considered just not using so many separate partitions?16:44
maxbChanging mount points is easy, you just edit /etc/fstab. However the hard part is preparing the replacement thing you're going to mount instead, and copying data16:45
skittishtriggersymlinking the assets folders might be a better way to go them. changing that should not be such a big hassle I am thinking16:46
Demon_JesterHey guys, I ssh'd into my server, and noticed that htop, and screenfetch are only showing 4gb of ram, I ran "sudo lshw -short -C memory" and it showed 8gb, is there another way to detect all 8gb just to make sure?16:47
Demon_JesterI mean to see why not all 8gb of ram is not being detected.16:47
Demon_Jesterwow I cannot type.. lol16:47
RoyKDemon_Jester: pastebin output of "free"16:58
Demon_Jesterhttp://pastebin.com/ZxB05Bdr16:59
Demon_Jesterswap shows 8gb or atleast i think it does.16:59
RoyKwhat about lshw?16:59
Demon_Jesterlshw also shows this.. hold on16:59
RoyKlinux only sees 4 gigs there16:59
Demon_Jesterhttp://pastebin.com/mJpVDegp17:00
RoyKwierd17:00
RoyK32bit system?17:00
Demon_Jestershouldn't be its x86_6417:01
Demon_JesterOS I mean.17:01
RoyKuname -a ?17:01
Demon_Jester3.16.0-43-generic #58~14.04.1-Ubuntu SMP Mon Jun 22 10:21:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux17:02
Demon_Jesteri opened it to put a plastic hdd bracket back in there, i may have touched one of the ram sticks without knowing it?17:02
=== Joel is now known as Guest31832
RoyKDemon_Jester: does BIOS see the memory?17:03
Demon_Jesterhmm i dont have a monitor readily avail to hook up..17:04
Demon_Jestergive me a few minutes and see if i can hook this monitor up to it17:05
Demon_Jesterok this may seem crazy but I think I know why it was only showing 4gb, I have two other desktops (just the towers no monitors or anything) on the same electrical plug, and I had them one, too, maybe the main seerver wasn't getting enough power and had to use only half of the ram? I turned the desktops off and now its using all 8gb17:17
RoyKDemon_Jester: doesn't make sense17:21
RoyKDemon_Jester: memory doesn't use a lot of power17:22
Demon_Jesteridk maybe just a glitch or something?17:22
RoyKreseat memory modules17:23
RoyKthat's the first thing17:23
Demon_Jesterok17:23
linociscohi17:23
linociscoi have edited static interface in /etc/network/interfaces. but /etc/init.d/networking restart could not activate eth0 up17:24
RoyKpastebin it17:24
linociscoRoyK, http://pastebin.ubuntu.com/12175474/17:25
RoyKlinocisco: should work17:33
linociscoRoyK, too simple to see that does not work. I have rebooted and still not working. only lo and virbr0 are working17:34
RoyKlinocisco: does ifconfig -a show eth0 ?17:35
linociscoRoyK, nope. just em1, lo and virbr017:36
RoyKmissing a driver, perhaps?17:36
linociscoRoyK, i think we should rename eth0 to em117:37
linociscoRoyK, how do you think?17:37
RoyKmight be - try to configure em117:37
linociscoRoyK, doesn't work17:39
RoyKlinocisco: what does lshw has to say?17:48
linociscoRoyK, i have rebooted again17:50
linociscoRoyK, so many lines in lshw output17:59
RoyKit's quite verbose, yes18:02
hackeron_Anyone have any ideas how to troubleshoot this memory leak? < http://superuser.com/questions/793192/invisible-memory-leak-on-linux-ubuntu-server-not-disk-cache-buffers18:13
TJ-hackeron_: have you tried replacing the applications with a placebo - if the same issue occurs you've at least proved its kernel not application related ?18:25
hackeron_TJ-: if it's application related, it should show the memory growing in top or ps -- if the server is just idling and not doing anything, then the kernel does not leak memory. I am not sure what form this placebo can take?18:26
TJ-hackeron_: Pull in the data over the network in the same way but dump it without any kind of processing or piping (so it doesn't get into the caches)18:28
TJ-hackeron_: The other thing I'd do is ptrace kmalloc() and kfree() (and there relations) to track kernel module's use of memory18:28
hackeron_TJ-: hmm, I will try this - good idea! -- is there a guide how to track kernel module's use of memory? - This is what I haven't been able to find. I think possibly a bug with the ethernet driver as I'm pulling terabytes of data.18:29
TJ-hackeron_: I'm also wondering if memory fragmention could be an issue18:30
TJ-hackeron_: maybe this will get you further  http://elinux.org/Kernel_dynamic_memory_analysis#Memory_accounting18:30
TJ-hackeron_: Yes, that would be the easy culprit to blame :) Do the NICs have any kind of offload capability, and if so, have you tried changing that (if it is offloading, disable it, or if it is disabled, enable it) - anything to provoke a real change in the stats you're collecting to give you a clue18:31
TJ-hackeron_: from that link I think this may be useful:18:32
TJ-Internal fragmentation18:32
TJ-For different reasons (alignment, overhead, etc) when we request 100 bytes with kmalloc(100) the slab allocator may really allocate 128 bytes (or 140 bytes, we can't really know). These extra 28 bytes can't be used, and therefore you are wasting them18:32
hackeron_TJ-: not quite sure how to check/change - I will check the ethtool man page as I'm hoping that will do it?18:32
hackeron_TJ-: interesting - how would I detect something like that?18:33
TJ-hackeron_: offloading, if available, is usually kernel-module options so 'modinfo' will reveal18:33
TJ-hackeron_: use the suggestions in that link to do memory accounting on kmem18:33
hackeron_TJ-: ok, will read and try to make sense of it all :) - I'm new to this low level stuff18:35
hackeron_TJ-: thank you!18:35
TJ-hackeron_: Good luck with it, I know how infuriating and time consuming it can be18:36
hackeron_TJ-: definitely :( - been trying to figure this out for over a year - but now on 1 server it is quicker to reproduce so goign to give it another crack!18:37
TJ-hackeron_: have you tried rate-limiting the network input and seeing if that correlates to the growth in the missing mem?18:38
hackeron_TJ-: so this kmalloc vs slab allocator is purely kernel side? - or can this "memory disappearing" issue happen transparently by something in the userspace?18:38
TJ-hackeron_: E.g. force the link to run at 100Mbps instead of 1Gbps18:38
TJ-hackeron_: it's all in-kernel, but obviously kernel allocates memory for processes too so you can monitor internal kernel use and per-process usage.18:39
hackeron_TJ-: ok, but generally, no user space app should be able to trigger this memory disappearing? - just to rule out ffmpeg/python, etc18:40
TJ-hackeron_: I'd also strongly advise you to talk to the kernel's memory management (mm) team. The web-site is at http://www.linux-mm.org   and they have a mailing list   linux-mm@kvack.org18:41
TJ-hackeron_: userspace could trigger... requesting lots of blocks of memory could hit the fragmentation issue such that kernel is left with lots of small blocks that cannot satisfy requests18:42
hackeron_TJ-: and even once all those processes are killed, the memory will remain unusable until reboot?18:43
hackeron_TJ-: and thank you, will try all your suggestions and speaking to them18:43
hackeron_TJ-: made a list of the 5 things to try and added to the question, heh, thank you again :) -- So once all the processes are killed - all the lots of small blocks remain in limbo and are never released by the kernel?18:59
TJ-hackeron_: I would have thought that once memory is being freed wholesale the fragments should be coalesced back into larger chunks... but maybe you've found a subtle bug19:00
TJ-hackeron_: the fact that swap starts to be used suggests fragmentation may be part of the issue, if not all of it19:00
hackeron_TJ-: seems to be the case - I've let the server idle for a week, with essentially just sshd and syslog running and it was still missing 1.8GB of ram :/19:00
hackeron_TJ-: I tried disabling swap and the memory still grows transparently and stays unusable even after I've killed just about every userspace process19:01
TJ-that almost certainly rules out the applications, then.19:01
hackeron_TJ-: I cannot see any memory use growing in top at all :/ - but I can in newrelic which just uses the -/+ buffers/cache line in free -m19:02
hackeron_TJ-: hmm, ok, I will try ethernet stuff (offload capability, rate limiting), then try to replace app with placebo (just reading network traffic), then see if I can figure out the tracking of kernl module's use of memory and "Internal fragmentation" in that link, if that fails, will ask the linux mm team19:04
TJ-I'm going to guess and say the issue is likely related to mlock ... allocations that aren't subsequently unlocked and returned to the pool19:04
TJ-It's worth asking the mm team early; they may be able to give you specific instructions and tooling to test with, they may have ideas already on what to focus on19:05
TJ-they are the experts, after all19:05
hackeron_TJ-: hmm, ok, good idea - will ask them19:09
=== cz2 is now known as NaN
=== NaN is now known as cz2
F1skrIs it possible to get a ubuntu server root tar package somewhere? Similar to what is provided here: https://cloud-images.ubuntu.com/vivid/current/ but without the cloud-init stuff?21:49
ObrienDavelike a regular server ISO?21:50
F1skrI just need a root filesystem which I can boot in a systemd-nspawn container21:51
F1skrI can remove the cloud-init services from the cloud version but it's a bit annoying to remove stuff just to get it to boot21:54
eatingthenightanyone have a good program they use for log aggregation from multiple servers23:01
pmatuliseatingthenight: what features do you need that the default (rsyslog) does not provide?23:17
jellyeatingthenight: both syslog-ng and rsyslog are nice enough23:20

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