Re: Trouble Setting POST_MAX
[prev]
[thread]
[next]
[Date index for 2005/02/22]
jonathan vanasco wrote:
> Author: pileswasp <pileswasp@xxxxxxx.xxx>
> > .1 * 1024 * 1024 = 104857.6
> > Perhaps .6 of a byte is difficult for it to cope with?
>
> Probably -- but that doesn't seem to be it either.
>
> I think maybe there was an issue with my compile ?
>
> I tried using every book and web example I could find -- here are 2,
> and the errors they made
>
> my $r = Apache::Request->new(
> shift,
> POST_MAX => 1024000
> );
>
> [Mon Feb 21 22:06:24 2005] [notice] child pid 7557 exit signal Bus
> error (10)
>
>
> my $r = Apache::Request->new
> (
> shift,
> POST_MAX => 10240,
> DISABLE_UPLOADS => 0
> );
> [Mon Feb 21 22:13:34 2005] [notice] child pid 7587 exit signal
> Segmentation fault (11)
>
>
Yet another example, but anyways:
my $r = Apache::Request->new
(
shift,
POST_MAX => "1M",
DISABLE_UPLOADS => 0
);
This is the way I'm using it.
And since it is segfault, may be analyzing "core" file with gdb can be
of some use.
--
Maxim Sloyko
 |
 |
Re: Trouble Setting POST_MAX
Maxim Sloyko 06:14 on 22 Feb 2005
|