/ Zope / Apsis / Pound Mailing List / Archive / 2005 / 2005-07 / max size for error pages?

[ << ] [ >> ]

[ Re: [Pound Mailing List] / Ximon Eighteen ... ] [ Logging and Stand-by servers / James Billson ... ]

max size for error pages?
Sascha Ottolski <sascha.ottolski(at)gallileus.de>
2005-07-06 17:42:11 [ FULL ]
Hi,

just a short one: How big is the buffer pound reserves for the error pages 
like

Err500 "/usr/local/etc/pound_error.html" ?

And, as the buffer is too small for us, where in the code is it defined  so we 
can increase it?


Thanks, Sascha

Re: [Pound Mailing List] max size for error pages?
Robert Segall <roseg(at)apsis.ch>
2005-07-07 13:18:01 [ FULL ]
On Wed, 6 Jul 2005 17:42:11 +0200 Sascha Ottolski
<sascha.ottolski(at)gallileus.de> wrote:
[...]
pages [...]

There is no limit to the size of the error pages. See config.c (the
function file2str()) - Pound will alloc as much memory as necessary.[...]

Re: [Pound Mailing List] max size for error pages?
Sascha Ottolski <sascha.ottolski(at)gallileus.de>
2005-07-07 13:25:03 [ FULL ]
Am Donnerstag, 7. Juli 2005 13:18 schrieb Robert Segall:[...]

hmm, did this change recently? I remember a posting from you saying that there 
was a limit. And our error page is always displayed only half of it, which is 
why I was asking.

Thanks, Sascha
[...]

Re: [Pound Mailing List] max size for error pages?
Ondra Kudlik <kepi(at)orthank.net>
2005-07-07 13:51:18 [ FULL ]
Thu, Jul 07, 2005 ve 01:25:03PM +0200, Sascha Ottolski napsal:[...]

I have same problem... 
[...]

Re: [Pound Mailing List] max size for error pages?
Robert Segall <roseg(at)apsis.ch>
2005-07-07 13:57:33 [ FULL ]
On Thu, 7 Jul 2005 13:25:03 +0200 Sascha Ottolski
<sascha.ottolski(at)gallileus.de> wrote:
[...]

No, the code has been there since the beginning. I have no idea why
should you suddenly see problems.[...]

Re: [Pound Mailing List] max size for error pages?
Sascha Ottolski <sascha.ottolski(at)gallileus.de>
2005-07-07 16:29:44 [ FULL ]
Am Donnerstag, 7. Juli 2005 13:57 schrieb Robert Segall:[...]

sorry that I was un-precise. we see the problem since we use pound; we 
currently have 1.8 running, so I thought that there might have been changes 
after that release.

a while ago, you explained that phenomen 
(http://www.apsis.ch/pound/pound_list/archive/2004/2004-09/1095256230000/index_html?fullMode=1#1095337109000
):

"Most likely the page you defined is too large. Have a look at http.c - the 
error page, inclusive of headers, should fit in MAXBUF bytes. Try making your 
page shorter and you'll see it in full."


Thanks again,

Sascha
[...]

Re: [Pound Mailing List] max size for error pages?
Robert Segall <roseg(at)apsis.ch>
2005-07-07 17:39:38 [ FULL ]
On Thu, 7 Jul 2005 16:29:44 +0200 Sascha Ottolski
<sascha.ottolski(at)gallileus.de> wrote:
[...]

That is correct. The file itself may be of any size - Pound will read it
in full. Unfortunately, when the response is generated, this is
currently limited to a bit less than  MAXBUF (default: 2K) size. I'll
change that in the near future.[...]

MailBoxer