This is for my elasticsearch application, which terminates at startup showing :
bootstrap checks failed : max file descriptors  for elasticsearch process is too low, increase to at least 
I made changes in my limits.conf file for changing
nofile to 65536 as below:
* soft nofile 65536 * hard nofile 65536
and restarted a new session for the same user (non-root user), but when i open a new session first thing i get on my terminal is:
bash: ulimit: max user processes: cannot modify limit: Operation not permitted
and my ulimit does not change as well. What could be the reason? though i am successfully able to change it for root user.