logrotate

Alibabacloud.com offers a wide variety of articles about logrotate, easily find your logrotate information here online.

[Turn]odoo Common openerp-server.conf configuration parameter detailed

the log LogFile = Openerp-server.log Logrotate Whether to store logs by day Logrotate = False Workers Number of processors to use Workers = None Xmlrpc Whether to prohibit the use of the XML-RPC protocol XMLRPC = True Xmlrpc_port TCP port used by the XML-RPC protocol, cannot specify 80 Xmlrpc_port = 8069

Nginx Common Log Segmentation method Nginx Apache nginx php nginx rewrite

the logrotate to do the Nginx log poll logrotate look at the name to know is dedicated to do log polling, only the task configuration placed in/ etc/logrotate.d/, the task will be completed automatically, and no installation, the system comes with, it is recommended to use. Vi/etc/logrotate.d/nginx/usr/local/nginx/logs/www.willko.cn.log/ Usr/local/nginx/logs/nginx_error.log {notifempty daily sharedscripts

Awstats website traffic statistics _ MySQL

resolution time for each different IP address in your logfile if DNSLookup is set to 1 and not already done in your log file ).See Benchmark page for more accurate information. * Step 1-2: AWStats statistics can be updated from a browser, to provide real-time statistics, by clicking the "Update now" link that appears when AWStats is used as a CGI (Next section 'read Statistics dynamically 'gives you URL to use for that ).Warning !!To enable this link, your parameter AllowToUpdateStatsFromBrowse

Usr/bin/mysqladmin: refreshfailed; error: & amp; #39; Unkn_MySQL

Usrbinmysqladmin: refreshfailed; error: amp; #39; Unknownerroramp; amp; #39; after upgrading debian wheezy, the password is changed due to an authorization error, mysql safe in debian cannot be accessed either. I have changed bind-address to the LAN ip address in/etc/mysql/my. cnf. And then executed Grant all privileges on *. * TO 'root' @ '%' identified by '000000' with grant option; Then, reload the authorization table: Flush privileges; After the restart, although remote connection is avail

Comparison of CGI, FastCGI, php-CGI, PHP-FPM, and Spawn-FCGI in PHP environment configuration? _ PHP Tutorial

source code before using it after compiling and installing PHP. Now we can download the source code tree in the latest PHP 5.3.2 to directly integrate the branch of the PHP-FPM, it is said that the next version will be integrated into the main branch of PHP. Compared with Spawn-FCGI, PHP-FPM has better control over CPU and memory, and the former is easy to crash and must be monitored with crontab, while PHP-FPM has no such troubles. PHP5.3.3 has already integrated php-fpm and is no longer a thi

One command to diagnose the Ossim system

of packages. Adding or deleting packages manually is not supported and may leads to unexpected results[*] Version Compliance:some package versions don't match with the installed AlienVault versionWord of Advice:alienvault packages is built and tested to work in a version consistent fashion. Inconsistent versions across different AlienVault packages could leads to unexpected issues.Plugin superdoctor didn ' t run:required file "/USR/SBIN/SDT" does not existPlugin:percona_logrotate[*] Signatures:

Redhat6 RPM Common commands for software management

@ ASDF /] # Rpm- Q Yum # Q, queryYum - 3.2 .29 - 17 . El6.noarch [root @ Peano /] # Rpm- QA Yum # This command is not as fast as the previous commandYum - 3.2 . 29 - 17 . El6.noarch [root @ Peano /] # Rpm-Qa | grep Yum # This command uses pipelines for regular matchingYum -Metadata-parser- 1.1 .2 - 16 . El6.i686packagekit -Yum- 0.5 . 8 - 19 . El6.i686yum -Utils- 1.1 . 30 - 6 . El6.noarchyum -RHN-plugin- 0.9 . 1 - 26 . El6.noarchpackagekit -Yum-plugin- 0.5 . 8 - 19 . El6.i686yum - 3.2 .

Xen virtual machine hangs, host the problem of suspended death, the whole idea

, log files are deleted?The answer is that after the virtual machine hangs, the tapdisk process of the VM on the host keeps brushing the log until the disk is maxed out, causing the virtual machine to restart, because the host's disk space is full. However, if the log size exceeds the size of the log scrolling triggered, the log has a backup operation, and after scrolling just better than the preset maximum number of reserved limit, the file will be deleted[[emailprotected]/]#rpm-vvelasticsyslog

What are CGI, FastCGI, php-cgi, PHP-FPM, spawn-fcgi?

branch of PHP. Relative SPAWN-FCGI,PHP-FPM in the CPU and memory control are better, and the former is easy to crash, must be monitored with crontab, and PHP-FPM does not have this annoyance.PHP5.3.3 has integrated php-fpm, no longer a third-party package. PHP-FPM provides a better way to manage the PHP process, can effectively control the memory and process, can be smooth overloaded PHP configuration, more than spawn-fcgi have a bit more, so by the official PHP included. The PHP-FPM can be tur

A link-related story --------- server IO and network traffic surge

special ports. The log is indeed a little big, but it is not as big as it is, then a manual split is executed immediately. Logrotate-vf/etc/logrotate. conf 222.85.131.142--[12/Jul/2013: 14: 11: 30 + 0800] "GET/wp-content/uploads/2013/07/IMG_0604.jpg HTTP/1.1" 404 31 "-" "null (FlipboardProxy/1.1; + http://flipboard.com/browserproxy) "-0.088 0.088-222.85.131.142---[12/Jul/2013: 1

Log Server for vro switching in linux

Set vi/etc/sysconfig/syslog in linux to change SYSLOGD_OPTIONS = "-m 0" to SYSLOGD_OPTIONS = "-r-m 0 "//- r writes data from the remote host-m 0 sables 'mark' messagesvi/etc/syslog. add the following content to the conf file to record all logs with the device number local4 (the default device Number of the PIX) to/var/log/router. log # Save pix messages all to router. log local4. */var/log/router. log records all logs whose device number is local5 (specified by info-center loghost-ip-addr facili

Configure Netscreen Syslog storage to the LinuxSyslog Server

/var/log/ns. log. This configuration allows you to store the log information of different devices in different files for ease of viewing.    2. Configure logrotate The logrotate program in Linux is used to poll log files. You can save multiple log files by specifying the file size, time, and other configurations. Change the/etc/logratate. conf file and add the following parts: /Var/log/ns. log { Weekly

Compile and install nginx php-fpm configuration and add it as a Service Command method

, no PID file found-php-fpmis not running? "Exit 1Fi Kill-term ' Cat $php _fpm_pid ' Wait_for_pid removed $php _fpm_pid If [-N "$try"]; then echo "Failed" Exit 1 Else echo "Done" Fi ; QuitEcho-n "gracefully shutting down php_fpm" if [!-R $php _fpm_pid]; Thenecho "Warning, no PID file found-php-fpmis not running? "Exit 1Fi Kill-quit ' Cat $php _fpm_pid ' Wait_for_pid removed $php _fpm_pid If [-N "$try"]; then echo "Failed" Exit 1 Else echo "Done" Fi ; Restart

"AppServer"--->udp---> "logwriteserver"

WShould the "write" of the log be separate to a local area network or a group of servers dedicated to "write log"? This allows the "app server" to handle the user's requests professionally, rather than reducing the user experience because of "write logs or even parse logs asynchronously"?Spencer TeacherIn fact sort of search to redo statistics of these several functions awk itself can doBut I can't remember that much of AWK's syntax, and it's straightforward to use a simpler command-tube process

PHPFASTCGI Process Manager php-fpm detailed

the PHP-FPM. use PHP-FPM to control the fastcgi process of php-cgi /usr/local/php/sbin/php-fpm{start| Stop|quit|restart|reload|logrotate} --start start php fastcgi process --stop Force termination of PHP fastcgi process --quit Smooth termination of PHP fastcgi process --restart restart PHP fastcgi process --reload re-smooth load php php.ini --logrotate re-enable log file PHP-FPM There are two ways of exe

The popularity of SYSTEMD in various Linux distributions

to do so. In addition, some features are not possible before systemd, such as Logrotate has never been able to guarantee that the archive log will not lose the time it was written log,systemd-journal took over syslog and logrotate after the log was structured storage to resolve the problem. Of course it's a small problem. The previous INIT program simply doesn't matter whether the daem

Linux notes (14)-Log management

occurred;The service name or program name that generated the event;Specific information about the event.(4) Log rotation1. Naming rules for log filesIf the configuration file has the "Dateext" parameter, the log is added with a date, such as: log-20160101If not, the new log name is log and the old one is automatically changed to Log.12.logrotate configuration fileDaily: Log rotation cycle is dailyWeekly: Log rotation cycle is weeklyMonthly: Log rotat

Spring Cloud Micro-service Distributed Link Tracking sleuth and Zipkin

@enablezipkinserver has been @deprecated, and the test environment can be run quickly through official scripts or Docker. Using scriptsCurl-ssl https://zipkin.io/quickstart.sh | bash-sJava-jar Zipkin.jarUsing Dockersudo YumRemove Docker docker-client docker-client-latest Docker-common docker-latest docker-latest-logrotate docker-logrotate Docker-selinux Docker-engine-selinux docker-enginesudo Yum Install-Y

PHP and Nginx Integration

start the fastcgi process is recommended. /USR/LOCAL/PHP/SBIN/PHP-FPM also has other parameters, specifically start|stop|quit|restart|reload|logrotate. Each startup parameter has the following meanings:Q Start, start the PHP fastcgi process. Q Stop, forcing the fastcgi process to terminate PHP. Q quit, smooth termination of PHP fastcgi process. q Restart, restart the PHP fastcgi process. q Reload, reload PHP php.ini. Q

What is CGI FastCGI php-cgi php-fpm spawn-cgi? The relationship between them

|restart|reload|logrotate}--start starting PHP's fastcgi process--stop forcing the fastcgi process to terminate PHP--quit smooth termination of PHP fastcgi process--restart restarting PHP's fastcgi process--reload re-load PHP php.ini--logrotate re-enabling the log file10. What is spawn-fcgiSPAWN-FCGI is a generic fastcgi Management Server, it is part of LIGHTTPD, many people use lighttpd spawn-fcgi for fast

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.