* [B.A.T.M.A.N.] alfred: IPC issues
@ 2014-08-06 18:32 Jan Lühr
2014-08-07 8:37 ` Simon Wunderlich
0 siblings, 1 reply; 5+ messages in thread
From: Jan Lühr @ 2014-08-06 18:32 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hei folks,
I'm using alfred 2014.0.0 on OpenWRT Barrier Breaker.
Alfred is running:
root@6466b34ffcac:~# ps -w | grep alfred
1718 root 1100 S /usr/sbin/alfred -i br-freifunk -b bat0
But cannot be queried using the client:
root@6466b34ffcac:~# alfred -r 94
can't connect to unix socket: Connection refused
What's wrong here?
Configuration is
config 'alfred' 'alfred'
option interface 'br-freifunk'
option mode 'server'
option batmanif 'bat0'
option start_vis '0'
option run_facters '0'
Thanks,
Keep smiling
yanosz
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] alfred: IPC issues
2014-08-06 18:32 [B.A.T.M.A.N.] alfred: IPC issues Jan Lühr
@ 2014-08-07 8:37 ` Simon Wunderlich
2014-08-07 8:42 ` Jan Lühr
2014-08-07 12:34 ` Jan Lühr
0 siblings, 2 replies; 5+ messages in thread
From: Simon Wunderlich @ 2014-08-07 8:37 UTC (permalink / raw)
To: b.a.t.m.a.n
Hello Jan,
> Hei folks,
>
> I'm using alfred 2014.0.0 on OpenWRT Barrier Breaker.
>
> Alfred is running:
> root@6466b34ffcac:~# ps -w | grep alfred
> 1718 root 1100 S /usr/sbin/alfred -i br-freifunk -b bat0
>
> But cannot be queried using the client:
> root@6466b34ffcac:~# alfred -r 94
> can't connect to unix socket: Connection refused
>
> What's wrong here?
>
> Configuration is
> config 'alfred' 'alfred'
> option interface 'br-freifunk'
> option mode 'server'
> option batmanif 'bat0'
> option start_vis '0'
> option run_facters '0'
>
I don't see a problem right from your configuration. Can you please check:
* do you see the socket file /var/run/alfred.sock after starting alfred?
* does the same problem happen if you restart alfred or start it manually?
Thank you,
Simon
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] alfred: IPC issues
2014-08-07 8:37 ` Simon Wunderlich
@ 2014-08-07 8:42 ` Jan Lühr
2014-08-07 12:34 ` Jan Lühr
1 sibling, 0 replies; 5+ messages in thread
From: Jan Lühr @ 2014-08-07 8:42 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hello,
thanks for your feedback.
Am 08/07/2014 10:37 AM, schrieb Simon Wunderlich:
> Hello Jan,
>
>> Hei folks,
>>
>> I'm using alfred 2014.0.0 on OpenWRT Barrier Breaker.
>>
>> Alfred is running:
>> root@6466b34ffcac:~# ps -w | grep alfred
>> 1718 root 1100 S /usr/sbin/alfred -i br-freifunk -b bat0
>>
>> But cannot be queried using the client:
>> root@6466b34ffcac:~# alfred -r 94
>> can't connect to unix socket: Connection refused
>>
>> What's wrong here?
>>
(...)
> I don't see a problem right from your configuration. Can you please check:
>
> * do you see the socket file /var/run/alfred.sock after starting alfred?
Looks nice..
root@6466b34ffcac:~# ls -lh /var/run/alfred.sock
srwxr-xr-x 1 root root 0 Aug 6 20:47 /var/run/alfred.sock
> * does the same problem happen if you restart alfred or start it manually?
/etc/init.d/alfred restart made it disappear
For some reason, this is persistent:
* Before restarting, alfred was unusable after rebooting the machine
* After a restarting once, alfred is usable - even after reboots
Greetu, Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] alfred: IPC issues
2014-08-07 8:37 ` Simon Wunderlich
2014-08-07 8:42 ` Jan Lühr
@ 2014-08-07 12:34 ` Jan Lühr
2014-08-07 13:18 ` Matthias Schiffer
1 sibling, 1 reply; 5+ messages in thread
From: Jan Lühr @ 2014-08-07 12:34 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hello,
Am 08/07/2014 10:37 AM, schrieb Simon Wunderlich:
> Hello Jan,
>
>> Hei folks,
>>
>> I'm using alfred 2014.0.0 on OpenWRT Barrier Breaker.
>>
I'm not able to reproduce this issue using 2014.3.0.
I'm not certain, whether 2014.3.0 is the cause.
Greetz, Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] alfred: IPC issues
2014-08-07 12:34 ` Jan Lühr
@ 2014-08-07 13:18 ` Matthias Schiffer
0 siblings, 0 replies; 5+ messages in thread
From: Matthias Schiffer @ 2014-08-07 13:18 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
On 08/07/2014 02:34 PM, Jan Lühr wrote:
> Hello,
>
>
> Am 08/07/2014 10:37 AM, schrieb Simon Wunderlich:
>> Hello Jan,
>>
>>> Hei folks,
>>>
>>> I'm using alfred 2014.0.0 on OpenWRT Barrier Breaker.
>>>
>
> I'm not able to reproduce this issue using 2014.3.0.
> I'm not certain, whether 2014.3.0 is the cause.
>
> Greetz, Jan
>
I think 2014.0.0 had an FD leak issue, which could easily cause alfred
to exceed the process limit (which is 1024 FDs on OpenWrt) within a few
hours. As accept() needs to open a new FD, this would explain the issue.
Matthias
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-07 13:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06 18:32 [B.A.T.M.A.N.] alfred: IPC issues Jan Lühr
2014-08-07 8:37 ` Simon Wunderlich
2014-08-07 8:42 ` Jan Lühr
2014-08-07 12:34 ` Jan Lühr
2014-08-07 13:18 ` Matthias Schiffer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.