search for: rlimit_data

Displaying 20 results from an estimated 23 matches for "rlimit_data".

2023 Feb 20
1
service(imap-login): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument macOS
...ed the issue with Dovecot not starting on macOS Ventura by adding this to 10-master.conf: service log { vsz_limit = 0 } But now when I try to login via Imap on port 143 I get the same error for imap-login: Feb 20 15:55:41 imap-login: Error: Feb 20 15:55:41 service(imap-login): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument Feb 20 15:55:41 imap-login: Fatal: master: service(imap-login): child 11781 returned error 89 (Fatal failure) Feb 20 15:55:41 master: Error: service(imap-login): command startup failed, throttling for 60.000 secs Feb 20 16:13:04 imap-login: Error: Feb 20 16:13:04 servi...
2023 Feb 17
0
SOLVED: Re: Dovecot does not start on MacOS 12.01, and now 13.2.1 - RLIMIT_DATA
...il-archive.com <http://mail-archive.com/>, so it?s not threaded email. https://www.mail-archive.com/dovecot at dovecot.org/msg84776.html? I have just installed Dovecot onto Mac Studio running Ventura (macOS 13.2.1) and get the same error with Dovecot 2.3.20: service(log): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument Adding the ?service log? stanza to 10-master.conf fixed the issue. Is this still the correct way to handle it? If so it would be great to have it documented somewhere. Just lucky I found the above mail thread. Thanks, James. Hi! That solution is bit overly bro...
2010 May 06
3
Dovecot Won't start on SLITAZ Linux
Hi I've just compiled dovecot under Slitaz, but I can't get it to run... It always die with this message in log : 2010-05-06 12:35:12 dovecot: Info: Dovecot v1.2.11 starting up 2010-05-06 12:35:12 dovecot: Fatal: setrlimit(RLIMIT_DATA, 256): Operation not permitted 2010-05-06 12:35:12 dovecot: Error: child 1455 (auth) returned error 89 (Fatal failure) 2010-05-06 12:35:12 dovecot: Fatal: Auth process died too early - shutting down here is my "dovecot -n" : # 1.2.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.30.6-slita...
1998 Nov 21
2
simple perl script bypasses limits
Any user with shell access, or with access to upload a cgi script can exploit this to make machine thrash badly. Seems to circumvent any limits in the kernel Here are my settings dlai@whale.home.org:/home/dlai?limit cputime unlimited filesize 20000 kbytes datasize 8192 kbytes stacksize 8192 kbytes coredumpsize 1000000 kbytes memoryuse 8192 kbytes descriptors
2004 Dec 17
1
Cygwin and index code
...ror: login: fd_read() failed: Function not implemented dovecot: Dec 17 16:03:18 Error: close(mail client) failed: Bad file descriptor dovecot: Dec 17 16:03:18 Error: Login process died too early - shutting down dovecot: Dec 17 16:03:18 Error: imap-login: dovecot: Dec 17 16:03:18 Fatal: setrlimit(RLIMIT_DATA, 32): Invalid argument dovecot: Dec 17 16:03:18 Error: login: fd_read() failed: Function not implemented dovecot: Dec 17 16:03:18 Error: close(mail client) failed: Bad file descriptor dovecot: Dec 17 16:03:18 Error: imap-login: dovecot: Dec 17 16:03:18 Fatal: setrlimit(RLIMIT_DATA, 32): Invalid...
2007 Nov 17
2
Dovecot + Cygwin
Hey guys, does somebody get dovecot work under cygwin? The compilation finish without any problems. But after trying to run dovecot i got this in my log: dovecot: Nov 17 02:40:18 Info: Dovecot v1.0.7 starting up dovecot: Nov 17 02:40:19 Fatal: setrlimit(RLIMIT_DATA, 256): Invalid argument dovecot: Nov 17 02:40:19 Error: Auth process died too early - shutting down dovecot: Nov 17 02:40:19 Error: child 1452 (auth) returned error 89 setting auth_process_size to another value didn't fixed this issue. Thanks for any help Greets $ /sbin/dovecot -n # 1.0.7:...
2002 Dec 27
1
RLIMIT_AS patch for FreeBSD
Hey, I've just updated the FreeBSD dovecot port to the 0.99.4 beta release, the following patch was needed as FreeBSD has setrlimit(2) but does not define RLIMIT_AS (I believe). I switched the code the require both, alternatively find a parallel option in the FreeBSD setrlimit(2) manual page. ( http://www.freebsd.org/cgi/man.cgi?setrlimit ) You may be interested in integrating this patch.
2010 Sep 21
1
problem clamd via rpmforge
...system support couple postfix/amavisd/clamd/dkimproxy/sid-milter/policyd/postgrey/dovecot2 when i restart clamd i obtain one error i quote for clarity ~]# service clamd restart Stopping Clam AntiVirus Daemon: [ OK ] Starting Clam AntiVirus Daemon: WARNING: Running on 32-bit system, and RLIMIT_DATA > 2GB, lowering to 2GB! [ OK ] what error RLIMIT_DATA > 2GB i use 1GB swap how to configure the machine to remove this error thanks for all return
2001 Feb 08
0
openssh2.3.0p1 and /etc/limits
...g of the form ('BASH' constants for ulimit) + * [Aa][Cc][Dd][Ff][Mm][Nn][Rr][Ss][Tt][Uu][Ll][Pp] + * (eg. 'C2F256D2048N5' or 'C2 F256 D2048 N5') + * where: + * [Aa]: a = RLIMIT_AS max address space (KB) + * [Cc]: c = RLIMIT_CORE max core file size (KB) + * [Dd]: d = RLIMIT_DATA max data size (KB) + * [Ff]: f = RLIMIT_FSIZE Maximum filesize (KB) + * [Mm]: m = RLIMIT_MEMLOCK max locked-in-memory address space (KB) + * [Nn]: n = RLIMIT_NOFILE max number of open files + * [Rr]: r = RLIMIT_RSS max resident set size (KB) + * [Ss]: s = RLIMIT_STACK max stack size (KB) + * [Tt]:...
2007 Feb 18
2
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
Hi Aaron, On Sun, 2007-02-18 at 20:43 +0000, Aaron Gray wrote: > Hi Reid, > > Cygwin 'sys/resource.h' has get/setrlimit() functions support for > RLIMIT_DATA and RLIMIT_AS but not RLIMIT_RSS. Then, please fix it to not use RLIMIT_RSS in the cygwin case. Perhaps you should just use RLIMIT_AS for cygwin. It will trigger sooner than RLIMIT_RSS but that's probably okay. Reid. > > Aaron > > ----- Original Message ----- > From: "...
2007 Feb 18
0
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
Hi Reid, Cygwin 'sys/resource.h' has get/setrlimit() functions support for RLIMIT_DATA and RLIMIT_AS but not RLIMIT_RSS. Aaron ----- Original Message ----- From: "Reid Spencer" <rspencer at reidspencer.com> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Sent: Sunday, February 18, 2007 8:32 PM Subject: Re: [LLVMdev] LLVM Cygwin build RLI...
2007 Jul 03
0
[LLVMdev] Solaris 9 compilation
...warning: control reaches end of non-void function X) patches: Index: lib/System/Unix/Program.inc =================================================================== --- lib/System/Unix/Program.inc (revision 37850) +++ lib/System/Unix/Program.inc (working copy) @@ -119,7 +119,7 @@ getrlimit (RLIMIT_DATA, &r); r.rlim_cur = limit; setrlimit (RLIMIT_DATA, &r); -#ifndef __CYGWIN__ +#ifdef RLIMIT_RSS // Resident set size. getrlimit (RLIMIT_RSS, &r); r.rlim_cur = limit; Index: lib/Support/APInt.cpp =================================================================== --- lib/S...
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
2007 Feb 18
0
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
...February 18, 2007 9:08 PM Subject: Re: [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem > Hi Aaron, > > On Sun, 2007-02-18 at 20:43 +0000, Aaron Gray wrote: >> Hi Reid, >> >> Cygwin 'sys/resource.h' has get/setrlimit() functions support for >> RLIMIT_DATA and RLIMIT_AS but not RLIMIT_RSS. > > Then, please fix it to not use RLIMIT_RSS in the cygwin case. Perhaps > you should just use RLIMIT_AS for cygwin. It will trigger sooner than > RLIMIT_RSS but that's probably okay. > > Reid. > >> >> Aaron >> >> -...
2002 Dec 01
0
Re: compiling
...MIT_AS' undeclared (first use in this function) > restrict-process-size.c:41: (Each undeclared identifier is reported only once > restrict-process-size.c:41: for each function it appears in.) Thanks. I thought that would have been portable since it was in UNIX98. You could change that to RLIMIT_DATA and it should be somewhat equilevant. I'll change it in CVS so that it does both DATA and AS if it exists.
2002 Jun 26
0
[Bug 301] New: In openssh 3.3 and 3.4 pam session seems be called from non-root
...860 close(9) = 0 11860 munmap(0x126000, 4096) = 0 11860 setreuid(1000, 4294967295) = 0 11860 setrlimit(RLIMIT_CPU, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_FSIZE, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_DATA, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_STACK, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_CORE, {rlim_cur=50000*1024, rlim_max=50000*1024}) = -1 EPERM (Operation not permitted) 11860 setrlimit(RLIMIT_RSS, {rlim_cur=2147483647, rlim_max=214...
2002 May 14
1
AIX capabilities not set
Hi, we're in the process of setting up large-page support on IBM regattas, but for large-page support the users have to have a set of extra capabilities (CAP_BYPASS_RAC_VMM,CAP_PROPAGATE). This are configured on a per user basis by listing which capability each user have in /etc/security/user. Unfortunately they don't get set when the users log in via OpenSSH (3.1p1). Does anybody know
2007 Feb 18
2
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
...dev] LLVM Cygwin build RLIMIT_RSS configuration problem > > > > Hi Aaron, > > > > On Sun, 2007-02-18 at 20:43 +0000, Aaron Gray wrote: > >> Hi Reid, > >> > >> Cygwin 'sys/resource.h' has get/setrlimit() functions support for > >> RLIMIT_DATA and RLIMIT_AS but not RLIMIT_RSS. > > > > Then, please fix it to not use RLIMIT_RSS in the cygwin case. Perhaps > > you should just use RLIMIT_AS for cygwin. It will trigger sooner than > > RLIMIT_RSS but that's probably okay. > > > > Reid. > > > &gt...
2000 Jun 13
2
2.2.1p1 / AIX 4.2.1.0.06 login nits
Hi. New (2.1.1p1) login code is nicer on AIX (4.2.1.0.06). Thanks. A couple of issues, though, which I haven't really dug into yet. I'm wondering if anyone else has seen them? If not, I'll investigate & report. 1. If I set "UseLogin" to "yes", everything seems fine except that the authentication agent forwarding doesn't work. The "SSH"
2008 Jan 17
1
convert plugin fails - drops root privileges then tries to create file in /
...= 2 [pid 13748] fcntl64(0, F_GETFD) = 0 [pid 13748] fcntl64(0, F_SETFD, 0) = 0 [pid 13748] fcntl64(1, F_GETFD) = 0 [pid 13748] fcntl64(1, F_SETFD, 0) = 0 [pid 13748] fcntl64(2, F_GETFD) = 0 [pid 13748] fcntl64(2, F_SETFD, 0) = 0 [pid 13748] setrlimit(RLIMIT_DATA, {rlim_cur=262144*1024, rlim_max=262144*1024}) = 0 [pid 13748] setrlimit(RLIMIT_AS, {rlim_cur=262144*1024, rlim_max=262144*1024}) = 0 [pid 13748] chdir("/tmp") = 0 [pid 13748] umask(077) = 022 [pid 13748] execve("/usr/libexec/dovecot/imap", ["...