You are not logged in.
Hi,
back when I was using XP I needed to patch a system file to increase max amount of open TCP connections - you surely know about this. I'm wondering how do I do the same in GNU/Linux and if that's real important here.
Also, by default open files are set to 1024, how do I change that? I'm running x86_64 + KDE SC 4.4.2
Last edited by martin77 (2010-04-12 04:17:27)
Offline
No need to change the TCP connections/no such limitation under Arch to my knowledge. Dunno what you mean by 1024 open files.
Last edited by graysky (2010-04-11 22:22:46)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks for replying.
I mean "open file handler" or in a better GNU/Linux terminology "open file descriptors" aka the maximun number of files that can be accessed at a given time.
For instance, VMWare will need you increase them to 4096 to work properly - and I presume something in the order of 5120 would be ok.
Following The Arch Way, already found the solution and want to share it with all of you fellow n00bs:
1. you need to open for edit /etc/security/limits.conf file with root privileges
2. at the end of the file add:
* soft nofile nn
* hard nofile nn
where nn is the number of open file descriptors you want. I set them to 8196 (probably too high) so for instance it should read:
* soft nofile 8192
* hard nofile 8192
Read the embedded help for a better understanding of this crucial configuration file.
As usual, thank you very much to this great community, devs and users, best!
Last edited by martin77 (2010-04-12 04:18:47)
Offline