Increasing the hard limit

To increase the hard limit, use a program like the sample program shown in “Sample program”.

StepsSetting up the sample program to increase the hard limit

  1. Use an ASCII editor to create file_name.c (where file_name is the name you give the file). Type the text shown in the sample in “Sample program”.

  2. Compile the file:

    cc file_name.c -o program_name
    

    where file_name is the name of the source file you created, and program_name is the name you want to give the program.

  3. Change the program’s permissions and ownership so that it will execute as “root”:

    chmod 755 program_name 
    chown root program_name
    

    where program_name is the name of the compiled program.

  4. The “root” user can use the program to start the Cluster Edition with increased user connections by typing the following command at the operating system prompt:

    # program_name dataserver -d master_device_name
    

    where program_name is the name of the compiled program, and master_device_name is the full path of the Cluster Edition’s master device. Instead of typing the command at the operating system prompt, you can add program_name preceding the dataserver command line in the the Cluster Edition RUN_server_name file.