I have a few servers wherein the ulimit is set as 65536 while in some 200000.Not sure depending on what parameter it is taken, referred the question given on [On Linux - set maximum open files to unlimited. Possible?
But still not clear, what decides the max limit of File descriptors that we can set? Does it depend on memory? OS version or can it be anything. Or can I put any random number above 1024?