服务器偶尔出现503

NotFoundException 发布于 2012/09/13 16:08
阅读 1K+
收藏 0

【Gopher China万字分享】华为云的Go语言云原生实战经验!>>>

访问页面时偶尔会出现503页面,出现这个页面时没有出现长时间请求的情况,而是立马出现503的,返回上一层在点页面又出来了,这是什么原因呢,服务器哪些地方需要优化?

下面是日志信息,

[Tue Sep 11 02:11:13 2012] [notice] Parent: Created child process 8624
[Tue Sep 11 02:11:14 2012] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue Sep 11 02:11:14 2012] [notice] Child 8624: Child process is running
[Tue Sep 11 02:11:14 2012] [notice] Child 8624: Acquired the start mutex.
[Tue Sep 11 02:11:14 2012] [notice] Child 8624: Starting 250 worker threads.
[Tue Sep 11 02:11:14 2012] [notice] Child 8624: Listening on port 80.
[Tue Sep 11 02:11:46 2012] [notice] Child 10484: Waiting 270 more seconds for 8 worker threads to finish.
[Tue Sep 11 02:12:19 2012] [notice] Child 10484: Waiting 240 more seconds for 7 worker threads to finish.
[Tue Sep 11 02:12:38 2012] [error] (620018)APR does not understand this error code: cache: error returned while trying to return mem cached data
[Tue Sep 11 02:12:52 2012] [notice] Child 10484: Waiting 210 more seconds for 6 worker threads to finish.
[Tue Sep 11 02:13:24 2012] [notice] Child 10484: Waiting 180 more seconds for 5 worker threads to finish.
[Tue Sep 11 02:13:57 2012] [notice] Child 10484: Waiting 150 more seconds for 5 worker threads to finish.
[Tue Sep 11 02:14:30 2012] [notice] Child 10484: Waiting 120 more seconds for 5 worker threads to finish.
[Tue Sep 11 02:15:03 2012] [notice] Child 10484: Waiting 90 more seconds for 5 worker threads to finish.
[Tue Sep 11 02:15:27 2012] [notice] Child 10484: All worker threads have exited.
[Tue Sep 11 02:15:27 2012] [notice] Child 10484: Child process is exiting
[Tue Sep 11 02:38:36 2012] [notice] Child 8624: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Tue Sep 11 02:38:36 2012] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Sep 11 02:38:36 2012] [notice] Apache/2.2.21 (Win32) mod_jk/1.2.23 configured -- resuming normal operations
[Tue Sep 11 02:38:36 2012] [notice] Server built: Sep  9 2011 10:26:10
[Tue Sep 11 02:38:36 2012] [notice] Parent: Created child process 12060
[Tue Sep 11 02:38:37 2012] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue Sep 11 02:38:37 2012] [notice] Child 12060: Child process is running
[Tue Sep 11 02:38:37 2012] [notice] Child 12060: Acquired the start mutex.
[Tue Sep 11 02:38:37 2012] [notice] Child 12060: Starting 250 worker threads.
[Tue Sep 11 02:38:37 2012] [notice] Child 12060: Listening on port 80.
[Tue Sep 11 02:38:39 2012] [notice] Child 8624: All worker threads have exited.
[Tue Sep 11 02:38:39 2012] [notice] Child 8624: Child process is exiting
[Tue Sep 11 05:04:21 2012] [notice] Child 12060: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Tue Sep 11 05:04:21 2012] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Sep 11 05:04:22 2012] [notice] Apache/2.2.21 (Win32) mod_jk/1.2.23 configured -- resuming normal operations
[Tue Sep 11 05:04:22 2012] [notice] Server built: Sep  9 2011 10:26:10
[Tue Sep 11 05:04:22 2012] [notice] Parent: Created child process 9092
[Tue Sep 11 05:04:23 2012] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue Sep 11 05:04:23 2012] [notice] Child 12060: All worker threads have exited.
[Tue Sep 11 05:04:23 2012] [notice] Child 12060: Child process is exiting
[Tue Sep 11 05:04:23 2012] [notice] Child 9092: Child process is running
[Tue Sep 11 05:04:23 2012] [notice] Child 9092: Acquired the start mutex.
[Tue Sep 11 05:04:23 2012] [notice] Child 9092: Starting 250 worker threads.
[Tue Sep 11 05:04:23 2012] [notice] Child 9092: Listening on port 80.
[Tue Sep 11 07:31:29 2012] [notice] Child 9092: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Tue Sep 11 07:31:29 2012] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Sep 11 07:31:29 2012] [notice] Apache/2.2.21 (Win32) mod_jk/1.2.23 configured -- resuming normal operations
[Tue Sep 11 07:31:29 2012] [notice] Server built: Sep  9 2011 10:26:10
[Tue Sep 11 07:31:29 2012] [notice] Parent: Created child process 12752
[Tue Sep 11 07:31:30 2012] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue Sep 11 07:31:30 2012] [notice] Child 12752: Child process is running
[Tue Sep 11 07:31:30 2012] [notice] Child 12752: Acquired the start mutex.
[Tue Sep 11 07:31:30 2012] [notice] Child 12752: Starting 250 worker threads.
[Tue Sep 11 07:31:30 2012] [notice] Child 12752: Listening on port 80.
[Tue Sep 11 07:31:52 2012] [notice] Child 9092: All worker threads have exited.
[Tue Sep 11 07:31:52 2012] [notice] Child 9092: Child process is exiting
[Tue Sep 11 08:07:50 2012] [error] [client 183.38.192.148] request failed: error reading the headers, referer:

http://www.szy.com.cn/member/manage/manageSupply.html?

keywords=~u8F93~u5165~u7C7B~u522B~u6216~u5173~u952E~u5B57~u8BD5~u8BD5&status=1&notice=null&actionType=updateInfo&sCount=7&dID=3421782&cgCount=0&demandID=3421

782&button=~u5237~u65B0&aa=~u4FEE~u6539&page=6&limit=5&total=7

加载中
返回顶部
顶部