Linux: limits.conf values are not honored
You are changing hard limit values and querying soft limit values. Everything is working fine. Use ulimit -H
to view hard limits.
limmits are loaded upon logon. change
/etc/security/limits.conf
...... logout and log back in.