A recent change to AOLserver (4.0.10) allows you to start the server
with the fd rlimit > FD_SETSIZE (1024) for AOLserver applications that
require it (and do NOT use select()).  This is an advanced capability
with many dangers: when fd rlimit is set > FD_SETSIZE, things like
ns_sockselect are no longer safe to use when more than FD_SETSIZE fd's
are in use.

Currently, out of the box, only the http.tcl (ns_httpget, ns_httppost)
and sendmail.tcl (ns_sendmail) use ns_sockselect.  Also, parts of the
underlying Tcl core use select(), so using those parts of Tcl will also
be unsafe.

If you're observing strange segfaults/crashes with newer AOLserver
4.0.x, check what rl_cur and rl_max are (see server log at startup) and
ensure "ulimit -n" is set to FD_SETSIZE, or generally 1024.

-- Dossy

-- 
Dossy Shiobara                       mail: [EMAIL PROTECTED] 
Panoptic Computer Network             web: http://www.panoptic.com/ 
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to