LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-09-2006, 08:44 PM   #1
cabir
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Socket is left open


Hi,

We are using Redhat Linux and we are doing load test using apache JMeter (HTTPSampler) of our Web server (running in hp-ux). After few iterations, the jmeter thread hangs and we see the TCP Socket is left open and is in ESTABLISHED state. The ESTABLISHED state remains till the JMeter is shutdown. After it is shutdown, the socket state changes from ESTABLISHED to FIN_WAIT_1 and eventually cleans up after fews seconds.

Please help us to fix this problem as this is very critical and it is stopping us from doing the load test as the jmeter threads getting hanged and never completes the test successfully.

This problem does not happen if we use 250 threads and it is reproducible everytime with 500 or more threads.

Thanks in advance for you help.

-Cabir
 
Old 10-10-2006, 06:37 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
After few iterations, the jmeter thread hangs and we see the TCP Socket is left open and is in ESTABLISHED state.
Check if it's a configuration problem, a network problem, a problem in the application you're testing. If that all ain't it, make sure you test with logging enabled and get it to dump thread info. Read the mailing list archives for clues else dumping your info on the jmeter-user[at]jakarta.apache.org mailing list would be best I think.


The ESTABLISHED state remains till the JMeter is shutdown. After it is shutdown, the socket state changes from ESTABLISHED to FIN_WAIT_1 and eventually cleans up after fews seconds.
Since it closes this doesn't seem a problem, doesn't it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Session management error: Could not open network socket nornagon Debian 3 05-31-2007 08:30 PM
Couldn't open socket dudulz Linux - General 5 04-05-2006 08:55 PM
open socket ethernet won't start roy.thistle Fedora 1 01-02-2006 11:21 PM
unable to open socket for inet6 NonSumPisces Linux - Networking 3 06-26-2004 01:18 PM
errormsg: mkdtemp:private socket dir: no space left on device (?) s7nner Linux - General 2 06-10-2003 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration