incrementar file descriptors
Sandino Araico Sánchez
sandino en sandino.net
Mie Ago 9 18:34:50 CDT 2000
aardvark en mds.com.mx wrote:
> Hola gente
>
> ¿Alguien sabe cómo incrementar los "file descriptors"?
>
>
Creo que por aquí anda lo que buscas:
------------------------------------------------
Subject:
[patch] 2.4.0-test5-pre2, linux/arch/alpha/kernel/osf_sys.c
Date:
Wed, 19 Jul 2000 12:12:38 +1000
From:
"Andrew van der Stock" <ajv en greebo.net>
To:
Multiple recipients of list LINUX-KERNEL <linux-kernel en samba.org>
Allows alpha generic kernels to compile. Has a comment this time :-) Thanks
to Ivan for his patch.
diff -u linux/arch/alpha/kernel/osf_sys.c.orig
linux/arch/alpha/kernel/osf_sys.c
--- linux/arch/alpha/kernel/osf_sys.orig Wed Jul 19 11:55:03 2000
+++ linux/arch/alpha/kernel/osf_sys.c Wed Jul 19 11:59:18 2000
@@ -1076,7 +1076,13 @@
}
ret = -EINVAL;
- if (n < 0 || n > KFDS_NR)
+
+ /* OSF select(2) supports up to 64K open file descriptors per
+ * process.
+ * patch care of Ivan Kokshaysky <ink en jurassic.park.msu.ru>
+ */
+
+ if (n < 0 || n >= 64*1024)
goto out_nofds;
thanks,
Andrew van der Stock, ajv en greebo.net http://www.greebo.net
SAGE-AU President http://www.sage-au.org.au
--
Sandino Araico Sánchez
don't forget, the only reason we got pentium was that
intel added 486+100 and got 585.99999999993646872
--A. Coward
---------------------------------------------------------
para salir de la lista, enviar un mensaje con las palabras
"unsubscribe ayuda" en el cuerpo a majordomo en linux.org.mx
Más información sobre la lista de distribución Ayuda