search cancel

DevTest load test of VS results in several CLOSE_WAIT netstat sessions

book

Article ID: 239153

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

After running a load test of a VS with custom code that had a configurable delay time for the response, netstat showed several sessions with a CLOSE_WAIT status.

These sessions did not disappear after running the benchmark.


Only stopping and starting the VSE would release the sessions. 

Cause

N/A

Environment

Release : 10.7

Component : DevTest Virtual Service

Resolution

Initializing the delay time property in the beanshell custom code with a value after each iteration, resolved the problem.