Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Contrail] Core dump while using



Article ID: KB36520 KB Last Updated: 22 Feb 2021Version: 1.0

The purpose of the Database Management Tool ( scrip​t) is to check, heal and clean inconsistent DB entries.

This article describes a scenario where is not working.

Segmentation fault (core dumped) while using script.


In case of a large database, connection-timeout must be specified to avoid timeout.


By default, in each version of Contrail, the script is located inside the container config_api (/usr/lib/python2.7/site-packages/vnc_cfg_api_server).

Solution 1
  • Individual connection timeout and buffer size user is configurable in script.
  • Add argument 'connection-timeout' and 'buffer-size in script'
python clean --connection-timeout 30 --buffer-size 20

(Note: There is no recommended value for --connection-timeout and --buffer-size because these values change per size of the database/environment. These argument values must be added and adjusted on a trial basis.)


  '--connection-timeout (default=0.5)' = 'Individual Connection timeout, in seconds'
  '--buffer-size  (default=1024)' = 'Number of rows fetched at once'

Solution 2
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search