Sample Header Ad - 728x90

Determining source of ulimit change

1 vote
1 answer
449 views
I have a server built with AWS OpsWOrks, so everything is in configuration. There is a process whose ulimit is set to 4096, as checked from /proc/$PID/limits. This process runs as root. I ran the ulimit command as root user which shows the file limit as 1024. There are many servers (around 50) configured with the same cookbooks and all of them have the same configuration "drift". There is no knife ssh involved so couldn't have been someone running a one-liner on all instances. The codebase doesn't have a single line referencing the value if 4096, so I am stumped. Is there any way I can determine how the process might have picked up the value of 4096?
Asked by theTuxRacer (1083 rep)
Oct 30, 2019, 09:33 AM
Last activity: Nov 22, 2019, 07:06 PM