{"id":"IL-0397","org":"Zerodha","date":"2018-04-12","docs":[],"title":{"en":"Orders on one exchange connection hung in pending states as its NSE leased line failed and the backup line kept flapping","ko":"거래소 NSE 로 가는 CTCL 하나의 주 전용 회선이 끊기고 예비 회선도 끊겼다 붙기를 되풀이해, 그 CTCL 을 지난 주문이 거래소에 들어가지 못하고 대기 상태에 머물렀다"},"domain":["networking"],"impact":{"scope":"Orders through one CTCL to NSE were not placed and hung in pending states; bracket and cover order positions were left without exit orders","users":"less than 0.3% of orders that day and around 1.5% of clients who traded that day","region":"India"},"review":{"written_by":"session","reviewed_at":null,"reviewed_by":null},"lessons":null,"related":[],"sources":[{"url":"https://zerodha.com/marketintel/bulletin/105569/postmortem-trading-and-hanging-orders-on-12th-april-2018","kind":"blog","archived":"https://web.archive.org/web/20260615181115/https://zerodha.com/marketintel/bulletin/105569/postmortem-trading-and-hanging-orders-on-12th-april-2018"}],"summary":{"en":"Zerodha places orders on the exchanges through several CTCLs, each with a primary and a backup leased line, and orders from its trading platforms go to the CTCLs in round robin. On 12 April 2018 the primary NSE leased line of one CTCL failed, the backup line came up automatically and then flapped many times over the next hour. Orders routed to that CTCL while the lines flapped were not placed on the exchange and stayed pending. Zerodha shut the CTCL down completely so no further orders went through it, then lapsed the pending orders and reconciled them with the exchange. This affected less than 0.3% of the day's orders and about 1.5% of the clients who traded that day. For bracket and cover orders, lapsing the primary orders meant the counter leg square off orders were never placed, leaving positions that clients were advised to close by taking an opposite position using MIS/NRML. Zerodha states that it is allowed only one backup line per CTCL and has no further control over leased line reliability from the exchange-approved vendors.","ko":"Zerodha 는 여러 CTCL 로 거래소에 연결하고, CTCL 마다 주 전용 회선과 예비 전용 회선을 하나씩 둔다. 거래 플랫폼으로 들어온 주문은 라운드 로빈으로 이 CTCL 들에 나뉘어 거래소에 들어간다. 2018년 4월 12일 12:12 무렵 CTCL 하나의 NSE 주 전용 회선이 끊겼고, 예비 회선이 자동으로 이어받았지만 이 회선도 다음 60분 동안 여러 번 끊겼다 붙기를 되풀이했다. 그동안 이 CTCL 로 간 주문은 거래소에 들어가지 못하고 대기 상태로 남았다.\n\nZerodha 는 결국 이 CTCL 을 완전히 꺼서 새 주문이 더 걸리지 않게 했고, 대기 상태로 보이던 주문을 lapse 처리해 거래소와 대사했다. 그날 주문의 0.3% 미만, 그날 거래한 고객의 약 1.5%가 영향을 받았다. bracket order 와 cover order 는 주 주문이 lapse 되면 반대편 청산 주문이 들어가지 않는다. 그래서 평소 방법으로는 빠져나올 수 없는 포지션이 남았다. Zerodha 는 이런 포지션을 정리하려면 MIS/NRML 로 반대 포지션을 잡으라고 고객에게 권했다. Zerodha 는 CTCL 하나에 예비 회선을 하나만 둘 수 있으므로 회선 쪽에서는 더 할 수 있는 일이 없다고 했다."},"trigger":{"en":"The primary NSE leased line on one CTCL went down at about 12.12 pm, and the backup leased line then flapped repeatedly for about 60 minutes.","ko":"12:12 무렵 CTCL 하나의 NSE 주 전용 회선이 끊겼고, 자동으로 넘어간 예비 회선도 60분 동안 여러 번 끊겼다 붙기를 되풀이했다."},"severity":"unknown","symptoms":["link-flapping"],"timeline":{"detected_after":null,"resolved_after":null},"date_kind":"incident","detection":{"en":"Zerodha received emails from the NSE-approved leased line vendor when the lines failed.","ko":"회선이 끊겼다 붙기를 되풀이하는 동안 Zerodha 는 NSE 가 승인한 전용 회선 업체에게서 알림 메일을 받았다."},"components":["network-link"],"root_cause":"dependency-failure","remediation":[{"text":{"en":"Shut the affected CTCL down completely so no new orders could go through it","ko":"문제의 CTCL 을 완전히 꺼서 새 주문이 더 영향을 받지 않게 했다."}},{"text":{"en":"Lapsed the orders left in pending states and reconciled them with the exchange","ko":"CTCL 을 끈 뒤 대기 상태로 보이던 주문을 lapse 처리하고 거래소와 대사했다."}}],"action_items":[{"text":{"en":"Release an option to exit bracket and cover orders directly from the open position, even when no counter leg open order is shown","ko":"이달 말 배포에서 bracket order 와 cover order 를 열린 포지션에서 바로 청산하는 선택지를 넣는다. 지금은 청산 선택지가 반대편 미체결 주문에만 보인다. 반대편 주문이 보이지 않을 때도 포지션 화면에서 BO/CO 포지션을 바로 청산할 수 있게 한다."}}],"contributing":[],"recurrence_of":null,"symptoms_text":{"en":"On 12 April 2018 at about 12.12 pm, the primary leased line to the NSE exchange on one of Zerodha's CTCLs went down, and the backup leased line that took over went up and down many times over the next 60 minutes. Orders sent through that CTCL were not placed on the exchange and stayed in the states open pending, validation pending and modify pending, leaving a small group of clients with hanging orders and positions.\n\nZerodha connects to the exchanges through several CTCLs, each with one primary and one backup leased line, and spreads all orders from its trading platforms over the CTCLs in round robin. The leased line vendor approved by NSE sent Zerodha emails when this happened. When the pending orders were lapsed, the counter leg square off orders of bracket and cover orders (BO, CO) were never placed, so those clients held BO/CO positions that could not be exited the normal way.","ko":"2018년 4월 12일 12:12 무렵부터 일부 고객의 주문이 거래소에 들어가지 않고 open pending, validation pending, modify pending 상태에 머물렀다. 영향을 받은 것은 NSE 로 연결하는 CTCL 하나를 지난 주문이었다.\n\n그 CTCL 의 주 전용 회선이 끊기자 예비 회선이 자동으로 이어받았지만, 예비 회선도 이후 60분 동안 여러 번 끊겼다 붙기를 되풀이했다. Zerodha 는 이때 NSE 가 승인한 전용 회선 업체에게서 알림 메일을 받았다.\n\n대기 상태 주문이 lapse 처리되자 bracket order 와 cover order 에서는 주 주문에 딸린 반대편 청산 주문이 끝내 들어가지 않았다. 그래서 평소 방법으로는 청산할 수 없는 BO/CO 포지션이 남았다."},"updated_at":"2026-11-14T12:34:04.807593Z","url":"https://benchlet.com/incidentlib/app/cases/IL-0397","org_slug":"zerodha"}