Hi
Please try with rv 1148. In rv1147 are some more fixes for misdirected debug-outputs (which might cause end up in a loop) rv 1148 ensures that no threads are genereated before forking to background.
On Freitag 14 November 2008, Stephan Enderlein (Freifunk Dresden) wrote:
Hello,
I'm using batman-ex with revision 1146. One thread is running with high cpu load. I can not make any connection via batmand -c. When I try it, the call is also hanging. I had the problems before, but not very often.
Anyway, its definitely unacceptable !
I can not say how to reproduce this.
Would be a pity, so fare we have always learned from your findings. Have your tried to flood your setup with someting that causes the gw-client to switch gateways very frequently (like while true; do bmxd -cr0 ;sleep 0.5;bmxd -cr1; sleep 0.5 ). I guess this might help to crash it :-(, and maybe narrow the amount of possible reasons.
best, axel
On Freitag 14 November 2008, Stephan Enderlein (Freifunk Dresden) wrote:
Hello,
I'm using batman-ex with revision 1146. One thread is running with high cpu load. I can not make any connection via batmand -c. When I try it, the call is also hanging. I had the problems before, but not very often. I can not say how to reproduce this.
the compile/linker flags I use are: CFLAGS = -Wall -O1 -DMEMORY_USAGE -DPROFILE_DATA -DDEBUG_MALLOC LDFLAGS = -lpthread
Here the top output. Most time the load is about 90%.
Mem: 14840K used, 15784K free, 0K shrd, 1544K buff, 5936K cached CPU: 15.8% usr 84.1% sys 0.0% nice 0.0% idle 0.0% io 0.0% irq 0.0% softirq Load average: 1.04 0.96 0.72 PID PPID USER STAT VSZ %MEM %CPU COMMAND 20639 1793 root R 1260 4.1 67.6 /sbin/batmand -s 10.12.0.1 -a 10.12.10.16/28 -r 1 --t 63 --no-unreachable-rule --no-throw-rules --no-prio-rules --one-way-tunnel 1 --two-way-tunnel 0 eth1 tbb /t 1 /i /A 1106 1 root S 1260 4.1 0.0 /sbin/batmand -s 10.12.0.1 -a 10.12.10.16/28 -r 1 --t 63 --no-unreachable-rule --no-throw-rules --no-prio-rules --one-way-tunnel 1 --two-way-tunnel 0 eth1 tbb /t 1 /i /A 1793 1106 root S 1260 4.1 0.0 /sbin/batmand -s 10.12.0.1 -a 10.12.10.16/28 -r 1 --t 63 --no-unreachable-rule --no-throw-rules --no-prio-rules --one-way-tunnel 1 --two-way-tunnel 0 eth1 tbb /t 1 /i /A 21037 21035 root S 1212 3.9 0.0 batmand -cb -d2 21283 21241 root S 1212 3.9 0.0 batmand -c -b -r 1
Regards Stephan
Dipl.Informatiker(FH) Stephan Enderlein Freifunk Dresden
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n