Displaying 20 results from an estimated 30 matches for "mlockall".
2004 Oct 18
1
[Jackit-devel] Re: ices-kh dropping jack ports unexpectedly
...rit
any scheduling parameters from its parent. whether other ices thread
run SCHED_FIFO is besides the point, and probably should be discouraged.
>that user, and therefore _NOT_ run as root anymore. This has been a
>common approach for unix apps.
yes, but running with SCHED_FIFO and calling mlockall has not been a
common approach for unix apps. and because unix systems have made it
difficult to grant applications permissions to use these capabilities
with root permission somehow getting involved, adding these to a
client-server design poses some very difficult questions.
ultimately, running a...
2004 Oct 18
0
[Jackit-devel] Re: ices-kh dropping jack ports unexpectedly
...MMV.
Whenever communication is done to an as-root app then the risk *is*
increased (I treat that as fact). The point I was making with ices is
that realtime scheduling is the only aspect that requires root (in
general). For jackd I can see mlock being a possible problem if you
dropped root privs, mlockall should be ok, but I haven't done much with
that.
> >What I can say is that ices tries to acquire realtime scheduling if
> >enabled (default is yes) which may or may not fail, but if root is used
>
> what ices does is mostly irrelevant to JACK. the thread that handles
> au...
2008 Nov 22
6
RC1 Zfs writes a lot slower when running X
Hi,
I have OpenSolaris on an Amd64 Asus-A8NE with 2gig of Rams and 4x320 gig sata drives in raidz1.
With dd, I can write at quasi disk maximum speed of 80meg each for a total of 250meg/s if I have no Xsession at all (only console tty).
But as soon as I have an Xsession running, the write speed drops to about 120MB/s.
Its even worse if I have a VBoxHeadless running with an idle win2k3 inside. It
2012 Jan 20
1
secpwgen
Hi,
secpwgen is always reporting
"mlock: Cannot allocate memory"
even with user root.
CentOS 6.2.
Problem with selinux?
Thank you for help in advance.
Best regards
Helmut Drodofsky
2015 Dec 02
5
[PATCH] Receive multiple packets at a time
...erformance.
Samuel
--- configure.ac.original 2015-10-02 17:06:31.250034677 +0200
+++ configure.ac 2015-10-02 17:06:54.147546590 +0200
@@ -187,7 +187,7 @@
dnl Checks for library functions.
AC_TYPE_SIGNAL
-AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol system time usleep unsetenv vsyslog writev],
+AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random recvmmsg select strdup strerror strsignal strtol system time usleep unsetenv vsyslog w...
2004 Oct 18
2
[Jackit-devel] Re: ices-kh dropping jack ports unexpectedly
Karl Heyes <karl@xiph.org> writes:
> On Mon, 2004-10-18 at 18:27, Jack O'Quin wrote:
> > Karl Heyes <karl@xiph.org> writes:
> >
> > > Are you running with realtime privileges, for this you need to start as
> > > root if you want that. Even with realtime privileges there may be odd
> > > cases where the scheduling latency is a bit too
2007 Oct 18
0
[PATCH] Use credentials and permissions on control socket where available
...r, struct nd_neighbor_solicit, struct nd_opt_hdr, struct ucred], , ,
[#include "have.h"]
)
@@ -122,7 +122,7 @@ dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_FUNC_ALLOCA
AC_TYPE_SIGNAL
-AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol system unsetenv vsyslog writev],
+AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name getpeereid gettimeofday mlockall putenv random select strdup strerror strsignal strtol system unsetenv vsyslog writev],
[], [], [#i...
2015 Dec 10
2
[PATCH] Receive multiple packets at a time
.....fcac9d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,7 +187,7 @@ AC_CHECK_TYPES([socklen_t, struct ether_header, struct arphdr, struct ether_arp,
dnl Checks for library functions.
AC_TYPE_SIGNAL
-AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall pselect putenv random select strdup strerror strsignal strtol system unsetenv usleep vsyslog writev],
+AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall pselect putenv random recvmmsg select strdup strerror strsignal strtol system unsetenv usleep vsy...
2015 Jun 05
6
Effectiveness of CentOS vm.swappiness
Am 05.06.2015 um 00:23 schrieb Dennis Jacobfeuerborn:
> If I'd have to venture a guess then I'd say there are memory pages that
> are never touched by any processes and as a result the algorithm has
> decided that it's more effective to swap out these pages to disk and use
> the freed ram for the page-cache.
That's my guess too.
[...]
> impact. If however these
2015 Dec 02
0
[PATCH] Receive multiple packets at a time
...ginal 2015-10-02 17:06:31.250034677 +0200
> +++ configure.ac 2015-10-02 17:06:54.147546590 +0200
> @@ -187,7 +187,7 @@
>
> dnl Checks for library functions.
> AC_TYPE_SIGNAL
> -AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol system time usleep unsetenv vsyslog writev],
> +AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random recvmmsg select strdup strerror strsignal strtol system time usleep unsetenv vsys...
2013 Jul 22
2
stopping amd causes a freeze
Occasionally stopping amd freezes my system. It's a rare occurrence,
and I haven't found a reliable way to reproduce it.
It's also a real freeze, so there's no way to get into the debugger
or grab a core dump. I only can perform the 4 seconds hard shutdown to
revive the system.
I run amd through sysutils/automounter, which is a scripting solution
that generates an amd.map file
2015 Jun 05
0
Effectiveness of CentOS vm.swappiness
...5, 2015 at 12:29:04PM +0200, Markus "Shorty" Uckelmann wrote:
> How can I further debug this
> problem and find out what's the culprit?
It's working as designed.
Linux does not treat various kinds of memory pages differently. If you
want a daemon to be fully in core, call mlockall(). Here's one way to
do that without changing the daemon's source:
http://superuser.com/questions/196725/how-to-mlock-all-pages-of-a-process-tree-from-console
(I've always only done this with my own code explicitly calling mlock)
If you don't explicitly lock things into memory, f...
2015 Jun 05
1
Effectiveness of CentOS vm.swappiness
Am 05.06.2015 um 17:40 schrieb Greg Lindahl:
> On Fri, Jun 05, 2015 at 12:29:04PM +0200, Markus "Shorty" Uckelmann wrote:
>
>> How can I further debug this
>> problem and find out what's the culprit?
>
> It's working as designed.
Sadly. It is just my first time I see this behaviour to this extent/on
so many servers. So you can say that I'm kind of a
2007 Dec 28
4
MOre on buring ISOs
...may have bugs that are not present in the original.
Note: Please send bug reports or support requests to
http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in
this version.
TOC Type: 1 = CD-ROM
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/de...
2012 Jun 16
2
Help choosing the right card
I have been doing a lot of reading forums and elsewhere but am somehow
unable to connect the dots.
Here is what I am trying to accomplish initially and then wish for it to
grow bigger from here on.
I have two POTS (Analog) line that would connect to the Asterisk Box.
I have, to begin with 5 IP phones (PoE), all connected to a switch.
Asterisk Box with a LAN card also connects to the same switch.
2013 Jan 13
4
tinc 1.1pre4 on Win7x64 --mlock prevents service from starting
c:\APPS\TINC\tincd.exe --mlock --net=mynet --config=C:\APPS\tinc\mynet
Without --mlock, the service starts OK.
With --mlock, the service fails to start.
2009 May 15
2
Trouble with Tinc at make level
...yes
checking return type of signal handlers... void
checking for asprintf... yes
checking for daemon... yes
checking for fchmod... yes
checking for flock... yes
checking for ftime... yes
checking for fork... yes
checking for get_current_dir_name... yes
checking for gettimeofday... yes
checking for mlockall... yes
checking for putenv... yes
checking for random... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strsignal... yes
checking for strtol... yes
checking for system... yes
checking for unsetenv... yes
checking for vsyslog... yes
checking for w...
2020 Aug 18
0
[PATCH nbdkit 6/9] lib: Use replacement strategy for get_current_dir_name.
...+-
10 files changed, 69 insertions(+), 17 deletions(-)
diff --git a/configure.ac b/configure.ac
index aa586997..8c0398fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -327,7 +327,6 @@ AC_CHECK_FUNCS([\
fdatasync \
flockfile \
funlockfile \
- get_current_dir_name \
mkostemp \
mlock \
mlockall \
@@ -340,6 +339,7 @@ AC_CHECK_FUNCS([\
dnl Replacement functions that we provide for some platforms.
AC_CONFIG_LIBOBJ_DIR([common/replacements])
AC_REPLACE_FUNCS([\
+ get_current_dir_name \
getdelim \
getline \
openlog \
diff --git a/common/include/Makefile.am b/common/include/Makefile.am...
2003 Aug 04
1
OpenBSD 3.2 and Release 1
...yes
checking return type of signal handlers... void
checking for asprintf... yes
checking for daemon... yes
checking for fcloseall... no
checking for flock... yes
checking for ftime... no
checking for fork... yes
checking for get_current_dir_name... no
checking for gettimeofday... yes
checking for mlockall... yes
checking for putenv... yes
checking for random... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strsignal... yes
checking for strtol... yes
checking for unsetenv... yes
checking for vsyslog... yes
checking for working malloc... yes
checki...
2020 Aug 15
3
[PATCH EXPERIMENTAL nbdkit 0/2] Port to Windows using mingw.
The patches following do indeed allow you to compile nbdkit.exe, but
it does not actually work yet. I'm posting this experimental series
more as a work in progress and to get feedback.
Note this does not require Windows itself to build or test. You can
cross-compile it using mingw64-* packages on Fedora or Debian, and
test it [spoiler alert: it fails] using Wine.
Rich.