no RLIMIT_NPROC on solaris
This commit is contained in:
parent
d45e112ba4
commit
df369c99e6
|
@ -860,6 +860,10 @@ typedef struct {
|
||||||
#define RLIMIT_RSS RLIMIT_UNSUPPORTED
|
#define RLIMIT_RSS RLIMIT_UNSUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef RLIMIT_NPROC
|
||||||
|
#define RLIMIT_NPROC RLIMIT_UNSUPPORTED
|
||||||
|
#endif
|
||||||
|
|
||||||
static rlimit_field_t sigar_rlimits[] = {
|
static rlimit_field_t sigar_rlimits[] = {
|
||||||
{ RLIMIT_CPU, RlimitOffsets(cpu) },
|
{ RLIMIT_CPU, RlimitOffsets(cpu) },
|
||||||
{ RLIMIT_FSIZE, RlimitOffsets(file_size) },
|
{ RLIMIT_FSIZE, RlimitOffsets(file_size) },
|
||||||
|
|
Loading…
Reference in New Issue