POST large amount of data causes segmentation fault

Scott Alexander <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <HE1PR0302MB262008F062C205059F478D329C1E0@HE1PR0302MB2620.eurprd03.prod.outlook.com>
Hi,

I have in my code

$req = Apache2::Request->new($r);

My code gets to line 41 then causes a "child pid 13766 exit signal Segmentation fault (11)"

$r->log_error("LINE 41") ;
@number = split /\//, $req->param("numbers") ;
$r->log_error("LINE 43") ;

the incoming numbers contains a string of mobile numbers which in this test is 3900 numbers long and each number is 10-12 characters long. javascript tells me the length of the posted string is 42260 characters long.

Any idea how to fix this problem?

httpd -v
Server version: Apache/2.2.15 (Unix)
Server built:   Jun 19 2018 15:45:13

but I get the same error on the production server which is

Server version: Apache/2.4.6 (CentOS)
Server built:   Aug  8 2019 11:41:18


Terveisin/Regards

Scott Alexander
Asiantuntija, järjestelmät  Systems Specialist

Humak
Humanistinen ammattikorkeakoulu
University of Applied Sciences
www.humak.fi<http://www.humak.fi/>

Tel. +358 (0)50 411 9556

[email protected]<mailto:[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.