?
Solved

CGI's ON SOLARIS 2.5.1

Posted on 1998-05-05
1
Medium Priority
?
330 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
mrausch earned 320 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses

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