Solved

CGI's ON SOLARIS 2.5.1

Posted on 1998-05-05
1
314 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

776 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