FeaturesWP CloudPricingEE CLIContactMy Account

Features

Team Access & User Permissions

Server Setup & Management

Site Creation & Management

Deployments & Developer Tools

Firewall Protection

Speed & Caching

Backups & Recovery

Logs & Monitoring

Create WP Cloud Sites

All Features

Read Documentation

Install

Installation Guide

FAQ

Roadmap

Explore EE CLI

Resources

Commands

Handbook

Blog

Community

Forum

EasyExperts

Tutorials

Subscribe

Github

CLEAR

Start For Free

separator Tutorials separator Linux separator kill all php, nginx, mysql or any kind of processes

Topics

On this page

To kill all PHP Processes

To kill all Nginx Processes

To kill all MySQL Processes

kill all php, nginx, mysql or any kind of processes

Important: This should be used in case of emergency only. 

Just one line…

To kill all PHP Processes


			kill $(ps aux | grep '[p]hp' | awk '{print $2}')
		

To kill all Nginx Processes


			kill $(ps aux | grep '[n]ginx' | awk '{print $2}')
		

To kill all MySQL Processes


			kill $(ps aux | grep '[m]ysql' | awk '{print $2}')
		

You can kill any other type of processes as well. Just make sure you replace [p]hp with name of that process. Remember to keep first letter in bracket.

Increase "Open Files Limit"

PREVIOUS

Passwordless Authentication for SSH

NEXT


Features

Useful Links

Product

Other Products

Subscribe for curated product updates, tips, and announcements.

"*" indicates required fields

Comments

This field is for validation purposes and should be left unchanged.

Email*

SIGN ME UP

Δ


© rtCamp, since 2009. All rights reserved.

Powered by