Re: [Server-devel] Notes on Flashing the NAND over the LAN

2011-01-17 Thread James Cameron
On Mon, Jan 17, 2011 at 03:06:52PM -0600, Anna wrote:
> I looked into this a little more and found, per http://httpd.apache.org/docs/
> trunk/mod/mod_reqtimeout.html that module is for Apache 2.2.15 and later.  The
> Apache version on XS 0.6 is a bit long in the tooth.
> 
> [root@schoolserver ~]# httpd -v
> Server version: Apache/2.2.9 (Unix)
> Server built:   Jul 14 2008 15:36:56
> 
> Anyone have ideas for a workaround?

I suspect there is a timeout in Apache core for that version, and that
2.2.15 moved the feature into a module.  See the TimeOut directive:

http://httpd.apache.org/docs/2.0/mod/core.html#timeout

The default of five minutes seems quite sufficient.

You might also prove if it is a cause, using tcpdump to capture the port
80 TCP stream, then analyse it to see if the connection was closed
prematurely by the server.  Only then try changing the timeout.

If you see OpenFirmware's side of the packet stream misbehaving, let me
know.

-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Notes on Flashing the NAND over the LAN

2011-01-17 Thread Anna
On Sun, Jan 16, 2011 at 9:43 PM, James Cameron  wrote:

> I don't know about the Apache version used on the XS, but on a desktop
> here the edit was in /etc/apache2/mods-available/reqtimeout.conf and
> changed
>
> RequestReadTimeout header=20-40,minrate=500
> RequestReadTimeout body=10,minrate=500
>
> to
>
> RequestReadTimeout header=20-40,minrate=50
> RequestReadTimeout body=20,minrate=50
>
>
I looked into this a little more and found, per
http://httpd.apache.org/docs/trunk/mod/mod_reqtimeout.html that module is
for Apache 2.2.15 and later.  The Apache version on XS 0.6 is a bit long in
the tooth.

[root@schoolserver ~]# httpd -v
Server version: Apache/2.2.9 (Unix)
Server built:   Jul 14 2008 15:36:56

Anyone have ideas for a workaround?

Anna Schoolfield
Birmingham
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel