banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix Dịch vụ httpd tự tắt  XML
  [Question]   Dịch vụ httpd tự tắt 23/04/2011 10:33:21 (+0700) | #1 | 236028
Search_IT
Member

[Minus]    0    [Plus]
Joined: 21/02/2011 20:50:49
Messages: 61
Offline
[Profile] [PM]
Con web của em không sao mà nó cứ hay tắt hoài, phải vô shell để start nó mới chạy đc. Sau đây là log mong mọi người cho em xin ý kiến.

Apr 22 02:18:37 vps shutdown[24036]: shutting down for system reboot
Apr 22 02:18:43 vps init: Switching to runlevel: 6
Apr 22 02:18:44 vps saslauthd[21765]: server_exit : master exited: 21765
Apr 22 02:18:54 vps xinetd[20376]: Exiting...
Apr 22 02:18:56 vps exiting on signal 15
Apr 22 02:19:29 vps syslogd 1.4.1: restart.
Apr 22 02:19:31 vps xinetd[26199]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Apr 22 02:19:31 vps xinetd[26199]: Started working: 0 available services
Apr 22 02:19:42 vps saslauthd[26473]: detach_tty : master pid is: 26473
Apr 22 02:19:42 vps saslauthd[26473]: ipc_init : listening on socket: /var/run/saslauthd/mux
Apr 22 02:19:42 vps init: no more processes left in this runlevel 


--

Trên VPS của em đang chạy những dịch vụ này, theo anh chị dịch vụ nào không cần thiết.
SV của em chỉ chạy dịch vụ web có database thôi.

[root@vps ~]# service --status-all
crond (pid 26425) is running...
dc_client is stopped
dc_server is stopped
dovecot is stopped
gpm is stopped
httpd (pid 31955) is running...
Table: mangle
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination

Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination

Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

mcstransd is stopped
dbus-daemon is stopped
multipathd is stopped
mysqld (pid 26299) is running...
netconsole module not loaded
netplugd is stopped
Configured devices:
lo venet0
Currently active devices:
lo venet0
nscd is stopped
portmap is stopped
master (pid 26395) is running...
rdisc is stopped
saslauthd (pid 26477 26473) is running...
smbd is stopped
nmbd is stopped
snmpd is stopped
snmptrapd is stopped
openssh-daemon (pid 26186) is running...
syslogd (pid 26174) is running...
vsftpd (pid 26215) is running...
winbindd is stopped
xfs (pid 26454) is running...
xinetd (pid 26199) is running...
[root@vps ~]#
 
[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 23/04/2011 17:33:55 (+0700) | #2 | 236050
Search_IT
Member

[Minus]    0    [Plus]
Joined: 21/02/2011 20:50:49
Messages: 61
Offline
[Profile] [PM]
Hix. Vẩn bị tắt đều đều, cứ dùng crontab thì ko tiện lắm, chờ mọi người cho giải pháp smilie(.
Thông tin thêm:

cat /var/log/httpd/error_log
[Sat Apr 23 17:54:13 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 17:54:14 2011] [notice] ModSecurity for Apache/2.5.11 http://www.modsecurity.org/) configured.
[Sat Apr 23 17:54:14 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 17:54:14 2011] [notice] Digest: done
[Sat Apr 23 17:54:15 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 23 17:54:15 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 17:57:37 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 20:21:23 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 20:21:24 2011] [notice] ModSecurity for Apache/2.5.11 http://www.modsecurity.org/) configured.
[Sat Apr 23 20:21:24 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 20:21:24 2011] [notice] Digest: done
[Sat Apr 23 20:21:25 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 23 20:21:25 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
 
[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 23/04/2011 18:08:50 (+0700) | #3 | 236051
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Bạn có chú ý đến dòng màu đỏ chưa:

Search_IT wrote:
Hix. Vẩn bị tắt đều đều, cứ dùng crontab thì ko tiện lắm, chờ mọi người cho giải pháp smilie(.
Thông tin thêm:

cat /var/log/httpd/error_log
[Sat Apr 23 17:54:13 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 17:54:14 2011] [notice] ModSecurity for Apache/2.5.11 http://www.modsecurity.org/) configured.
[Sat Apr 23 17:54:14 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 17:54:14 2011] [notice] Digest: done
[Sat Apr 23 17:54:15 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 23 17:54:15 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 17:57:37 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 20:21:23 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 20:21:24 2011] [notice] ModSecurity for Apache/2.5.11 http://www.modsecurity.org/) configured.
[Sat Apr 23 20:21:24 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 20:21:24 2011] [notice] Digest: done
[Sat Apr 23 20:21:25 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 23 20:21:25 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
 
 
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 23/04/2011 18:24:03 (+0700) | #4 | 236054
Search_IT
Member

[Minus]    0    [Plus]
Joined: 21/02/2011 20:50:49
Messages: 61
Offline
[Profile] [PM]
Hi anh,

Con VPS này Ram đc có 768 MB RAM. Theo anh mình chỉnh bao nhiêu là vừa?

Có 2 đoạn này, chỉnh đoạn nào anh nhỉ? smilie

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule> 


[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 23/04/2011 18:27:33 (+0700) | #5 | 236055
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Nhìn output của `httpd -l` để biết.
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 23/04/2011 18:41:54 (+0700) | #6 | 236057
Search_IT
Member

[Minus]    0    [Plus]
Joined: 21/02/2011 20:50:49
Messages: 61
Offline
[Profile] [PM]
smilie
Em cũng không hiểu lắm và sẻ học từ từ. Nhưng trc hết phải khắc phục để dịch vụ chạy bình thường đã. Hiện tại em đã điều chỉnh tạm thời thông số lên cao. Hi vọng sẻ không tái hiện smilie.

Em cảm ơn anh.

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 2500
MaxClients 1000
MaxRequestsPerChild 4000
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 2
MaxClients 1500
MinSpareThreads 25
MaxSpareThreads 750
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>
 
[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 23/04/2011 21:56:03 (+0700) | #7 | 236067
Search_IT
Member

[Minus]    0    [Plus]
Joined: 21/02/2011 20:50:49
Messages: 61
Offline
[Profile] [PM]
Hix. Vẩn bị không hiểu lý do là gì nhỉ smilie(

[root@vps ~]# service httpd status
httpd dead but pid file exists
[root@vps ~]# 



Log file error_log

[Sat Apr 23 20:44:57 2011] [notice] Digest: done
[Sat Apr 23 20:44:57 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 20:45:02 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 21:09:42 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 21:09:44 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 21:09:44 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 21:09:44 2011] [notice] Digest: done
[Sat Apr 23 21:09:44 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 21:21:07 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 21:21:09 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 21:21:09 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 21:21:09 2011] [notice] Digest: done
[Sat Apr 23 21:21:09 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 21:27:28 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 21:31:23 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 21:31:24 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 21:31:24 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 21:31:24 2011] [notice] Digest: done
[Sat Apr 23 21:31:24 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 21:32:03 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 21:32:04 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 21:32:04 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 21:32:04 2011] [notice] Digest: done
[Sat Apr 23 21:32:04 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 21:36:32 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Apr 24 00:48:32 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 00:48:32 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 00:48:32 2011] [notice] Digest: done
[Sun Apr 24 00:48:32 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 24 00:48:32 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 24 00:48:55 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting 

[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 23/04/2011 22:10:52 (+0700) | #8 | 236069
[Avatar]
xnohat
Moderator

Joined: 30/01/2005 13:59:19
Messages: 1210
Location: /dev/null
Offline
[Profile] [PM] [Email] [WWW] [Yahoo!] [MSN]
Bồ không chịu đọc kĩ cái error_log của bồ

[Sun Apr 24 00:48:55 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting

Dòng lỗi này xảy ra liên tục thì bồ phải focus vào tìm kiếm lỗi nào gây ra tình trạng này
iJust clear, "What I need to do and how to do it"/i
br
brBox tán gẫu dời về: http://www.facebook.com/hvaonline
[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 24/04/2011 07:58:42 (+0700) | #9 | 236076
Search_IT
Member

[Minus]    0    [Plus]
Joined: 21/02/2011 20:50:49
Messages: 61
Offline
[Profile] [PM]
smilie. Em đã chỉnh thông số thành như này mà vẩn ko đc smilie.

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 500
MaxClients 500
MaxRequestsPerChild 4000
</IfModule>

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule> 


Qua theo dõi lượng traffic vào thì số người ghé thăm không quá 300 lượt/thời điểm.
Ko biết nó lỗi gì các anh xem hộ em.

--- Toàn bộ file error_log hôm nay ---
[Sat Apr 23 17:54:13 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 17:54:14 2011] [notice] ModSecurity for Apache/2.5.11 http://www.modsecurity.org/) configured.
[Sat Apr 23 17:54:14 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 17:54:14 2011] [notice] Digest: done
[Sat Apr 23 17:54:15 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 23 17:54:15 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 17:57:37 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 20:21:23 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 20:21:24 2011] [notice] ModSecurity for Apache/2.5.11 http://www.modsecurity.org/) configured.
[Sat Apr 23 20:21:24 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 20:21:24 2011] [notice] Digest: done
[Sat Apr 23 20:21:25 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 23 20:21:25 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 20:28:40 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 20:42:02 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 20:42:18 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 20:42:19 2011] [notice] ModSecurity for Apache/2.5.11 http://www.modsecurity.org/) configured.
[Sat Apr 23 20:42:19 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 20:42:19 2011] [notice] Digest: done
[Sat Apr 23 20:42:20 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 20:44:57 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 20:44:57 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 20:44:57 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 20:44:57 2011] [notice] Digest: done
[Sat Apr 23 20:44:57 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 20:45:02 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 21:09:42 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 21:09:44 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 21:09:44 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 21:09:44 2011] [notice] Digest: done
[Sat Apr 23 21:09:44 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 21:21:07 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 21:21:09 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 21:21:09 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 21:21:09 2011] [notice] Digest: done
[Sat Apr 23 21:21:09 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 21:27:28 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 21:31:23 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 21:31:24 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 21:31:24 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 21:31:24 2011] [notice] Digest: done
[Sat Apr 23 21:31:24 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 21:32:03 2011] [notice] caught SIGTERM, shutting down
[Sat Apr 23 21:32:04 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 23 21:32:04 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 23 21:32:04 2011] [notice] Digest: done
[Sat Apr 23 21:32:04 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 23 21:36:32 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Apr 23 22:34:16 2011] [error] [client 64.246.165.170] File does not exist: /home/testdomain.com/index_files, referer: http://whois.domaintools.com/test01.net
[Sun Apr 24 00:48:32 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 00:48:32 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 00:48:32 2011] [notice] Digest: done
[Sun Apr 24 00:48:32 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 24 00:48:32 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 24 00:48:55 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Apr 24 01:01:58 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 01:01:58 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 01:01:58 2011] [notice] Digest: done
[Sun Apr 24 01:01:59 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 24 01:01:59 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 24 01:13:14 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Apr 24 01:19:31 2011] [notice] caught SIGTERM, shutting down
[Sun Apr 24 01:19:31 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 01:19:31 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 01:19:31 2011] [notice] Digest: done
[Sun Apr 24 01:19:31 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 24 01:22:27 2011] [error] [client 207.46.13.94] File does not exist: /home/testdomain.com/robots.txt
[Sun Apr 24 01:23:07 2011] [error] [client 207.46.13.94] File does not exist: /home/testdomain.com/index.html
[Sun Apr 24 01:23:15 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
FATAL: emalloc(): Unable to allocate 64 bytes
[Sun Apr 24 01:25:51 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 01:25:51 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 01:25:51 2011] [notice] Digest: done
[Sun Apr 24 01:25:51 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 24 01:25:51 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 24 01:42:29 2011] [notice] caught SIGTERM, shutting down
[Sun Apr 24 01:42:34 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 01:42:34 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 01:42:34 2011] [notice] Digest: done
[Sun Apr 24 01:42:35 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 24 01:45:17 2011] [notice] caught SIGTERM, shutting down
[Sun Apr 24 01:45:18 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 01:45:18 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 01:45:18 2011] [notice] Digest: done
[Sun Apr 24 01:45:18 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 24 02:28:11 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Apr 24 03:32:22 2011] [error] [client 123.125.71.97] Directory index forbidden by Options directive: /home/testdomain.com/
[Sun Apr 24 03:33:02 2011] [error] [client 220.181.108.168] Directory index forbidden by Options directive: /home/testdomain.com/
[Sun Apr 24 03:37:27 2011] [error] [client 64.246.165.160] File does not exist: /home/testdomain.com/robots.txt
[Sun Apr 24 03:37:27 2011] [error] [client 64.246.165.160] Directory index forbidden by Options directive: /home/testdomain.com/, referer: http://whois.domaintools.com/test01.net
[Sun Apr 24 04:22:42 2011] [error] [client 220.181.108.167] File does not exist: /home/testdomain.com/hostingplans.hyml
[Sun Apr 24 05:07:07 2011] [error] [client 85.25.39.44] File does not exist: /home/testdomain.com/w00tw00t.at.blackhats.romanian.anti-secsmilie
[Sun Apr 24 05:07:08 2011] [error] [client 85.25.39.44] File does not exist: /home/testdomain.com/phpmyadmin
[Sun Apr 24 06:31:25 2011] [error] [client 123.125.71.103] Directory index forbidden by Options directive: /home/testdomain.com/
[Sun Apr 24 06:32:00 2011] [error] [client 220.181.108.187] Directory index forbidden by Options directive: /home/testdomain.com/
[Sun Apr 24 07:17:20 2011] [error] [client 222.216.28.52] Directory index forbidden by Options directive: /home/testdomain.com/, referer: http://g7.in/1B3F.html
[Sun Apr 24 10:27:19 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 10:27:19 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 10:27:19 2011] [notice] Digest: done
[Sun Apr 24 10:27:20 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 24 10:27:20 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 24 10:28:44 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Apr 24 10:38:39 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 24 10:38:40 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 24 10:38:40 2011] [notice] Digest: done
[Sun Apr 24 10:38:40 2011] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 24 10:38:40 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
 
[Up] [Print Copy]
  [Question]   Dịch vụ httpd tự tắt 26/04/2011 07:31:23 (+0700) | #10 | 236186
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
- Bạn cần hiểu rõ ý nghĩa của từng thông số để có thể tính ra một con số có căn cứ, chứ không phải là chỉnh hú hoạ
- Kiểm tra xem có đúng là Apache đã "ăn" hết RAM không (FATAL: emalloc(): Unable to allocate 64 bytes)
- Xem lại tất cả các [error] trong log của Apache đi.
Let's build on a great foundation!
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|