[Spread-users] spread-5.0.0rc1 : Solaris setsockopt issue

Martin Schu martin.sc11111 at gmail.com
Thu Dec 8 08:10:54 EST 2016


Hi John,

we are very glad to see the new version, 5.0.0 RC1, of The Spread Toolkit.
Apparently you've not only added IPv6 support but did further polishing,
e.g. improved logging and error handling.

We've tested 5.0.0rc1 in our environment and observed some problems.

In our Sun/Oracle/Solaris environment spread 5.0.0rc1 fails during startup
saying:

"DL_init_channel_gen: problem (22: Invalid argument) in setsockopt of
multicast ttl = 1; ignore on Windows"

In spread-src-5.0.0rc1:libspread-util/src/data_link.c you made some comment:

" * TODO: check on sizeof setsockopt types across platforms (i.e. -
Sun: char vs. int)"

This leads to my assumption that you are aware of that issue, aren't
you? Are you planning to fix it?

Kind regards,

Martin

Set Alarm mask to: ffffffff
2016-12-06 14:42:29 GMT Disabling Dangerous Monitor Commands!
2016-12-06 14:42:29 GMT Setting SO_REUSEADDR to auto
2016-12-06 14:42:29 GMT Hash value for this configuration is: 3310648069
2016-12-06 14:42:29 GMT Finished configuration file.
2016-12-06 14:42:29 GMT Conf_load_conf_file: using sin6_scope_id 0 for
interface 172.16.0.171
2016-12-06 14:42:29 GMT Conf_load_conf_file: My name: easy-serv-02b,
id: 176040470, addr: 172.16.0.171, port: 7982
2016-12-06 14:42:29 GMT E_init: went ok
2016-12-06 14:42:29 GMT new: creating pointer 0x39f7b0 to object type
2 named pack_head
2016-12-06 14:42:29 GMT new: creating pointer 0x385a10 to object type
50 named packet_body
2016-12-06 14:42:29 GMT new: creating pointer 0x39f800 to object type
8 named token_head
2016-12-06 14:42:29 GMT new: creating pointer 0x3a1fb0 to object type
9 named token_body
2016-12-06 14:42:29 GMT new: creating pointer 0x39f850 to object type
8 named token_head
2016-12-06 14:42:29 GMT new: creating pointer 0x385fd0 to object type
50 named packet_body
2016-12-06 14:42:29 GMT Net_signal_conf_reload: Bcast is not needed
2016-12-06 14:42:29 GMT Net_init: implicit: binding bcast recv channel
to [0.0.0.0]:7982
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM
socket of family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on
for recv IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: binding recv channel to
[0.0.0.0]:7982
2016-12-06 14:42:29 GMT DL_init_channel_gen: success; chan = 4
2016-12-06 14:42:29 GMT Net_init: implicit: binding token recv channel
to [0.0.0.0]:7983
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM
socket of family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on
for recv IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: binding recv channel to
[0.0.0.0]:7983
2016-12-06 14:42:29 GMT DL_init_channel_gen: success; chan = 5
2016-12-06 14:42:29 GMT Net_init: creating send channel bound to 172.16.0.171
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM
socket of family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on
for send IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: setting IPv4 multicast
TTL to 1 for send channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: problem (22: Invalid
argument) in setsockopt of multicast ttl = 1; ignore on Windows
Exit caused by Alarm!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spread.org/pipermail/spread-users/attachments/20161208/774eab2a/attachment-0001.html>


More information about the Spread-users mailing list