>>>>> "Emiliano" == Emiliano Valente <emiliano@xxxxxxxxxxx> writes:
Emiliano> cd /usr/src/linux/include/linux and change NR_OPEN in fs.h
Emiliano> and limit.h then recompile
Note that if you increase NR_OPEN, you should also increase NR_INODE
and NR_FILE (which are system-wide limits). While the latter two can
be changed dynamically through /proc/sys/kernel/, if you're going to
increase NR_OPEN you should increase the defaults for the other two as
well.
Looking at glibc 2.0, it can handle up to 1024 file descriptors in
fd_set so you probably don't even need to recompile.
- Andrew
--
#!/usr/bin/env python
print(lambda s:s+"("+`s`+")")\
('#!/usr/bin/env python\012print(lambda s:s+"("+`s`+")")\\\012')
print(lambda x:x%`x`)('print(lambda x:x%%`x`)(%s)')
Attachment:
pgp00002.pgp
Description: PGP signature