perhaps i can add more info, after doing more investigation:
a. ulimit is a shell feature, it is not a command line binary. man
bash and man sh and u can see ulimit has different feature available for
u.
b. ulimit control all the resources defined by the processes spawn from
the current
one more:
To modify system-wide limits:
*/etc/security/limits.conf*
On Tue, Feb 12, 2013 at 5:31 PM, Peter Teoh htmldevelo...@gmail.com wrote:
perhaps i can add more info, after doing more investigation:
a. ulimit is a shell feature, it is not a command line binary. man
bash and man
On Mon, Feb 11, 2013 at 5:07 AM, horseriver horseriv...@gmail.com wrote:
thanks!
Actually , my question comes from network performance ,I want to know ,in
per second ,the
maximum of tcp connections that can be dealed with by my server.
AFAIK, the only way to find out is by doing
On Sat, 09 Feb 2013 13:10:47 +0800, horseriver said:
In one process ,what is the max number of opening file descriptor ?
Can it be set to infinite ?
In network programing ,what is the essential for the maximum of
connections
dealed per second
In general, you'll find that
On Mon, 11 Feb 2013 06:07:38 +0800, horseriver said:
Actually , my question comes from network performance ,I want to know ,in
per second ,the
maximum of tcp connections that can be dealed with by my server.
That will be *highly* dependent on what your server code does with each
Hi!
On 14:24 Mon 11 Feb , valdis.kletni...@vt.edu wrote:
On Sat, 09 Feb 2013 13:10:47 +0800, horseriver said:
...
In network programing ,what is the essential for the maximum of
connections
dealed per second
...
So the *real* question
becomes how many times per second is
Hi!
On 13:10 Sat 09 Feb , horseriver wrote:
hi:)
In one process ,what is the max number of opening file descriptor ?
Type ulimit -a in your shell. On my system (debian) the default is 1024.
Can it be set to infinite ?
Maybe, but at least it can be set very high.
In network
On Sun, Feb 10, 2013 at 8:29 PM,
mic...@michaelblizek.twilightparadox.comwrote:
Hi!
On 13:10 Sat 09 Feb , horseriver wrote:
hi:)
In one process ,what is the max number of opening file descriptor ?
Type ulimit -a in your shell. On my system (debian) the default is 1024.
Hi
Hi!
On 22:47 Sun 10 Feb , Peter Teoh wrote:
On Sun, Feb 10, 2013 at 8:29 PM,
mic...@michaelblizek.twilightparadox.comwrote:
Hi!
On 13:10 Sat 09 Feb , horseriver wrote:
hi:)
In one process ,what is the max number of opening file descriptor ?
Type ulimit -a in your
thanks!
Actually , my question comes from network performance ,I want to know ,in per
second ,the
maximum of tcp connections that can be dealed with by my server.
How can I do the test and calculate the connection number , Is it possible
that my server
can deal with 10k tcp
hi:)
In one process ,what is the max number of opening file descriptor ?
Can it be set to infinite ?
In network programing ,what is the essential for the maximum of connections
dealed per second
thanks!
___
Kernelnewbies mailing list
i can only make a general statement, may not be always true/false:
in the kernel almost EVERYTHING HAS TO BE FINITEand this is cater for
the fact that
but at the userspace or application level, u can design structures to be
infinite. eg, I used python for large number calculation, and so
Reference:
http://www.kernel.org/doc/man-pages/online/pages/man2/setrlimit.2.html
On Sat, Feb 9, 2013 at 6:08 PM, Gaurav Jain gjainroor...@gmail.com wrote:
I believe you can achieve the 'effect' of setting the maximum number of
open file descriptors to 'infinite' by using the following
I believe you can achieve the 'effect' of setting the maximum number of
open file descriptors to 'infinite' by using the following (untested code!):
snip
#include sys/time.h
#include sys/resource.h
struct rlimit rlim;
rlim.rlim_cur = RLIM_INFINTY;
rlim.rlim_max = RLIM_INFINITY;
int ret =
14 matches
Mail list logo