About this list Date view Thread view Subject view Author view Attachment view

From: Benoit des Ligneris (benoit.des.ligneris_at_gmail.com)
Date: Sat 30 Oct 2004 - 15:15:41 BST


Hello,

Some additional info :

> > If I add the multicast address in the vserver.conf file
> > (IPROOT="192.168.4.5 239.2.11.71") then I obtain the following :
> > gmond -d2
> > pthread_attr_init
> > creating cluster hash for 1024 nodes
> > hash_create size = 1024
> > hash->size is 1031
> > gmond initialized cluster hash
> > Using interface eth0
> > mcast listening on 239.2.11.71 8649
> > XML listening on port 8649
> > listening thread(s) have been started
> > listening thread(s) have been started
> > cleanup thread has been started
> > gmond could not connect to multicast channel: Invalid argument
>
> hmm, well, maybe some details via strace?

Here is the end of the strace :
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0
bind(5, {sa_family=AF_INET, sin_port=htons(8649),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(8649),
sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
listen(5, 10) = 0
write(2, "XML listening on port 8649", 26XML listening on port 8649) = 26
write(2, "\n", 1
) = 1
pipe([6, 7]) = 0
clone(child_stack=0x8087398,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND) = 6704
write(7, "\\o\0@\5\0\0\0\276\2520\7\254\206\4\10T\363\377\277\350"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(7, "\240\260\4@\0\0\0\0\300\364\377\2770\276\4\10\310A\10\10"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [RTMIN])
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(7, "\240\260\4@\0\0\0\0\300\364\377\2770\276\4\10\310A\10\10"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([]mcast_listen_thread() started 32771
mcast_listen_thread() started 16386
 <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [RTMIN])
write(2, "listening thread(s) have been st"..., 37listening thread(s)
have been started) = 37
write(2, "\n", 1
) = 1
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(7, "\240\260\4@\0\0\0\0\300\364\377\277,\263\4\10 B\10\10\0"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [RTMIN])
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(7, "\240\260\4@\0\0\0\0\300\364\377\277,\263\4\10 B\10\10\0"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [RTMIN])
write(2, "listening thread(s) have been st"..., 37listening thread(s)
have been started) = 37
write(2, "\n", 1
) = 1
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(7, "\240\260\4@\0\0\0\0\300\364\377\277\235\317\4\10\0\0\0"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [RTMIN])
write(2, "cleanup thread has been started", 31cleanup thread has been
started) = 31
write(2, "\n", 1
) = 1
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8
setsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(8, SOL_IP, IP_MULTICAST_IF, [0], 4) = 0
setsockopt(8, SOL_IP, IP_MULTICAST_TTL, "\1", 1) = 0
connect(8, {sa_family=AF_INET, sin_port=htons(8649),
sin_addr=inet_addr("239.2.11.71")}, 16) = -1 EINVAL (Invalid argument)
close(8) = 0
write(2, "gmond could not connect to multi"..., 63gmond could not
connect to multicast channel: Invalid argument
) = 63
write(7, "\240\260\4@\2\0\0\0\377\377\377\377\374\333\4_at_H$\1@\10"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [RTMIN])
waitpid(6704, NULL, __WCLONE) = 6704
exit_group(-1) = ?

> > I know out of my mind of some applications that rely on multicast
> > (ganglia, cups, openSLP, etc.) and it would be convenient if multicast
> > can be enabled in a vserver.
>
> does that mean you are volunteering to test multicast
> for linux-vserver?

Yes ;-)))

> > What are the technical difficulties ?
>
> don't know yet ...

Cool ;-))))

Ben

-- 
Benoit des Ligneris Ph. D.
President de Revolution Linux     http://www.revolutionlinux.com/
OSCAR Chair                    http://oscar.openclustergroup.org/
Chef de projet EduLinux                  http://www.edulinux.org/
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 30 Oct 2004 - 15:16:02 BST by hypermail 2.1.3