案例學習Oracle錯誤:TNS-00510(轉)

ba發表於2007-08-15
案例學習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 記憶體分配相關引數
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錯誤:TNS-00510(轉)
請登入後發表評論 登入
全部評論

相關文章