Re: AW: Still much more than 350 sockets needed!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dnia 26-04-2006, śro o godzinie 13:15 -0600, Lamont R. Peterson
napisał(a):
> You had 1021 sockets.
Plus 3 other open descriptors (stdin, stdout, stderr), which make 1024.
As root you can type: limit descriptors 1048576 which is the hard limit
for root under FC5. But even as root I get the soft limit set to 1024
when I do su - by default. Maybe the discussion grandparent was running
a program which uses 3 open descriptors for every connection (separate
logfiles for every connection, probably? Separate "control" and "data"
connections, as in FTP?) and on another distro he was getting bigger
default soft limit for root?

Now my question. It's impossible to make 5000 connections as user under
Fedora. Can I change it? I thought it's controlled by #define OPEN_MAX
in kernel source (I guess it means files not file descriptors then), but
kernel-devel's limit.h has OPEN_MAX set to 256 and everyone here
confirms the limit is truly 1024, which is fs.h's INR_OPEN (and root's
hard limit is NR_OPEN). Does that mean the 1024 open connections are
kernel maximum changed only at compile time and there's no sysctl for
it?

Lam

Attachment: signature.asc
Description: To jest =?iso-8859-2?Q?cz=EA=B6=E6?= listu podpisana cyfrowo

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux