Solved

CGI's ON SOLARIS 2.5.1

Posted on 1998-05-05
1
318 Views
Last Modified: 2013-12-27
We have done several tests with differents QUERY_STRINGS lengths.
With 4065 characters or less, the CGI runs fine but with 4066 no.

I think the environment size of our machine is 4KB.

Our OS is Solaris 2.5.1
Is the environment size equal to max bytes on queue(MSGMNB)?
Is this value tunable?
0
Comment
Question by:carlos0007
1 Comment
 
LVL 1

Accepted Solution

by:
mrausch earned 80 total points
ID: 2006629
The value of MSGMNB is the maximum lenght of a messages queue
in SYSV IPC.
The maximum size of the environment, or better, the length of
all arguments to the process plus the environment is fixed at
ARG_MAX bytes. Under Solaris, this is 1MB and you can easily
check that Solaris accept larger environments than the 4k with
something like
YOOHOO=`cat /var/adm/messages`; export YOOHOO; sh -c 'echo $YOOHOO|wc'

I suppose the web server you use limits the size of the QUERY_STRING somehow. If this is the case and you've got the
source code, you might be able to change this.



0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question