|
|
Choosing A Webhost: |
FW: Question about RMI, TCP/IP KeepAlive, and socket reset except ions...: msg#00007java.sun.rmi
We had a (short interval polls on slave server)loaded server at our installation. The symptom is sporadic broken pipes and connection reset and has since been resolved after applying said parm. You can give it a try in your installation. See, in addition: http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html Seck Wong 972 963 1711 -----Original Message----- From: Robert DiFalco [mailto:rdifalco@xxxxxxxxxxxx] Sent: Wednesday, October 05, 2005 10:35 AM To: RMI-USERS@xxxxxxxxxxxx Subject: Re: Question about RMI, TCP/IP KeepAlive, and socket reset except ions... Why do you think this will help with connection reset or broken pipe issues due to server or client load? R. -----Original Message----- From: Wong, Seck {PBSG} [mailto:Seck.Wong@xxxxxxxx] Sent: Monday, October 03, 2005 7:01 AM To: RMI-USERS@xxxxxxxxxxxx Subject: FW: Question about RMI, TCP/IP KeepAlive, and socket reset except ions... Try this run time option: -Dsun.net.inetaddr.ttl=10 http://forum.java.sun.com/thread.jspa?forumID=4&threadID=140761 Seck Wong 972 963 1711 -----Original Message----- From: Robert DiFalco [mailto:rdifalco@xxxxxxxxxxxx] Sent: Saturday, October 01, 2005 12:28 PM To: RMI-USERS@xxxxxxxxxxxx Subject: Question about RMI, TCP/IP KeepAlive, and socket reset exceptions... So, I am not a network communications pro -- too much to keep up on, but we intermittently receive Marshalling or Unmarshalling exceptions usually due to socket resets or broken pipes when we have say a couple of hundreds clients communicating with our server. Note that we use RMI SSL Socket Factories. I understand that connections are unreliable and that I cannot completely fix this. However, I am wondering what steps I can take (tuning or otherwise) to help make this a more rare occurrence. One thing I noticed is that RMI will use TCP KeepAlive if it is available. I also know that problems with KeepAlive messages "could" result in unnecessary socket resets. What would happen if in my socket factory a made #getKeepAlive always return false and #setKeepAlive always call super.setKeepAlive( false ). Would this help mitigate seemingly unnecessary reset connection exceptions? Anything else I should try? Reducing the value of RMI connection expiration to say 10 seconds so the server is not managing as many connections? (and hopefully will not choose to reset existing connections?) Other things I am missing? Thanks! ======================================================================== === To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html ======================================================================== === To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html ======================================================================== === To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Question about RMI, TCP/IP KeepAlive, and socket reset except ions..., Robert DiFalco |
|---|---|
| Next by Date: | Dynamic Class downloading, Calcy |
| Previous by Thread: | Re: Question about RMI, TCP/IP KeepAlive, and socket reset except ions..., Robert DiFalco |
| Next by Thread: | Dynamic Class downloading, Calcy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |