[svlug] file descriptors

Tin Le tin at le.org
Thu Jun 8 10:02:13 PDT 2000


-----BEGIN PGP SIGNED MESSAGE-----

A process when started will use 3 fds - stdin, stdout and stderr.  So unless
a process arrange to close them right after starting, it's a minimum of 3.

Quite a number of apps have large fd requirements.  Web servers, DBs.

Tin Le
- ----
http://tin.le.org
Internet Security and Firewall Consulting
Tin Le - tin at le.org


> I am just curious ...
> AFAIK a file descriptor is created each time a process open a file.
> Why would you use more than 4096 open files ?

> | 
> | >$  ulimit -HSn 4096
> | >ulimit: cannot raise limit: Operation not permitted
> | >
> | >thanks for trying to help me :)
> | >
> | >any other ideas?
> | 

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAgUBOT/RjhiIIbPkDHhBAQHnvAP+ILX8rcwUAR8vQ4br8lbGfk/kozzfyDD6
i4Nfw0IgwFrMllUb8u9puO8tIrzo01A31xyp1zrsLNPU3de3clP1l3As8d3ozpjw
GrE96q7A/dRBfB+W7eL5z8udnPcH9k9H4usyzywenQhJUZb+y7Avh/dxt9jg2yV+
2vKb2nMM/ck=
=a1DR
-----END PGP SIGNATURE-----






More information about the svlug mailing list