I would like to permanently set the open file limit for all users in Centos 7, but there seems to be a lot of conflicting information out there on the googles.
If you want to increase file limit for system service you'll have to edit
[Service] ... LimitNOFILE=8192
systemctl daemon-reload to activate changes.
Please refer to systemd execution Limit directives documentation