案例學習Oracle錯誤:TNS-00510(轉)
案例學習Oracle錯誤:TNS-00510(轉)[@more@] TNS-00510 Internal limit restriction exceeded
Cause Too many files or sockets open simultaneously (or some other resource has been
depleted).
Action For further details, trace the operation for protocol details.
TNS-12500 TNS:listener failed to start a dedicated server process
Cause The process of starting up a dedicated server process failed. The executable could not be found or the environment may be set up incorrectly.
Action Turn on tracing at the ADMIN level and re-execute the operation. Verify that the
Oracle Server executable is present and has execute permissions enabled. Ensure that the Oracle environment is specified correctly in LISTENER.ORA. The Oracle Protocol Adapter
that is being called may not be installed on the local hard drive. Check that the
correct Protocol Adapter are successfully linked. If the error persists, contact Oracle Customer Support.
TNS-12540 TNS:internal limit restriction exceeded
Cause Too many TNS connections open simultaneously.
Action Wait for connections to close and retry.
TNS-12560 TNS:protocol adapter error
Cause A generic protocol adapter error occurred.
Action Check addresses used for proper protocol specification. Before reporting this
error, look at the error stack and check for lower level transport errors.For further details, turn on tracing and re-execute the operation. Turn off tracing when the operation is complete.
問:程式的數量會引起監聽器錯誤嗎?
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12540: TNS:internal limit restriction exceeded
TNS-12560: TNS:protocol adapter error
TNS-00510: Internal limit restriction exceeded
IBM/AIX RISC System/6000 Error: 11: Resource temporarily unavailable
我們在監聽器日誌中發現如上的錯誤資訊。伺服器上每個使用者的最大程式數量被設定600 Oracle中的最大程式數量為600。程式最大的利用率是482,每個會話的最大利用率是490。會話的數量設定為840。
根據我所瞭解的,看起來程式的數量是沒有問題的。我們透過在這個機器上無法正確建立記憶體分頁空間而對此進行了證實,然而,一些人仍然告訴我們要在起始的時候增加程式的數量。我不同意這個觀點。我遺漏了什麼嗎?
答:TNS-510錯誤資訊顯示了有太多的檔案或者socket同時開放了(或者是其他一些資源耗盡了)。這是作業系統的限制,不是Oracle的限制。你需要確認你的AIX平臺可以處理你在伺服器上開放的這麼多的檔案。這是“全部”檔案,並不僅僅是Oracle資料庫檔案。並且,你還需要確認你的AIX伺服器可以正確處理全部數量的Oracle程式,而不僅僅是專用的伺服器程式。Oracle的起始引數PROCESSES限制了專用的伺服器程式數量。但是還有後臺的程式(SMON, PMON, LGWR等),以及支援並行語句的程式,更不用說你的監聽器等了。我覺得你應該配置AIX來允許每個Unix使用者擁有更多的程式。
總結:TNS-12500,TNS-12540,TNS-12560,TNS-00510解決過程
一 環境:
1 平臺: IBM AX360,4G記憶體 windows 2k advServer sp3 + oracle 816 獨佔模式
2 記憶體分配相關引數
Cause Too many files or sockets open simultaneously (or some other resource has been
depleted).
Action For further details, trace the operation for protocol details.
TNS-12500 TNS:listener failed to start a dedicated server process
Cause The process of starting up a dedicated server process failed. The executable could not be found or the environment may be set up incorrectly.
Action Turn on tracing at the ADMIN level and re-execute the operation. Verify that the
Oracle Server executable is present and has execute permissions enabled. Ensure that the Oracle environment is specified correctly in LISTENER.ORA. The Oracle Protocol Adapter
that is being called may not be installed on the local hard drive. Check that the
correct Protocol Adapter are successfully linked. If the error persists, contact Oracle Customer Support.
TNS-12540 TNS:internal limit restriction exceeded
Cause Too many TNS connections open simultaneously.
Action Wait for connections to close and retry.
TNS-12560 TNS:protocol adapter error
Cause A generic protocol adapter error occurred.
Action Check addresses used for proper protocol specification. Before reporting this
error, look at the error stack and check for lower level transport errors.For further details, turn on tracing and re-execute the operation. Turn off tracing when the operation is complete.
問:程式的數量會引起監聽器錯誤嗎?
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12540: TNS:internal limit restriction exceeded
TNS-12560: TNS:protocol adapter error
TNS-00510: Internal limit restriction exceeded
IBM/AIX RISC System/6000 Error: 11: Resource temporarily unavailable
我們在監聽器日誌中發現如上的錯誤資訊。伺服器上每個使用者的最大程式數量被設定600 Oracle中的最大程式數量為600。程式最大的利用率是482,每個會話的最大利用率是490。會話的數量設定為840。
根據我所瞭解的,看起來程式的數量是沒有問題的。我們透過在這個機器上無法正確建立記憶體分頁空間而對此進行了證實,然而,一些人仍然告訴我們要在起始的時候增加程式的數量。我不同意這個觀點。我遺漏了什麼嗎?
答:TNS-510錯誤資訊顯示了有太多的檔案或者socket同時開放了(或者是其他一些資源耗盡了)。這是作業系統的限制,不是Oracle的限制。你需要確認你的AIX平臺可以處理你在伺服器上開放的這麼多的檔案。這是“全部”檔案,並不僅僅是Oracle資料庫檔案。並且,你還需要確認你的AIX伺服器可以正確處理全部數量的Oracle程式,而不僅僅是專用的伺服器程式。Oracle的起始引數PROCESSES限制了專用的伺服器程式數量。但是還有後臺的程式(SMON, PMON, LGWR等),以及支援並行語句的程式,更不用說你的監聽器等了。我覺得你應該配置AIX來允許每個Unix使用者擁有更多的程式。
總結:TNS-12500,TNS-12540,TNS-12560,TNS-00510解決過程
一 環境:
1 平臺: IBM AX360,4G記憶體 windows 2k advServer sp3 + oracle 816 獨佔模式
2 記憶體分配相關引數
CODE:
..processes................=.1000
..shared_pool_size.........=.240000000 ..large_pool_size..........=.614400 ..java_pool_size...........=.32768 ..db_block_buffers.........=.90000 ..db_block_size............=.4096 ..log_buffer...............=.163840 ..log_checkpoint_interval..=.10000 ..sort_area_size...........=.65536 ..sort_area_retained_size..=.65536 ..open_cursors.............=.100 ..job_queue_processes......=.4 ..job_queue_interval.......=.10 ..max_dump_file_size.......=.10240 來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617731/viewspace-959019/,如需轉載,請註明出處,否則將追究法律責任。
上一篇:
軟體安全性:採用安全的編碼方式(轉)
請登入後發表評論
登入
全部評論
|
相關文章
- 案例學習Oracle錯誤:ORA-00922(轉)Oracle
- 案例學習Oracle錯誤:ORA-01631(轉)Oracle
- 案例學習Oracle錯誤: ORA-00604 error occurred at recursive SQL level stringOracleErrorSQL
- 除錯:案例學習除錯
- oracle錯誤一覽(轉)Oracle
- 從錯誤中學習
- 學習Rust 錯誤處理Rust
- QT 學習錯誤總結QT
- 案例: 解決ORACLE ORA-27211的錯誤Oracle
- oracle日誌錯誤恢復(轉)Oracle
- 《學習Oracle從這裡開始》之解決錯誤篇Oracle
- oracle約束學習經典案例Oracle
- ORACLE 錯誤Oracle
- oracle錯誤及解決方式集(轉)Oracle
- Oracle 11gRac 測試案例(四)叢集程式錯誤Oracle
- oracle ora-600 Ktspgsb-1 錯誤處理案例Oracle
- 學習Web前端需要避免哪些錯誤Web前端
- 今天學習遇見的錯誤!!!(禁忌)
- 檢查 Linux 檔案系統中的錯誤:透過案例學習 FSCK 命令Linux
- 複製錯誤案例分享(一)
- 複製錯誤案例分享(二)
- Python學習之錯誤除錯和測試Python除錯
- ORACLE 異常錯誤 錯誤號大全Oracle
- Oracle 錯誤收集Oracle
- ORACLE錯誤大全Oracle
- Golang 學習——error 錯誤處理淺談GolangError
- Golang 學習筆記八 錯誤異常Golang筆記
- 物聯網學習教程—常見錯誤和程式除錯除錯
- JavaScript學習(2):物件、集合以及錯誤處理JavaScript物件
- EF Oracle:錯誤 175Oracle
- oracle 常見錯誤Oracle
- oracle錯誤小結Oracle
- Oracle安裝錯誤Oracle
- Oracle ASM 配置錯誤OracleASM
- 遇到 ORACLE 錯誤 6550Oracle
- Oracle ORA 錯誤大全Oracle
- 【轉帖】Oracle Audit 學習快餐Oracle
- 轉載-找出Oracle alert檔案中的ORA錯誤Oracle