[jetty-dev] [jira] (JETTY-1473) Jetty container hangs after some time

"Jan Bartel (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.jetty.general
Message-ID <802838385.45164.1330562882978.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
    [ https://jira.codehaus.org/browse/JETTY-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=293070#comment-293070 ] 

Jan Bartel commented on JETTY-1473:
-----------------------------------

Vikash,

Jetty is now at release 8.1.1, and there are many many changes to the nio layer. I suggest reading the wiki page on high load and then trying 8.1.1. If you still have a problem, then please provide thread dumps, netstat output and tcpdump traces.

thanks
Jan
                
> Jetty container hangs after some time
> -------------------------------------
>
>                 Key: JETTY-1473
>                 URL: https://jira.codehaus.org/browse/JETTY-1473
>             Project: Jetty
>          Issue Type: Test
>          Components: Eclipse
>    Affects Versions: 8.0.4
>         Environment: Servers: HP DL-380 G7 series with 16 GB RAM, RHEL 5.4, 64-bit OS.
> JAVA_OPTS: JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Xms8192m -Xmx8192m -server -XX:+UseNUMA
> Network speed - 1 GIG switch. 
>            Reporter: vikash agrawal
>            Assignee: Jan Bartel
>         Attachments: netstat.rtf
>
>
> Hi.
> I am using Jetty 8.0.4 stable release binary.
> During my testing, I am pumping a load of 100 HTTP requests per second.
> After sometime, Jetty stops responding to the incoming requests and hangs. The first few hundred requests are processed in a normal fashion, and later the Jetty container hangs.
> The details of my enviornment are as follows -
> Servers: HP DL-380 G7 series with 16 GB RAM, RHEL 5.4, 64-bit OS.
> JAVA_OPTS: JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Xms8192m -Xmx8192m -server -XX:+UseNUMA
> Network speed - 1 GIG switch.
> Upon executing thte netstat commond on RHEL, I observed that there are many TCP connections in TIME_WAIT state.
> In my Jetty handler code, I am returning a response and not hogging the threads.
> I could not obtain a thread dump, as I was unable to connect to the Jetty process using JCONSOLE (all sockets were occupied as mentioned earlier).
> However, I am attaching the netstat command(netstat -p <pid>) output with this post.
> Please, let me know the steps to debug this issue, and I will help in getting to the root cause of this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.