The example in this article tells the python hint [Errno 32]broken pipe causes a thread crash error resolution. Share to everyone for your reference. The specific methods are as follows:
1. Error phenomenathe HTTP service implemented by
Python prompts [Errno 32] How to Solve the thread crash error caused by Broken pipe, errnocrash
This example describes how to solve the thread crash error caused by the Python prompt [Errno 32] Broken pipe. Share it with you for your reference. The
Recently Learning es (elastic search), refer to the http://www.learnes.net/inside the official authoritative guide (later found that the official website has launched the Chinese version of the document). Some examples in this example simplify the
Unless you have recently installed third-party software that is of interest to developers, you are likely to be advised to install it directly from the network using the following command.?
1
1 Error phenomena
The HTTP service implemented by Threadinghttpserver, if the client is actively disconnected before the server returns, the server side will report [Errno] broken pipe wrong and cause the processing thread to crash.
Let's take a
Linux security vulnerability: Do not pipe the output content to your shell
It is silly to pipe the content output by wget or curl to bash or sh, for example:
wget -O - http://example.com/install.sh | sudo sh
Command explanation:The-O parameter of
1. Linux system service ManagementTool NTSYSV similar to the graphical interface management tool, if no command is installed using Yum install-y NTSYSVCommon services: Crond, iptables, Network, sshd, Syslog, Irqbalance,sendmail,
Linux system service Management1. Linux system service ManagementTool NTSYSV similar to the graphical interface management tool, if the command is not installed using theInstallation:Yum install-y ntsysvCommon services: Crond, iptables, Network,
Common Application of the CLI
What is PHP-CLI
PHP-CLI is php Command Line Interface the abbreviation, that is, the PHP command line interface, under Windows and Linux are supported PHP-CLI mode;
Why to use PHP-CLI
Multithreaded applications
Xargs used in bulk operations behind pipe symbolsFind. -mtime +10 |xargs RM-RFls-d./|xargs-n1-i{} mv {} {}_bakBoth exec and find useFind files with the current directory creation time greater than 10 days and delete: Find. -mtime +10-exec RM-RFBatch
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.