solaris compile question

From: Michael S. Tan (mtan@m2tan.com)
Date: Wed Jul 24 2002 - 23:32:33 CEST


Hey all,

trying to compile pen on solaris 8/UltraSPARCIIi and I want to bump up
FD_SETSIZE to say, 10240 which *should*? give me a max concurrent users of
(10240-10)/2 == 5115, well, it doesnt. it still says:
Number of simultaneous connections to large.
Maximum is 507, or re-build pen with larger FD_SETSIZE

when i try to run `pen ... -c 5115 ....`

here is my configure option

./configure \
--with-fd_setsize=10240

**fyi: if you're compiling on solaris, inet_aton is in libresolv...
configure will say that inet_aton is not available... it is, its just that
solaris hides it! (set 'LIBS = -lsec -lgen -lsocket -lnsl -ldl -lresolv'
in the Makefile.... ---this helped me)
make and make install does the job with no reported errors.

btw, does anyone have an idea on what other platforms concurrent users
limitations are? so far, ive discoverd for linux and solaris its 507
(which probably comes from [1024-10]/2?)

any information would be greatly appreciated!

thanks!

||| | | || | |||| | | |||
m i c h a e l s . t a n



This archive was generated by hypermail 2.1.2 : Wed Jul 24 2002 - 23:51:37 CEST