Subject: Re: proc.curproc.rlimit.descriptors.soft
To: None <john@johnrshannon.com>
From: John R. Shannon <john@johnrshannon.com>
List: current-users
Date: 02/12/2006 04:57:02
This is a cryptographically signed message in MIME format.
--------------ms010605080906070607060108
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
John R. Shannon wrote:
> How can proc.curproc.rlimit.descriptors.soft be raised?
>
> sim# sysctl proc.curproc.rlimit.descriptors.hard
> proc.curproc.rlimit.descriptors.hard = 3404
> sim# sysctl -w proc.curproc.rlimit.descriptors.soft=1024
> proc.curproc.rlimit.descriptors.soft: 64 -> 1024
> sim# sysctl proc.curproc.rlimit.descriptors.soft
> proc.curproc.rlimit.descriptors.soft = 64
>
I found the answer, I need to use ulimit because setting
proc.curproc.rlimit.descriptors.soft only changes it for sysctl.
--
John R. Shannon
john@johnrshannon.com
john.r.shannon@us.army.mil
shannonjr@NetBSD.org
--------------ms010605080906070607060108
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHXDCC
A6kwggMSoAMCAQICEBn8ah8qR+o8XD7FUqezlGwwDQYJKoZIhvcNAQEFBQAwgYExCzAJBgNV
BAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAKBgNVBAsTA0RPRDEMMAoGA1UE
CxMDUEtJMRMwEQYDVQQLEwpDb250cmFjdG9yMQ8wDQYDVQQLEwZJRUNBLTMxFjAUBgNVBAMT
DVZlcmlTaWduIElFQ0EwHhcNMDUwMzIzMDAwMDAwWhcNMDYwMzIzMjM1OTU5WjCBqDELMAkG
A1UEBhMCVVMxGDAWBgNVBAoUD1UuUy4gR292ZXJubWVudDEMMAoGA1UECxQDRE9EMQwwCgYD
VQQLFANQS0kxEzARBgNVBAs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