Configure compressed core dumps for NetScaler BLX

You can enable core dumps for NetScaler BLX using the core-dumps parameter in the blx.conf file.

The core dumps are generated according to the pattern in the core_pattern file on the Linux host:

 /proc/sys/kernel/core_pattern
<!--NeedCopy-->

If no pattern is present in the core_pattern file, the following pattern is added to the file for core dumps:

/var/core/core-%e-sig%s-user%u-group%g-pid%p-time%t
<!--NeedCopy-->

Enable core dumps using the blx.conf file

You must use the Linux host CLI to enable the core dumps.

  1. Open the blx.conf file by running the following command:

    Note:

    You can use any text editor to edit the blx.conf file.

    nano /etc/blx/blx.conf
    <!--NeedCopy-->
    
  2. Uncomment the core-dumps parameter and set it to 1, enable, or yes.

    blx-system-config
    {
            ...
            core-dumps: yes
            ...
    }
    <!--NeedCopy-->
    
  3. Save the blx.conf file.

  4. Restart BLX.

    systemctl restart blx
    <!--NeedCopy-->
    

After the BLX restarts, core dumps are enabled for BLX.

Disable core dumps using the blx.conf file

You must use the Linux host CLI to disable the core dumps.

Note:

If you enable core dumps on the Linux host, the core dumps are generated for BLX even if the core-dumps parameter is commented (disabled) in the blx.conf file.

  1. Open the blx.conf file by running the following command:

    Note:

    You can use any text editor to edit the blx.conf file.

    nano /etc/blx/blx.conf
    <!--NeedCopy-->
    
  2. Comment the core-dumps parameter.

    blx-system-config
    {
            ...
            # core-dumps: yes
            ...
    }
    <!--NeedCopy-->
    
  3. Save the blx.conf file.

  4. Restart BLX.

    systemctl restart blx
    <!--NeedCopy-->
    

After the BLX restarts, core dumps are disabled for BLX.

Configure compressed core dumps for NetScaler BLX