Thanks for the help! The ns_limits command on the config file worked
perfectly. Also, thanks Tom for the code snippet, it will be useful for me
for future debugging.

-- Pedro

PS: I'll make sure I read the release notes more carefully from now on =)

On 8/10/07, Nathan Folkman <[EMAIL PROTECTED]> wrote:
>
> Here's an example showing how to find what is currently configured, as
> well as how to update the "maxupload" value. You can reset the value
> directly in your AOLserver configuration file if you'd like.
>
> Welcome to server1 running at /usr/local/aolserver/bin/nsd (pid 570)
> AOLserver/4.5.0 (aolserver4_5) for osx built on May 11 2007 at 17:19:41
> CVS Tag: $Name:  $
>
> server1:nscp 1> ns_limits list
> default
>
> server1:nscp 2> ns_limits get default
> nrunning 0 nwaiting 0 ntimeout 0 ndropped 0 noverflow 0 maxwait 100
> maxupload 10240000 timeout 60 maxrun 100
>
> server1:nscp 3> ns_limits set default -maxupload [expr 10240000 * 2]
> nrunning 0 nwaiting 0 ntimeout 0 ndropped 0 noverflow 0 maxwait 100
> maxupload 20480000 timeout 60 maxrun 100
>
> Hope that helps!
>
> - n
>
>
> On 8/10/07, Dossy Shiobara <[EMAIL PROTECTED]> wrote:
> >
> > On 2007.08.10, Pedro Liska <[EMAIL PROTECTED]> wrote:
> > > I'm using AOLserver 4.5.0 with nsopenssl v3_0beta26 . When I post a
> > file
> > > that is greater than 10MB to the server, I get a "The connection was
> > reset"
> > > error in Mozilla and a "Internet Explorer cannot display the webpage"
> > error
> > > in IE7.
> >
> > Connection-oriented limits are now specified with the "ns_limit" command
> > in 4.5.0 -- here's the snippet from the RELEASE file:
> >
> >     ns_limit:
> >         The "ns_limit" command enables setting various resource
> >         limits for specified method/url combinations. These limits
> >         include such items as max concurrent connections, max file
> >         upload size, and timeouts waiting for connection processing.
> >         When limits are exceeded, connections are immediately
> >         dispatched to a dedicated "error" connection processing
> >         pool to generate a quick error response. By default all
> >         requests share the same default limits.  Coupled with the
> >         new "ns_pools" command, URL-based limits can provide for
> >         sophisticated resource management.
> >
> > -- Dossy
> >
> > --
> > Dossy Shiobara              | [EMAIL PROTECTED] | http://dossy.org/
> > Panoptic Computer Network   | http://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.
> >
>
>
>
> --
> Nathan Folkman
> [EMAIL PROTECTED]
>
>
> --
> 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.
>
>


--
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