users@glassfish.java.net

Re: https (8181) not responding - v2_rc1_b58

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 29 Aug 2007 17:35:34 -0400

Hi,

I've installed curl-loader (really nice tool BTW) with the following
configuration:

> ########### GENERAL SECTION ################################
>
> BATCH_NAME= https
> CLIENTS_NUM_MAX=100
> CLIENTS_NUM_START=100
> #CLIENTS_NUM_START=1
> CLIENTS_RAMPUP_INC=10
> INTERFACE =eth0
> NETMASK=16
> IP_ADDR_MIN= 192.168.0.105
> #IP_ADDR_MIN= 192.168.1.1
> IP_ADDR_MAX= 192.168.0.105
> #IP_ADDR_MAX= 192.168.23.255 #Actually - this is for self-control
> CYCLES_NUM=50
> URLS_NUM= 1
>
> ########### URL SECTION ####################################
>
> URL=https://localhost:8181/index.html
> #URL=https://localhost/apache2-default/ACE-INSTALL.html
> #URL=https://localhost/ACE-INSTALL.html
> URL_SHORT_NAME="url-https"
> REQUEST_TYPE=GET
> TIMER_URL_COMPLETION = 0 # In msec. When positive, Now it is enforced by cancelling url fetch on timeout
> TIMER_AFTER_URL_SLEEP =1000

At the end of the test I did:

> ============ loading batch is: https ======================================
> Operations: Success Failed Timed out
> URL0:url-https 200 4900 0 7 0 0
> --------------------------------------------------------------------------------
> Interval stats (latest:3 sec, clients:93, CAPS-curr:66):
> H/F Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s
> H/F/S Req:200,1xx:0,2xx:200,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:46ms,D-2xx:46ms,Ti:237733B/s,To:8466B/s
> --------------------------------------------------------------------------------
> Summary stats (runs:70 secs, CAPS-average:71):
> H/F Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s
> H/F/S Req:4900,1xx:0,2xx:4900,3xx:0,4xx:0,5xx:0,Err:7,T-Err:0,D:44ms,D-2xx:44ms,Ti:249620B/s,To:8890B/s
> =================================================================================
> Manual: clients:max[100],curr[93]. Inc num: [+|*].
> =================================================================================
> H/F Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s
> H/F/S Req:93,1xx:0,2xx:93,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:92ms,D-2xx:92ms,Ti:331638B/s,To:11811B/s
>
> =======================================================================================
> End of the test for batch: https
> =======================================================================================
>
>
> Test total duration was 70 seconds and CAPS average 71:
> H/F Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s
> H/F/S Req:4993,1xx:0,2xx:4993,3xx:0,4xx:0,5xx:0,Err:7,T-Err:0,D:44ms,D-2xx:44ms,Ti:254357B/s,To:9058B/s
> Operations: Success Failed Timed out
> URL0:url-https 93 4993 0 7 0 0
>
> Exited. For details look in the files:
> - https.log for errors and traces;
> - https.txt for loading statistics;
> - https.ctx for virtual client based statistics.
> You may add -v and -u options to the command line for more verbouse output to https.log file.
> [root_at_localhost curl-loader-0.41]# netstat -an | grep CLOSE_WAIT | wc -l
> 0

So at least on linux I didn't see any file descriptor leak on the server
(caused by socket marked at CLOSE_WAIT) but see a lot of CLOSE_WAIT on
the curl-loader side (they are going away after couple a seconds). Any
helps to reproduce your issues is welcome :-)

Thanks

-- Jeanfrancois

Jeanfrancois Arcand wrote:
> Hi,
>
> if you have a reproducible test case, just file an issue here:
>
> https://glassfish.dev.java.net/servlets/ProjectIssues
>
> so we can track the problem.
>
> Many thanks!
>
> -- Jeanfrancois
>
> Jeanfrancois Arcand wrote:
>> Hi,
>>
>> glassfish_at_javadesktop.org wrote:
>>> Hi,
>>> I am requesting jsp pages using a https load tool - "curl loader". I
>>> tried to run 100 http requests which worked fine. But when i run
>>> https load, the server stop responding.
>>> I checked with "netstat -an" and found 100 connections with
>>> "CLOSE_WAIT" state.
>>
>> I can't reproduce the problem. Can you give me more information about
>> your loader? I know curl, but have you scripted curl to load the
>> server? Which JDK version are you using and on which platform?
>>
>> If you can send me the exact command, I will see if I can reproduce
>> the problem.
>>
>> Thanks
>>
>> -- Jeanfrancois
>>
>>>
>>> any idea?
>>>
>>> Thanks.
>>> [Message sent by forum member 'server_user' (server_user)]
>>>
>>> http://forums.java.net/jive/thread.jspa?messageID=233014
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>