increase file descriptor limit

How does one increase the max file descriptor limit for a given process? Right now it is unlimitTed but I can only open 1024 file from any of my programs. My programs are segmenting after 1024! I am using 11.86-64. It worked using 11.1 32 bits.


View your current soft and hard limits with

ulimit -aS
ulimit -aH

and check

man limits.conf

to see how to change it. Some more info can be found here: Performance tuning.