Pages

2011年11月14日 星期一

HTTP3287: connection limit (XXXX) exceeded, closing socket

HTTP3287: connection limit (XXXX) exceeded, closing socket

發生的原因有:

1. Max. File Descriptor的設定小於實際的需求
Solve: 使用ulimit設定參數 
2. 使用Hot Deployed
Solve: 不要使用此部署方式,以免在效能有瓶頸的伺服器(太多On Demand需求)上發生此異常。 
3. Iplanet效能沒有設定好
Solve: 設定 ConnQueueSize的大小大於系統設定的Max. File Descriptor
參考:  
http://download.oracle.com/docs/cd/E19554-01/816-5690-10/816-5690-10.pdf

4. 系統某方面卡住了。
原因:  SQL Server Lock機制,導致系統連線Hang住,因此在程式中會產生LOCK的地方,一定要用rollback機制,以免系統被一個連線佔住,其他一直排隊進不去,連線數爆量,DBA終於找出問題了。

Related Posts:

  • 【CMD】大量刪除指令Windows下,[cmd]大量刪除指令  [delDir.bat] @echo 移動到該磁區 c: @echo 刪除資料夾下所有檔案(包含該資料夾本身) rmdir C:\temp\source\ /s/y @echo 建立資料夾 md C:\temp\source\ rmdir 指令參數 [rmdir [folder] /s /q /s : 刪除指定目錄和所有子目錄,包括任何文件。. /q … Read More
  • vector傳遞/宣告(struct/物件)以及iterator 範例轉載[http://www.cnblogs.com/oomusou/archive/2008/08/01/vector_struct.html] Abstract 一個很常見的需求:『將struct塞進vector』,在C++該怎麼做呢? Introduction 使用環境:Visual C++ 9.0 / Visual Studio 2008 由於vector只允許一個欄位,所以才會想將struct塞進vector,以彌補vector的不足。… Read More
  • Java String 依照單字出現次數/頻率高的依序印出功能: 依照每個單字出現的次數,由大到小,排列印出。 假設: String oriString = "This is a book. That is a pencil" 輸出: is 出現 2 次 a 出現 2 次 This 出現 1 次 That 出現 1 次 book 出現 1 次 pencil 出現 1 次 程式碼: import java.util.regex.*; import java.util.*; public class… Read More
  • 解決C/C++中的multiple definition of問題範例: main.cpp #include "global.h" int Main(....) { ... } file_1.cpp #include "global.h" .... file_1.cpp #include "global.h" global.h中寫有所有的全局變量及其初始化值和函數聲明 在編譯的時候就會出錯: first defined here multiple definition of 原因是因為在多次… Read More
  • C/C++[微小位元][數字&數字]最近,因為面試的關係,想把一些東西弄清楚,所以做了一些測試: 以下是微小位元的測試,實際是就是二進位運算啦,考是算錯(怪怪) #include<stdio.h> int main(void){ int a = 44; int b = 55; int c = 33; int d = -20; printf("uni-micro operator: \n"); printf("a & b = %d\n"… Read More

0 意見: