max open file size limit problem
- From: avinpatel@xxxxxxxxx
- Date: 6 Mar 2007 14:14:19 -0800
Hi,
I have problem with maximum number of incoming socket connection to be
accepted, is limited to 1018. I found it is because of linux system
default open file size limit of 1024.
I have tried the ulimit -n 20000.
I am trying to open/accept 2000 incoming socket connect. After above
change, accept() function doesn't return error "Too many open files",
But it just hangs over there. It also doesn't work.
Any idea why?
How to find where current process is looping?
I have also tried
#echo "20000" > /proc/sys/fs/file-max
But no difference, Program still hangs after opening 1018 incoming
connections.
Thank you,
Avin Patel
.
- Follow-Ups:
- Re: max open file size limit problem
- From: avinpatel
- Re: max open file size limit problem
- Prev by Date: Re: Script or Program to check & view what's cached on the local news server ?
- Next by Date: Re: max open file size limit problem
- Previous by thread: Has password authentication changed in RHEL?
- Next by thread: Re: max open file size limit problem
- Index(es):
Relevant Pages
|