*/ public function getListeners(): array { return [ 'pthread_create failed', 'failed to create thread', 'unable to create thread', 'unable to create native thread', 'unable to create new native thread', 'exception in thread "craft async scheduler management thread"', ]; } public function getId(): string { return 'pid_limit'; } public function getAction(): Action { return Action::make($this->getId()) ->requiresConfirmation() ->icon('tabler-alert-triangle') ->modalHeading(fn () => auth()->user()->isAdmin() ? 'Memory or process limit reached...' : 'Possible resource limit reached...') ->modalDescription(new HtmlString(Blade::render( auth()->user()->isAdmin() ? <<<'HTML'
This server has reached the maximum process or memory limit.
Increasing container_pid_limit
in the wings
configuration, config.yml
, might help resolve
this issue.
Note: Wings must be restarted for the configuration file changes to take effect
HTML : <<<'HTML'This server is attempting to use more resources than allocated. Please contact the administrator and give them the error below.
pthread_create failed, Possibly out of memory or process/resource limits reached