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.
- Open the
blx.conffile by running the following command:Note:
You can use any text editor to edit the blx.conf file.
nano /etc/blx/blx.conf <!--NeedCopy--> -
Uncomment the
core-dumpsparameter and set it to1,enable, oryes.blx-system-config { ... core-dumps: yes ... } <!--NeedCopy--> -
Save the
blx.conffile. -
Restart NetScaler BLX.
systemctl restart blx <!--NeedCopy-->
After the NetScaler BLX restarts, core dumps are enabled for NetScaler 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 NetScaler BLX even if the
core-dumpsparameter is commented (disabled) in theblx.conffile.
- Open the
blx.conffile by running the following command:Note:
You can use any text editor to edit the blx.conf file.
nano /etc/blx/blx.conf <!--NeedCopy--> -
Comment the
core-dumpsparameter.blx-system-config { ... # core-dumps: yes ... } <!--NeedCopy--> -
Save the
blx.conffile. -
Restart NetScaler BLX.
systemctl restart blx <!--NeedCopy-->
After the NetScaler BLX restarts, core dumps are disabled for NetScaler BLX.