[Planetlab-users] SocketException: No buffer space available

Sven Westergren sven.westergren.4397 at student.uu.se
Tue Oct 24 04:00:46 EDT 2006


Hi!

I'm running a slightly modified version of Bamboo DHT on PlanetLab.
On a few machines I get the following exception:

2006-10-23 03:34:58,417 FATAL bamboo.lss.UdpCC: bb.pos=36 bb.lim=36
addr=158.130.6.253 msg=
00000000ffffffffffffffff0000010e7417bd0100000001ffffffff11dd9c8e7b60ff7f
java.net.SocketException: No buffer space available
         at sun.nio.ch.DatagramChannelImpl.send0(Native Method)
         at sun.nio.ch.DatagramChannelImpl.sendFromNativeBuffer(Unknown
Source)
         at sun.nio.ch.DatagramChannelImpl.send(Unknown Source)
         at sun.nio.ch.DatagramChannelImpl.send(Unknown Source)
         at bamboo.lss.UdpCC.send_msg(UdpCC.java:1389)
         at bamboo.lss.UdpCC.handle_writable(UdpCC.java:1508)
         at bamboo.lss.UdpCC$MySelectableCB.select_cb(UdpCC.java:684)
         at bamboo.lss.ASyncCoreImpl.asyncMain(ASyncCoreImpl.java:330)
         at bamboo.lss.ASyncCore.async_main(ASyncCore.java:129)
         at bamboo.lss.DustDevil.main(DustDevil.java:343)
2006-10-23 03:34:58,635 INFO  bamboo.db.StorageManager: shutdown hook
checkpointing database
2006-10-23 03:34:58,915 INFO  bamboo.db.StorageManager: shutdown hook
checkpoint complete

For some machines it happens immediately (e.g. 
planetlab12.millenium.berkeley.org) and some (e.g. 
planetlab2.engr.uconn.edu) might be able to stay
up for a while but will eventually die with the same exception.
It seems as if I'm hitting a maximum number of connections for that
machine, but bamboo.lss.UdpCC only opens one socket.

Any ideas as to what is going on? Could it be that the load on these
machines is so heavy that opening one socket is too much?

/Sven Westergren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3629 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.planet-lab.org/pipermail/users/attachments/20061024/f7e4017f/smime.bin


More information about the Users mailing list