The Web server encountered a strange problem, in the running of many apache2 processes, there will be a process, slowly fill the full memory, and then the machine is like dead, write an automatic check script, check and kill the problem of the apache2 process, the issue is mitigated, but not resolved, Because it slowly fills up the memory, Linux releases the HDD cache and periodically has performance degradation. Using RLIMITMEM parameters to limit memory, also does not work, bw_mod limit traffic also does not work today modified the script, ...
See how many active httpd scripts are in the Linux system? We can use the following shell script to view: #!/bin/shwhile (True) dopstree |grep "*\[httpd\]$" |sed ' s/.*-\ ([0-9][0-9]*\) \*\[httpd\]$/\1/' Sleep 3done
"Editor's note" as an operating system, CoreOS uses a highly streamlined system kernel and peripheral customization to implement many of the functions that require complex human operations or Third-party software support at the operating system level, while excluding other software that is not core to the server system, such as GUI and package manager. Linfan, a software engineer from ThoughtWorks, will bring the "Walk Cloud: CoreOS Practice Guide" series to take you through the CoreOS essence and recommended practice. This article is based on the third article: System Services Housekeeper SYS ...
This article is to achieve the goal: the perfect control of laptop LCD screen saver and black screen, specifically to achieve 1. Normal mouse 10 minutes without action, the LCD into the screensaver, 15 minutes without action, the LCD completely power off 2. MPlayer when watching movies, constantly do not screen saver power. 3. When pressing the ALT, lock the screen immediately and power off the LCD. Apply to the crowd: Linux users (nonsense, I do not have the conditions to test BSD and other *nux), GNOME users, Compiz users, using the command line to start the MP ...
MySQL has become one of the most widely used databases in the current network, especially in Web applications, which occupy the absolute advantage of small and medium applications. It all stems from its compact, safe, efficient, open licensing and multi-platform, and, more important, the perfect combination of--php with one of the three web languages. Unfortunately, a default installation of MySQL, because the root password is empty and the program vulnerabilities caused by the overflow, so that the installation of MySQL server is a frequent target. What is more serious is that the database is often destroyed after the attack, causing disaster easily ...
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.