RE: Apache->print Timeout

2002-03-13 Thread Stathy G. Touloumis

Yeah that's what the Eagle book says.  I was surprised initially because our
timeout's are set to 10min. and the process seemed to end prematurely
(before 10min).

Thanks,

> > Do you know if this setting taken from the Apache conf
> directive 'Timeout'?
>
> $r->server->timeout directly gets/sets the value for the httpd.conf
> Timeout directive for the server in question - see Chapter 4 in the
> cookbook ;)
>
> I don't have a copy of the Eagle book in front of me, and we don't
> talk about these methods explicitly, but IIRC they manipulate Apache's
> internal timeouts, which are based on the Timeout setting.




Re: Apache->print Timeout

2002-03-13 Thread Perrin Harkins

Geoffrey Young wrote:
> I don't have a copy of the Eagle book in front of me

The API chapter is online and it talks about print() and timeouts:
http://modperl.com:9000/book/chapters/ch9.html

- Perrin




Re: Apache->print Timeout

2002-03-13 Thread Geoffrey Young

"Stathy G. Touloumis" wrote:
> 
> Thanks for the response,
> 
> Do you know if this setting taken from the Apache conf directive 'Timeout'?

$r->server->timeout directly gets/sets the value for the httpd.conf
Timeout directive for the server in question - see Chapter 4 in the
cookbook ;)

I don't have a copy of the Eagle book in front of me, and we don't
talk about these methods explicitly, but IIRC they manipulate Apache's
internal timeouts, which are based on the Timeout setting.

--Geoff



RE: Apache->print Timeout

2002-03-13 Thread Stathy G. Touloumis

Thanks for the response,

Do you know if this setting taken from the Apache conf directive 'Timeout'?

Thanks ,

> -Original Message-
> From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 13, 2002 10:41 AM
> To: Stathy G. Touloumis
> Cc: [EMAIL PROTECTED]
> Subject: Re: Apache->print Timeout
>
>
> "Stathy G. Touloumis" wrote:
> >
> > Does anyone know how to set the time out value for
> Apache::print to a higher
> > value if possible or how to avoid a timeout??  I am performing an import
> > into a database that can vary in time (1min - 10min) and I
> would need to be
> > able to handle this situation.  Would it be better to spawn a
> subprocess and
> > have the client refresh to monitor the result (like
> Apache::UploadMeter)?
> >
> > [Wed Mar 13 10:28:41 2002] [info] [client 192.168.6.22] mod_perl:
> > Apache->print timed out
>
> look at $r->reset_timeout and kin in the eagle book.  you can also set
> the value of Timeout for the server dynamically using
> $r->server->timeout.
>
> HTH
>
> --Geoff
>




Re: Apache->print Timeout

2002-03-13 Thread Geoffrey Young

"Stathy G. Touloumis" wrote:
> 
> Does anyone know how to set the time out value for Apache::print to a higher
> value if possible or how to avoid a timeout??  I am performing an import
> into a database that can vary in time (1min - 10min) and I would need to be
> able to handle this situation.  Would it be better to spawn a subprocess and
> have the client refresh to monitor the result (like Apache::UploadMeter)?
> 
> [Wed Mar 13 10:28:41 2002] [info] [client 192.168.6.22] mod_perl:
> Apache->print timed out

look at $r->reset_timeout and kin in the eagle book.  you can also set
the value of Timeout for the server dynamically using
$r->server->timeout.

HTH

--Geoff