Quote:
Originally posted by manhvt
Hi all,
Please help me .
I deverloped a server program in linux 9 kernel 2.4.20. I want my server has high performance. Could you tel me how to increase max thread and memory in my program more than OS default ? My server can support many session so It need run many thread and used much memory.
Thanks for your helps.
|
The only real limits are imposed by your architecture. Meaning, on a 32-bit system each process has access to 3G of VM so once the executable and shared libraries are mapped in you have slightly less than that for real use. And I believe the only limit on number of threads is how many processes you can have, probably 32768.
Now some distributions will limit memory usage and number of processes per-user for security reasons, is that what you're running into?