search for: getrlimit

Displaying 20 results from an estimated 191 matches for "getrlimit".

Did you mean: gdtrlimit
2000 Dec 21
2
[PATCH]: Compile cleanly under Cygwin
Hi, the attached patch is relative to the current CVS content. It's needed to build and compile cleanly under Cygwin. The problem are the functions setrlimit/getrlimit. I have added checks for getrlimit, sysconf and setdtablesize to configure.in and appropriate checks in the source code. Corinna -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen at redhat.com -------------- next part -------------- An embedded and charset-unspecified text was...
2010 Dec 13
3
Slow I/O on ocfs2 file system
Hello, I have found, that ocfs2 is very slow when doing I/O operation without cache. See a simple test: ng-vvv1:~# dd if=/data/verejna/dd-1G bs=1k | dd of=/dev/null 1048576+0 records in 1048576+0 records out 1073741824 bytes (1.1 GB) copied, 395.183 s, 2.7 MB/s 2097152+0 records in 2097152+0 records out 1073741824 bytes (1.1 GB) copied, 395.184 s, 2.7 MB/s The underlying block device is quite
2016 Aug 20
2
[Release-testers] [3.9 Release] Release Candidate 2 has been tagged
...ests. At least some of the msan tests have been changed leverage features of glibc newer than is available on this platform. I asked about a minimum-required glibc but didn't hear back. Is the minimum required glibc for 3.9 different from 3.8? When I tried rc1 on sles11.3 x86_64, msan's getrlimit test fails to build for lack of prlimit(). SLES11.3 has glibc 2.11.3. Is there a minimum required glibc? I think this test implementation previously used getrlimit(), which is present on glibc2.11.3. On Fri, Aug 19, 2016 at 11:22 AM, Diana Picus via Release-testers < release-testers at lists.ll...
2016 Aug 20
2
[Release-testers] [3.9 Release] Release Candidate 2 has been tagged
...nged leverage features of glibc newer than is >> available on this platform. >> >> I asked about a minimum-required glibc but didn't hear back. Is the minimum >> required glibc for 3.9 different from 3.8? >> >> When I tried rc1 on sles11.3 x86_64, msan's getrlimit test fails to build >> for lack of prlimit(). SLES11.3 has glibc 2.11.3. Is there a minimum >> required glibc? I think this test implementation previously used >> getrlimit(), which is present on glibc2.11.3. >> >> >> On Fri, Aug 19, 2016 at 11:22 AM, Diana Picus...
2016 May 09
2
R process killed when allocating too large matrix (Mac OS X)
...(1e9) > rnorm(1e9) Error: cannot allocate vector of size 7.5 Gb The RAppArmor package has many other utilities to protect your server such from a mis-behaving process such as limiting cpu time (RLIMIT_CPU), fork bombs (RLIMIT_NPROC) and file sizes (RLIMIT_FSIZE). [1] http://linux.die.net/man/2/getrlimit
2007 Feb 18
2
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
Hi Aaaron, On Sun, 2007-02-18 at 19:50 +0000, Aaron Gray wrote: > In order to get Cygwin working there is a need to add a > HAVE_RLIMIT_RSS and associated logic. This was just recently added. Does cygwin even have getrlimit and setrlimit? IIRC correctly, it doesn't. So, perhaps these functions need to be written differently for Cygwin. What's the equivalent win32 call? If cygwin does have getrlimit/setrlimit then we'll have to figure out what RLIMIT_RSS should be under cygwin. Is there the notion of runn...
2001 Jun 07
0
Patch for systems with no setreuid()
...#undef HAVE_SETRLIMIT --- configure.orig Thu Jun 7 14:12:53 2001 +++ configure Thu Jun 7 14:13:40 2001 @@ -3184,7 +3184,7 @@ fi -for ac_func in arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strl...
2007 Aug 21
2
Dovecot should raise the limit of file descriptors at startup...
...IFIFO mode:0000 dev:324,0 ino:2042076 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK FD_CLOEXEC 459: S_IFIFO mode:0000 dev:324,0 ino:1311426 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK FD_CLOEXEC Perhaps the Dovecot master process should raise it's own limit to the allowed maximum when it starts? (getrlimit()+setrlimit()), or be user configurable? Has this been discussed somewhere before? - Peter -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 185 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org...
2007 Feb 18
2
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
...> > > > Hi Aaaron, > > > > On Sun, 2007-02-18 at 19:50 +0000, Aaron Gray wrote: > >> In order to get Cygwin working there is a need to add a > >> HAVE_RLIMIT_RSS and associated logic. > > > > This was just recently added. Does cygwin even have getrlimit and > > setrlimit? IIRC correctly, it doesn't. So, perhaps these functions need > > to be written differently for Cygwin. What's the equivalent win32 call? > > > > If cygwin does have getrlimit/setrlimit then we'll have to figure out > > what RLIMIT_RSS sh...
2007 Feb 18
0
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
...ygwin build RLIMIT_RSS configuration problem > Hi Aaaron, > > On Sun, 2007-02-18 at 19:50 +0000, Aaron Gray wrote: >> In order to get Cygwin working there is a need to add a >> HAVE_RLIMIT_RSS and associated logic. > > This was just recently added. Does cygwin even have getrlimit and > setrlimit? IIRC correctly, it doesn't. So, perhaps these functions need > to be written differently for Cygwin. What's the equivalent win32 call? > > If cygwin does have getrlimit/setrlimit then we'll have to figure out > what RLIMIT_RSS should be under cygwin. Is...
2007 Feb 18
0
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
...Aaaron, >> > >> > On Sun, 2007-02-18 at 19:50 +0000, Aaron Gray wrote: >> >> In order to get Cygwin working there is a need to add a >> >> HAVE_RLIMIT_RSS and associated logic. >> > >> > This was just recently added. Does cygwin even have getrlimit and >> > setrlimit? IIRC correctly, it doesn't. So, perhaps these functions >> > need >> > to be written differently for Cygwin. What's the equivalent win32 call? >> > >> > If cygwin does have getrlimit/setrlimit then we'll have to figure o...
2013 Feb 23
2
Bug#701445: xcp-vncterm: ftbfs with eglibc-2.17
...ARGEFILE64_SOURCE -D_GNU_SOURCE -Wall -g -O1 -Wp,-MD,./.main.o.d -c main.c main.c: In function 'sigxfsz_handler': main.c:545:19: error: storage size of 'rlim' isn't known struct rlimit rlim; ^ main.c:547:5: warning: implicit declaration of function 'getrlimit' [-Wimplicit-function-declaration] getrlimit(RLIMIT_FSIZE, &rlim); ^ main.c:547:15: error: 'RLIMIT_FSIZE' undeclared (first use in this function) getrlimit(RLIMIT_FSIZE, &rlim); ^ main.c:547:15: note: each undeclared identifier is reported only once...
2016 May 11
0
R process killed when allocating too large matrix (Mac OS X)
...tings achieved the desired effect. -Kirill [1] http://krlmlr.github.io/ulimit [2] http://stackoverflow.com/questions/3274385/how-to-limit-memory-of-a-os-x-program-ulimit-v-neither-m-are-working [3] https://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man2/getrlimit.2.html On 10.05.2016 01:08, Jeroen Ooms wrote: > On 05/05/2016 10:11, Uwe Ligges wrote: >> Actually this also happens under Linux and I had my R processes killed >> more than once (and much worse also other processes so that we had to >> reboot a server, essentially). > I...
2000 Dec 27
3
OpenSSH 2.4.0 patch call..
...with Markus before Christmas (I hope all your holidays were better then mine.. But that's another topic. Car are evil.=) and he would like to release 2.4.0 in the very near future. Is there any undisputed patches still out not applied to the current portable CVS tree? (BTW, I just applied the getrlimit patch from Corinna.) - Ben
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
...2:51 1.286 +++ configure.in 2001/05/22 11:59:54 @@ -460,7 +460,7 @@ AC_ARG_WITH(tcp-wrappers, ) dnl Checks for library functions. -AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strl...
2007 Jun 04
1
[LLVMdev] Patch to build on NetBSD
...--- Program.inc 23 Apr 2007 07:22:51 -0000 1.24 +++ Program.inc 4 Jun 2007 13:05:22 -0000 @@ -125,11 +125,13 @@ static void SetMemoryLimits (unsigned si r.rlim_cur = limit; setrlimit (RLIMIT_RSS, &r); #endif +#ifdef RLIMIT_AS // e.g. NetBSD doesn't have it. // Virtual memory. getrlimit (RLIMIT_AS, &r); r.rlim_cur = limit; setrlimit (RLIMIT_AS, &r); #endif +#endif } int
2010 Nov 04
1
Fwd: win32/process - small bug?
It might be a bit before I can get to this, so I thought I''d pass it on. Also, while I was stuck in the airport in Minneapolis, I decided that the getrlimit method should be refactored to remove the process from the job (if it wasn''t already in one) after it''s finished, if possible. Dan ---------- Forwarded message ---------- From: Ben Nagy <ben.nagy.web at gmail.com> Date: Wed, Nov 3, 2010 at 11:53 PM Subject: win32/process...
2007 Feb 18
0
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
In order to get Cygwin working there is a need to add a HAVE_RLIMIT_RSS and associated logic. Aaron ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Sunday, February 18, 2007 7:00 PM Subject: [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem There seems to be a problem with the LLVM Cygwin configuration. Cygwin does not support the
2003 Mar 31
2
basename() in libgen
IRIX 6.5 has the basename() function in libgen. SYNOPSIS cc [flag ...] file ... -lgen [library ...] #include <libgen.h> char *basename (char *path); -- ayamura
2016 May 12
3
R process killed when allocating too large matrix (Mac OS X)
...l > [1] http://krlmlr.github.io/ulimit > [2] > http://stackoverflow.com/questions/3274385/how-to-limit-memory-of-a-os-x-program-ulimit-v-neither-m-are-working > [3] > https://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man2/getrlimit.2.html > On 10.05.2016 01:08, Jeroen Ooms wrote: >> On 05/05/2016 10:11, Uwe Ligges wrote: >>> Actually this also happens under Linux and I had my R processes killed >>> more than once (and much worse also other processes so that we had to >>&g...