Max open connections

J.L. Coenders fedora at universalgrid.nl
Sat Sep 4 12:21:29 UTC 2004


On Saturday 04 September 2004 11:39 am, d l wrote:
> Hi,
> How to set per process max_open_connections in FC2?
> I am having trouble with runaway p2p applications which
> open too many connections and trashed the NAT router.
>
> Thanks,
> DL
>
> __________________________________
> Do You Yahoo!?
> http://bb.yahoo.co.jp/

First search the mailinglist archives, since an answer to your question 
already has been thoroughly discussed, and I quote:
---
/etc/security/limits.conf is the right place:
[root at asp5 root]# cat /etc/security/limits.conf |grep nofile
#        - nofile - max number of open files
notes           soft    nofile          90000
notes           hard    nofile          90000
[root at asp5 root]# su - notes
[notes at asp5 notes]$ ulimit -a|grep files
open files                    (-n) 90000

Rainer
---

- Jeroen





More information about the users mailing list