On Wed, 2002-11-06 at 03:18, 史绪良 wrote: > > hello!! > can you help me?? > > my program need many thread, they will not exit never. but redhat > linux7.3 - linux8.0 only create 256 thread!! how can I do??
I don't think that so many threads are a good thing, but it's your problem :-). Anyway, if you want to bypass the 256 files (or threads, or processes) limit you can try something like that: echo "65535" > /proc/sys/fs/file-max If it works you can make the change permanent with an entry in /etc/sysctl.conf. > thanks!! > > -- Andrea Dell'Amico - <mailto:[EMAIL PROTECTED]> Sendmail may be safely run set-user-id to root. -- Eric Allman, "Sendmail Installation Guide" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list