A command fails with a `Killed` message

Edit on GitHub

Running a CLI command with a long execution time returns a Killed message.


  • In PHP settings, increase max_execution_time. In Docker based projects, you can do it via a Deploy file as follows:
  tag: ...
      'max_execution_time': 300
  • Increase PropelConfig class timeout:


class PropelConfig extends AbstractBundleConfig
    public const DB_ENGINE_MYSQL = 'mysql';
    public const DB_ENGINE_PGSQL = 'pgsql';

    protected const PROCESS_TIMEOUT = {process_timeout_value};


Replace {process_timeout_value} with a suitable value. We recommend setting the value that is just enough to run the command. Setting an unreasonably big value may cause performance issue.