Solved

CGI's ON SOLARIS 2.5.1

Posted on 1998-05-05
1
306 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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now