Hi,

I meant I'm posting data from a form, javascript is collecting a series of 
numbers from a <input type=text> as a string.
Javascript seperates each number with a '/' then I use split within Perl to get 
the list of numbers into an array.

The length of the URL where the data is being posted to is just 
send_message01.pl
The length of URL is fine.

It's the length of the string being posted which causes problems. If I reduce 
it's length then it works.

I have a <FORM> with list of users and GSM numbers. If that list is about 600 
users it has worked fine. I was testing with about 4000 users when I came 
across this problem.






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

scott.alexan...@humak.fi<mailto:scott.alexan...@humak.fi>

________________________________
From: Russell Lundberg <lundberg.russ...@gmail.com>
Sent: 09 February 2020 12:12
To: Scott Alexander <scott.alexan...@humak.fi>
Cc: modperl@perl.apache.org <modperl@perl.apache.org>
Subject: Re: POST large amount of data causes segmentation fault

Scott,

Are you saying that the incoming request has a length of 42,000+ characters?

Apache docs say 8,192 characters is the maximum length of a URL.

Would it be possible to reduce the length of the request until the segmentation 
fault stops occurring?
--
Russell Lundberg
Latest Blog Post for Telecom Pros:  Are you stuck with a messy mobile 
network?<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fpulse%2Fyou-stuck-messy-mobile-network-russell-lundberg%2F&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832316870&sdata=g2VxSCwTl1pz1jweDR6TT0qN9BUHEXxb7n06dcTV634%3D&reserved=0>
Denver, Colorado +1 (808) 217-6975
Follow me on 
LinkedIn<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fth.linkedin.com%2Fin%2Frusselllundberg&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832316870&sdata=ce7xE6Pf5ZPZKpmvx%2FmyxlFTT2wDW6sKxXzAzTvuLnk%3D&reserved=0>
 | 
Twitter<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fintent%2Ffollow%3Fscreen_name%3Dtelecomvoices&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832326861&sdata=19UcZ%2Fy3nYBZXlQIemhpMe3Hxny1Oocvob02BSctkek%3D&reserved=0>
 | Let's 
talk<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapp.acuityscheduling.com%2Fschedule.php%3Fowner%3D14702481%26appointmentType%3D8878125&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832336856&sdata=X%2FX2ndBiqmihpNjNB%2FuomBiBur6OjqDrDSEzkNDheGA%3D&reserved=0>
 | Subscribe to CafeTele 
Newsletter<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcafetele.ck.page%2Fnewsletter&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832336856&sdata=ka4gOUc%2FRvbgeBm%2FV63A5irCo7tkiy4DbcskuCZ8R6o%3D&reserved=0>


On Sun, Feb 9, 2020 at 4:49 PM Scott Alexander 
<scott.alexan...@humak.fi<mailto:scott.alexan...@humak.fi>> wrote:
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

scott.alexan...@humak.fi<mailto:scott.alexan...@humak.fi>

Reply via email to