Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

MulticastSocket.send blocks for more than 28 secs on solaris

Thread view: 
Suresh - 08 Dec 2005 11:44 GMT
Hi,

I am sorry if this question has been raised earlier, but I could not find
any convencing answer till now.

I have a program that tries to send UDP packets (Multicast) as fast as
possible. But on my solaris system the "send" function somtimes blocks for
nearly 28-30 secs. This never happens on my linux system, (the send usually
takes 1 or 2 msec on linux system).

I have the following configuration:

Solaris:

$ uname -a
SunOS solaris 5.8 Generic_117350-30 sun4u sparc SUNW,Sun-Fire-V210 Solaris
$ java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Server VM (build 1.5.0_05-b05, mixed mode)

Linux:
$ uname -a
Linux linux 2.6.9-22.0.1.EL #1 Thu Oct 27 12:26:11 CDT 2005 i686 i686 i386
GNU/Linux
$ java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

The datagram packet size is 1442 bytes.

Is this a normal behaviour or am I doing something wrong ? Is there any
workarround to avoid these blocks ?

Thanks for your help,
Suresh.
Rodrigo Zechin - 08 Dec 2005 13:50 GMT
I have experienced some problems like that in the past with some
hardwares (the OS was linux, but I don't think it was related with
that).
I would make some tests with Solaris on other machines if I were you.

Zechin
Suresh - 08 Dec 2005 14:26 GMT
> I would make some tests with Solaris on other machines if I were you.

I dont have too many machines to test.
Joan - 09 Dec 2005 18:01 GMT
>> I would make some tests with Solaris on other machines if I
>> were you.
>
> I dont have too many machines to test.

can you try with smaller packet size?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.