Checking and Setting Limits? (Linux)

I’m coming from MySQL where I had to only increase my ulimit for my mysql group, then adjust the conf, but with MongoDB I followed the guide here: and increased the ulimit but I’m not sure how to check for limits within the database such as max processes, ect…and where to set them.

With MySQL even if you set the ulimit to say 64000 you still had to set the conf to match as well. I’m not sure if MongoDB scales for me or if I need to also manually adjust things.

I did check /lib/systemd/system/mongod.service and it does have:


So it appears to have set this. Is there a command when using the shell to see? Much like in MySQL when you type:

show max_files_per_process;

Thanks for any help!