Hi,
I changed the system limits during installation.
Is this setting change necessary only for installation?
Is it OK if I return System Limits to the initial state after the installation is finished?
・On Cassandra nodes, set soft and hard memlock, nofile, and address space (as)limits for installation user (default is “apigee")in /etc/security/limits.conf as shown below: apigee soft memlock unlimited apigee hard memlock unlimited apigee soft nofile 32768 apigee hard nofile 65536 apigee soft as unlimited apigee hard as unlimited ・On Message Processor nodes, set the maximum number of open file descriptors to 64K by using the command: > ulimit -n 65535
Solved! Go to Solution.
Hi,
You need to make these changes permanent otherwise the specific applications might not work correctly.
regards,
Hi,
You need to make these changes permanent otherwise the specific applications might not work correctly.
regards,
Hi @Russell, Thank you.
"Ulimit -n 65535" returns to the default value after shutdown.
Should I make changes every time I start the server?
Hi,
As long as you make the changes in /etc/security/limits.conf they will survive reboots. Don't forget the limits apply to the apigee user only.
regards,
Hi,
I understood that it is better not to erase Cassandra's settings.
I will not erase it.
I am doing "ulimit -n 65535" for Message Processor.
Is this only necessary for installation?
No,
If the setting is in the /etc/security/limits.conf they will get set on every reboot. So you need to set them in that location and they are permanent.
regards,
I am sorry that I can not understand.
The manual states that you should execute the command "ulimit -n 65535" with Message Processor nodes.
There is no mention to edit /etc/security/limits.conf.
What should I do with Message Processor nodes?
Does the same thing as that set for Cassandra Node?
Thanks.
Hi,
So there are 2 parts
"Ensure that you have set the following system limits on Cassandra and Message Processor nodes:" <--- so both Cassandra and MP.
In /etc/security/limits.conf as shown below:
apigee soft memlock unlimited
apigee hard memlock unlimited
apigee soft nofile 32768
apigee hard nofile 65536
apigee soft as unlimited
apigee hard as unlimited
The documentation is not clear. If you are going to do an install then restart the machines the limits.conf works for both types of server as it will pick up the values from that file.
Hi,
understood.
Edit with Cassandra and MessageProcessor.
hi @Tomoya Kimura ,
In order to have the settings stay upon reboot on the Message Processor you need to make these changes to the /etc/security/limits.conf file on the Message Processor :
apigee soft nofile 32768
apigee hard nofile 65536
Hi @Christin Brown ,
thank you for your answer.
Edit /etc/security/limits.conf of MessageProcessor.
thanks @Christin BrownI updated the doc at http://docs.apigee.com/private-cloud/latest/installation-requirements#systemlimits
Stephen