On Fri, 8 Jul 2005, [gb2312] 顺珉 吴 wrote:
I am using gthread to create a multi-thread
program.Every thread will open many sockets, and I use
select() to handle them.
Now I find in linux, a fd_set could only accept 1024
fd.
The number of sockets one thread open can be
restricted, but if all threads in a process share the
same fd number, 1024 is too small for me.
You may be able to increase this limit.
man 2 setrlimit
or
http://www.gnu.org/software/libc/manual/html_node/Limits-on-Resources.html
HTH
JV
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list