2010-11-01 71 views
0

最近我們一直有神祕的,間歇性的Apache崩潰,每天幾次,但沒有模式,關於何時或多久在之間或一天中的什麼時間。PostgreSQL 9.0.1上的間歇性Pg.dll崩潰+ Win2k3sp2上的ActivePerl 1007 + Apache 2.2.17

我會升級DBD :: Pg,但是我找不到比我們使用的更新的PPD(2.14.1)。也就是說,自那時以來的變化似乎與我們的使用情況不相關。

Windows事件查看器顯示這一點:

Event Type: Error 
Event Source: Application Error 
Event Category: (100) 
Event ID: 1000 
Date:  2010-11-01 
Time:  9:55:28 AM 
User:  N/A 
Computer: myserver 
Description: 
Faulting application httpd.exe, version 2.2.17.0, faulting module Pg.dll, version 0.0.0.0, fault address 0x0000e8a5. 

所以,我看着在Apache日誌,裏面說:

[Mon Nov 01 09:55:32 2010] [notice] Parent: child process exited with status 3221225477 -- Restarting. 

不是非常有幫助,所以我看着在PostgreSQL的日誌(PG。 DLL是DBD::Pg一部分),他們說:

2010-11-01 09:55:32 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:32 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 


2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection 

但除此之外,我不知道至於原因,除了可能的更高的時間(但不是那麼高 - 我們的用戶非常少)服務器負載。

任何想法可能導致這種情況?

+0

與本報告類似:https://rt.cpan.org/Public/Bug/Display.html?id = 36728 – Kev 2010-11-01 19:23:20

+0

我在尋找更深入的方法,以便找出問題所在。 .. – Kev 2010-11-16 18:19:09

回答

0

間歇性網絡問題可能導致此問題。我嘗試使用運行在VirtualBox上的Turnkey中的psql來運行PostgreSQL中的PostgreSQL,PostgreSQL運行在同一臺服務器上,它有時會導致PostgreSQL線程佔用更多CPU,然後不允許登錄。在Turnkey上安裝PostgreSQL使得停止發生,因此可能在Windows級別存在一個普遍的網絡問題,導致PostgreSQL和Pg​​.dll特別嗆,然後崩潰Apache,因爲DBD :: Pg通過mod_perl持久地加載。

相關問題