Commit Graph

63804 Commits

Author SHA1 Message Date
aszlig
a5bc11f9eb
nixos/vm-tests: Remove msize mount option
This seems to be the root cause of the random page allocation failures
and @wizeman did a very good job on not only finding the root problem
but also giving a detailed explanation of it in #10828.

Here is an excerpt:

  The problem here is that the kernel is trying to allocate a contiguous
  section of 2^7=128 pages, which is 512 KB. This is way too much:
  kernel pages tend to get fragmented over time and kernel developers
  often go to great lengths to try allocating at most only 1 contiguous
  page at a time whenever they can.

  From the error message, it looks like the culprit is unionfs, but this
  is misleading: unionfs is the name of the userspace process that was
  running when the system ran out of memory, but it wasn't unionfs who
  was allocating the memory: it was the kernel; specifically it was the
  v9fs_dir_readdir_dotl() function, which is the code for handling the
  readdir() function in the 9p filesystem (the filesystem that is used
  to share a directory structure between a qemu host and its VM).

  If you look at the code, here's what it's doing at the moment it tries
  to allocate memory:

    buflen = fid->clnt->msize - P9_IOHDRSZ;

    rdir = v9fs_alloc_rdir_buf(file, buflen);

  If you look into v9fs_alloc_rdir_buf(), you will see that it will try
  to allocate a contiguous buffer of memory (using kzalloc(), which is a
  wrapper around kmalloc()) of size buflen + 8 bytes or so.

  So in reality, this code actually allocates a buffer of size
  proportional to fid->clnt->msize. What is this msize? If you follow
  the definition of the structures, you will see that it's the
  negotiated buffer transfer size between 9p client and 9p server. On
  the client side, it can be controlled with the msize mount option.

  What this all means is that, the reason for running out of memory is
  that the code (which we can't easily change) tries to allocate a
  contiguous buffer of size more or less equal to "negotiated 9p
  protocol buffer size", which seems to be way too big (in our NixOS
  tests, at least).

After that initial finding, @lethalman tested the gnome3 gdm test
without setting the msize parameter at all and it seems to have resolved
the problem.

The reason why I'm committing this without testing against all of the
NixOS VM test is basically that I think we can only go better but not
worse than the current state.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:26:24 +01:00
Domen Kožar
9688c39709 Merge pull request #11702 from ericsagnes/udevil-patch
udevil: added patch
2015-12-14 16:46:26 +01:00
Daniel Peebles
5caa62dea3 Merge pull request #11689 from sigma/fix/adv_cmds
adv_cmds: fix typo in file name
2015-12-14 09:40:03 -05:00
Eelco Dolstra
1ae8f0f0f7 Merge pull request #11675 from abbradar/flashplayer-archive
flashplayer: cleanup, use archive as a source
2015-12-14 13:56:20 +01:00
Eelco Dolstra
a8260e04ad Merge pull request #11655 from lancelotsix/update_gdb
pkgs.gdb: 7.10 -> 7.10.1
2015-12-14 13:55:03 +01:00
Damien Cassou
b31e2aa8c8 Merge pull request #11703 from ericsagnes/signing-party
signing-party: 2.0 -> 2.1
2015-12-14 13:16:05 +01:00
Eric Sagnes
b619983354 signing-party: 2.0 -> 2.1 2015-12-14 21:05:25 +09:00
Eric Sagnes
b22725847d udevil: added patch 2015-12-14 20:49:14 +09:00
Jascha Geerds
7b82e5b2e8 Merge pull request #11700 from magnetophon/khal-master
khal: update 0.6.0->0.7.0
2015-12-14 12:30:37 +01:00
Domen Kožar
59e33d42e4 Merge pull request #11699 from luispedro/add_mahotas
Add mahotas & imread
2015-12-14 11:29:43 +01:00
Luis Pedro Coelho
a77a8e3ca6 python.mahotas: init at 1.4.0
This is a computer vision package for Python based on numpy
2015-12-14 11:22:47 +01:00
Arseniy Seroka
fcf88282f9 Merge pull request #11549 from jgillich/syslinux
syslinux: fix missing mtools dependency
2015-12-14 13:21:31 +03:00
Luis Pedro Coelho
5ff41b047a python.imread: init at 0.5.1
This is a package to read image files into numpy arrays.
2015-12-14 11:19:11 +01:00
Arseniy Seroka
93c24d39b2 Merge pull request #11695 from badi/google-musicmanager
google-musicmanager: beta_1.0.221.5230-r0 -> beta_1.0.243.1116-r0
2015-12-14 13:17:27 +03:00
Oliver Charles
30a99f3185 Merge pull request #11691 from projedi/fish-darwin-hostname-fix
fish: Use /bin/hostname on darwin. Fixes #11012.
2015-12-14 10:00:48 +00:00
Pascal Wittmann
84c3b5f71f Merge pull request #11073 from mogorman/geda_fix
geda: refdes_renum called /usr/bin/perl
2015-12-14 07:56:41 +01:00
Pascal Wittmann
88fc08c367 Merge pull request #11693 from sigma/fix/zile-darwin
zile: build on unix
2015-12-14 07:52:47 +01:00
Matthew O'Gorman
f076a0867f
geda: refdes_renum called /usr/bin/perl 2015-12-14 00:04:12 -05:00
Badi' Abdul-Wahid
a8d43d6950 google-musicmanager: beta_1.0.221.5230-r0 -> beta_1.0.243.1116-r0 2015-12-13 20:46:30 -05:00
Badi' Abdul-Wahid
618414ff46 super-user-spark: 0.1.0.0 -> 0.2.0.3 2015-12-13 20:26:09 -05:00
Bart Brouns
7349f406ff khal: update 0.6.0->0.7.0 2015-12-14 02:05:01 +01:00
Yann Hodique
38161e8372 zile: build on unix
zile works fine on non-linux unix systems
2015-12-13 15:06:46 -08:00
Matej Cotman
0256de74fb Merge pull request #11215 from ArdaXi/efl-without-vlc
e19.efl: remove dependency on VLC
2015-12-13 22:56:14 +01:00
Aristid Breitkreuz
f217579ca6 Merge pull request #11680 from mayflower/fix/claws-mail-fancy
claws-mail: Fix fancy plugin
2015-12-13 22:52:23 +01:00
Aristid Breitkreuz
42952942bc Merge pull request #11649 from mayflower/claws-enable-pgp
[RFC] claws-mail: enable PGP plugin by default
2015-12-13 22:51:03 +01:00
Yann Hodique
000fe58769 adv_cmds: fix typo in file name
adv_cmds archive actually contains BSDmakefile, not BSDMakefile. While
that probably doesn't matter in default installations, it does matter
for case-sensitive filesystems.
2015-12-13 12:02:42 -08:00
Alexander Shabalin
020a09adbb fish: Use /bin/hostname on darwin. Fixes #11012. 2015-12-13 22:52:35 +03:00
Aristid Breitkreuz
f0cdf17ee8 Merge pull request #11682 from ambrop72/chrome-updates
chromium: Updates.
2015-12-13 20:04:32 +01:00
Domen Kožar
128e635d8a pythonPackages.monothonic: address #7307 2015-12-13 19:06:32 +01:00
Pascal Wittmann
8603828324 flask: add missing dependencies and fix license 2015-12-13 18:54:34 +01:00
goibhniu
9fdb01300c Merge pull request #11416 from magnetophon/jack-master
jackaudio: compile without profiling
2015-12-13 18:40:59 +01:00
Pascal Wittmann
e4b8defb37 Merge pull request #11676 from devhell/mediainfo
{lib-}mediainfo{-gui}: 0.7.79 -> 0.7.80
2015-12-13 18:26:46 +01:00
goibhniu
e470d15423 zam-plugins: update hash (uses git submodules) 2015-12-13 18:16:49 +01:00
devhell
ab9bf1e4fa {lib-}mediainfo{-gui}: 0.7.79 -> 0.7.80
From the changelog:
```
Version 0.7.80, 2015-11-30

+ Matroska: support of MKVMerge statistics tags (duration frame count,
  stream size, bit rate) per track, thanks to ndjamena
+ FLAC: Channel positions, thanks to ndjamena
+ FLAC: difference between detected bit depth and stored bit depth
+ MPEG-TS: if DTVCC transport stream is present and no DTVCC service
  descriptor, scan also in the middle of the file in order to detect
  more caption services
+ Subtitle frame rate computing if frame count and duration are
  available (hidden by default)
+ Subtitles in Matroska: count of elements
+ Matroska, MXF and MP4/MOV: detection of truncated files
+ DTS: difference between ES Matrix and ES Discrete
+ DTS: display ES Matrix or ES Discrete even if HRA or MA is present
+ DTS: difference between DTS-HRA with 96k option and pure DTS-96/24
+ DTS: detection of DTS:X
+ Samples per frame info
+ AC-3: detection of Atmos inside TrueHD
+ Video frame rate: showing precision of 1/1.001 frame rates (e.g.
  "23.976 (24000/1001) fps" and "23.976 (23976/1000) fps")
+ MPEG-4/MOV: showing the complete list of compatible brands in the
  CodecID field
+ MPEG-4/MOV: Alternate groups
+ MPEG-4/MOV: "Disabled" tag
+ MPEG-4/MOV: "Forced" tag
+ MPEG-4/MOV: showing links between tracks (chapters for, subtitles for,
  fallback for)
+ MXF: handling of more acquisition metadata items
+ MXF: Package name
+ AVC: Store method of interlaced content (Interleaved Fields or
  Separated Fields)
+ EBUCore: acquisition metadata (Proof of concept, for feedback only)
x Matroska: frame rate detection algorithm revisited, less wrong numbers
  are expected
x SDP/Teletext: some pages were sometimes (when present in 2 different
  SDP lines) displayed several times
x MPEG-4/MOV: some hint tracks were not displayed
+ Hongkongese language added
+ Option "Full parsing"
```
2015-12-13 17:16:07 +00:00
Franz Pletz
cabd3effda claws-mail: Remove extra GIO_EXTRA_MODULES wrapping 2015-12-13 17:09:15 +01:00
Franz Pletz
65d8af5af2 claws-mail: Fix fancy plugin, fixes #10421
This fixes the fancy plugin displaying HTML mails as text as suggested
by @wedens.
2015-12-13 17:02:36 +01:00
Ambroz Bizjak
03cf5e6627 chromium: Updates.
- dev: 48.0.2564.22 -> 49.0.2587.3
- beta: 48.0.2564.23 -> 48.0.2564.41
- stable: 47.0.2526.73 -> 47.0.2526.80
2015-12-13 17:00:13 +01:00
goibhniu
548fbf612f Merge pull request #11678 from jcbrand/sabnzbd-ssl
sabnzbd: Add OpenSSL support and fix wrapping
2015-12-13 16:39:31 +01:00
Pascal Wittmann
3eab158fb8 github3.py: init at 1.0.0a2 2015-12-13 16:27:04 +01:00
Pascal Wittmann
8443067e44 betamax-matchers: init at 0.2.0 2015-12-13 16:08:06 +01:00
Pascal Wittmann
e7757c47b7 betamax: init at 0.5.1 2015-12-13 16:08:06 +01:00
JC Brand
b4766c3d43 sabnzbd: Fix OpenSSL wrapping.
- Add SSL support by adding pyopenssl to PYTHONPATH
- Update build script to use wrapPythonProgramsIn
- Update the meta info
2015-12-13 14:56:25 +00:00
JC Brand
5482aa9084 sabnzbd: 0.7.17 -> 0.7.20 2015-12-13 14:56:19 +00:00
Arseniy Seroka
09d9693089 Merge pull request #11662 from jgillich/patch-2
virt-manager: 1.2.1 -> 1.3.1
2015-12-13 17:16:38 +03:00
Nikolay Amiantov
9d8be1e6a3 Merge branch 'mayflower-feature/simp_le-service'
Closes #11506
2015-12-13 17:02:51 +03:00
Nikolay Amiantov
9e0257c104 Merge branch 'feature/simp_le-service' of https://github.com/mayflower/nixpkgs into mayflower-feature/simp_le-service 2015-12-13 17:01:42 +03:00
Nikolay Amiantov
26e738206c flashplayer: cleanup, use archive as a source
Most work done by ericsagnes
2015-12-13 16:28:52 +03:00
lethalman
564757ab9b Merge pull request #11652 from Profpatsch/geoclue
geoclue2: 2.1.10 -> 2.4.1
2015-12-13 14:24:09 +01:00
Domen Kožar
98101e1fe1 Merge pull request #11673 from mayflower/openssl-versioning
openssl -> openssl_1_0_1
2015-12-13 14:06:17 +01:00
Nikolay Amiantov
427d00ee36 doomseeker: cleanup 2015-12-13 15:14:18 +03:00