MID サーバーエラー「コード:429 の要求が多すぎます」Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } MID サーバーエラー「コード:429 の要求が多すぎます。(Too Many Requests)」 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } API_INTは、MID サーバーがインスタンスと通信するときに使用するセマフォの 1 つです。API_INTセマフォが使い果たされ、キュー深度が最大キュー深度に達した場合、インスタンスは通信を試みている MID サーバークライアントに「コード:429 の要求が多すぎます」というエラーを返します。使用可能なセマフォがないため、インスタンスは MID サーバーから入力またはハートビートを受信できません。 これが発生すると、次のようなエラーが MID サーバーログに記録されることがあります。 ECCQueueMonitor.5 WARNING *** WARNING *** Method failed: (https://YOUR_INSTANCE.service-now.com/ecc_queue.do?SOAP&displayvalue=all&redirectSupported=true)HTTP/1.1 429 Too Many Requests with code: 429 ECCQueueMonitor.5 SEVERE *** ERROR *** getRecords failed (Method failed: (https://YOUR_INSTANCE.service-now.com/ecc_queue.do?SOAP&displayvalue=all&redirectSupported=true)HTTP/1.1 429 Too Many Requests with code: 429) Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } API_INTセマフォが使い果たされているかどうかを確認するには、次の手順を実行します。 ブラウザウィンドウで、[<your_instance>.service-now.com/stats.do] に移動します。 API_INTを検索します。 使用可能なセマフォがなく、キュー深度が最大キュー深度と等しくなるようになっていることを確認します。 使い果たされたAPI_INTは、次の例のようになります。 API_INT Available semaphores: Queue depth: 50 Max queue depth: 50 0:F48CE383DB6A760098E53CAF9D961901 #583094 /api/now/table/sys_audit (API_INT-thread-2) (2:05:30.388) 1:C25E23C3DB6A760098E53CAF9D961962 #583187 /api/now/table/sys_audit (API_INT-thread-4) (1:57:30.087) 2:6BCE63C3DB6A760098E53CAF9D9619F4 #583264 /api/now/table/sys_audit (API_INT-thread-1) (1:55:29.678) 3:95157F47DB6A760098E53CAF9D9619D9 #584585 /api/now/table/sys_audit (API_INT-thread-3) (1:28:03.004) この例では、sys_auditテーブルに対する長いクエリによって、使用可能なすべてのAPI_INTセマフォが使用されていることに注意してください。ただし、実行時間の長いクエリーは別のテーブルにある可能性があります。 解決策は、セマフォをビジー状態にしている原因によって異なります。 即時の救済のために: [すべてのアクティブなトランザクション] > [ユーザー管理] に移動します。 セマフォをビジー状態にしている長時間実行されているトランザクションを見つけます。 トランザクションを担当するチームに、トランザクションを強制終了しても問題が発生しないことを確認してください。 トランザクションを強制終了してセマフォを解放します。 長期的な緩和の場合: 長時間実行されているトランザクションを担当するチームに連絡し、チームと協力してトランザクションを改善してください。 Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } KB0661756「MID サーバーの「ダウン」のトラブルシューティング」 KB0623708、「Cookie」を使用して MID サーバーをノードにバインドすると、負荷分散の問題が発生し、429 エラーが発生する可能性があります (Binding MID Server to nodes using "cookies" may cause load balancing issues and resulting to 429 errors result)」