Reboot durch Push-Service in der Nacht

matze1985

Aktives Mitglied
Mitglied seit
17 Feb 2007
Beiträge
1,537
Punkte für Reaktionen
0
Punkte
0
Hey Leute,

seit dem ich vor ein paar Tagen das Update auf 54.04.80freetz-devel-4252M gemacht habe, habe ich leider tägliche Reboot um kurz nach 0 beobachten müssten.
Habe mich die Letzten Tage dann mal mit einem Crobjob zu einer Beobachtung aufgemacht und habe festgestellt, dass dort folgendes zu sehen ist
Code:
  758     1 root     R N  13308  22%  74% ctlmgr
  654     6 root     SW<      0   0%  24% [capi_oslib]
Und laut RRDStats ist die Box ab 0Uhr für so 10min zu 100% ausgelastet und rebootet dann. Meine Push-Mail kommt aber jede nacht bei mir und und 5 min später gebootet die Box. Habe dann heut Tags über mal den Push-Service getestet mit dem gleichen Ergebnis.
Wollte den Push-Service dann deaktivieren um dies zu unterbinden. Einfach Haken raus und übernehmen, aber auch dabei ist die Last auf 100% gestiegen. Mit strace konnte ich geobachten, dass er sich an dieser Stelle aufhängt
Code:
clock_gettime(CLOCK_MONOTONIC, {1465, 659100204}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 662210214}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 667664238}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 670767382}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 675567582}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 678734343}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 681500390}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 686202326}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 688950186}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1465, 691773233}) = 0
Das macht die Box für eine lange Zeit, immmer immer wieder und sehr schnell, also bei hoher Last und wahrscheinlich bis der Watchdog einspringt...


Hat da jemand vielleicht ne Idee?
 
Wenn die Box diese polls in einer Endlosschleife durchführt, ist es kein Wunder, wenn dieser Prozeß so viel CPU-Last erzeugt. Ein poll mit 0,0,0 als Parametern hat keine sinnvolle Funktion, es gibt nichts, worauf gewartet werden sollte, und der Systemaufruf wartet auch nicht.
Bist Du sicher, daß sonst gar nichts passiert? Was passiert, bevor diese Sequenz anfängt?
Und oben ist ja auch Aktivität bei capi_oslib angezeigt, gibt es dafür einen Anlaß?
 
Hast du vielleich SSL/TLS beim Push-Service aktiviert? Seit einigen Firmwares ist es seitens AVM -glaube ich- möglich. Wenn du da etwas mit SSL-Libs am Board hast, könnte es z.B. Probleme verursachen.

MfG
 
Entschuldigt die lange Antwortzeit.

Ich habe mehrere Sachen die SSL verwenden, habe aber seit mehreren Versionen jetzt schon alles statisch gebaut und ersetzte die libcrypto oder libssl nicht mehr. Auch habe ich im Push Service kein SSL eingtragen, weil das mal nicht lief, sondern mach das SSL an der Stelle per connect auf localhost und stunnel. Was auch soweit läuft.

Warum capi_oslib Last hat weiß ich nicht, ich habe alle Telefone direkt per Dect angeschlossen und nutzte ausschließlich Voip. Bei Push-Service lasse ich mir alles schicken.

Nachdem ich gestern den ctlmgr so oft am Tag gekillt und neugestartet habe wollte ich gestern abend nochmal nen kompletten strace machen, dort funktioniert dann komischer Weise das setzten der Einstellung (deaktivieren des Push-Service) und auch der Push-Service selber im Test und auch in der Nacht ohne Reboot der Box.

Heut morgen habe ich die Box dann rebootet um den Ausgangszustand wieder herzustellen und kann nun das gleiche Verhalten beobachten. Folgenden nun der Bereich des strace bevor die endlosen polls anfangen.

Code:
clock_gettime(CLOCK_MONOTONIC, {312, 204308548}) = 0
poll([{fd=27, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=10, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=11, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=13, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=14, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=15, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=17, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=18, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=19, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=20, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=21, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=25, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=26, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=31, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=7, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=30, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}], 18, 446) = 1 ([{fd=8, revents=POLLIN|POLLRDNORM}])
clock_gettime(CLOCK_MONOTONIC, {312, 235283286}) = 0
recvfrom(8, "<message><to>time</to><from>webcm"..., 8192, 0, {sa_family=AF_FILE, path="/var/tmp/me_webcm0.ctl"...}, [25]) = 240
clock_gettime(CLOCK_MONOTONIC, {312, 242888208}) = 0
wait4(3614, 0x7f9dd978, WNOHANG, NULL)  = 0
sysinfo({uptime=313, loads=[64672, 57504, 27168] totalram=62750720, freeram=3960832, sharedram=0, bufferram=5013504} totalswap=0, freeswap=0, procs=87}) = 0
wait4(3614, 0x7f9dd978, WNOHANG, NULL)  = 0
clock_gettime(CLOCK_MONOTONIC, {312, 245617003}) = 0
poll([{fd=27, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=8, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=10, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=11, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=13, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=14, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=15, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=17, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=18, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=19, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=20, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=21, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=25, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=26, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=31, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND|0x2000}, {fd=7, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}, {fd=30, events=POLLIN|POLLRDNORM|POLLRDBAND|0x2000}], 18, 404) = 1 ([{fd=8, revents=POLLIN|POLLRDNORM}])
clock_gettime(CLOCK_MONOTONIC, {312, 251929027}) = 0
recvfrom(8, "<message><to>emailnotify</to><fro"..., 8192, 0, {sa_family=AF_FILE, path="/var/tmp/me_webcm0.ctl"...}, [25]) = 237
clock_gettime(CLOCK_MONOTONIC, {312, 253999160}) = 0
wait4(3614, 0x7f9dd978, WNOHANG, NULL)  = 0
open("/var/tmp/strings.tab", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/etc/default/1und1/de/strings.tab", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/default/1und1/strings.tab", O_RDONLY) = 34
ioctl(34, TIOCNXCL, 0x7f9dce40)         = -1 ENOTTY (Inappropriate ioctl for device)
read(34, "1 %s1\n\n10 DSL antwortet nicht (Ke"..., 4096) = 4096
read(34, "ion: %s\"\n81 %s1\n82 Beim Speichern"..., 4096) = 4096
read(34, "e auf Port %s1 gestartet.\n151 Dru"..., 4096) = 4096
read(34, "onnte Firmware auf diesem Ger\344t n"..., 4096) = 4096
close(34)                               = 0
ipc(0x1, 0xc0018, 0x1, 0, 0x2ac915b4, 0) = 0
sysinfo({uptime=313, loads=[64672, 57504, 27168] totalram=62750720, freeram=3960832, sharedram=0, bufferram=5013504} totalswap=0, freeswap=0, procs=87}) = 0
ipc(0x1, 0xc0018, 0x1, 0, 0x2ac915c4, 0) = 0
open("/lib/libmailbuilder.so", O_RDONLY) = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=86888, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38d000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320G\0\0004\0\0\0000"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b3be000
old_mmap(0x2b3be000, 77428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b3be000
old_mmap(0x2b3e1000, 2312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0x13000) = 0x2b3e1000
close(34)                               = 0
munmap(0x2b38d000, 4096)                = 0
open("/mod/lib/libwdt.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/lib/libwdt.so.1", O_RDONLY)      = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=6464, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38d000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0@\7\0\0004\0\0\0\250"..., 4096) = 4096
old_mmap(NULL, 73728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b3e2000
old_mmap(0x2b3e2000, 4692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b3e2000
old_mmap(0x2b3f3000, 736, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0x1000) = 0x2b3f3000
close(34)                               = 0
munmap(0x2b38d000, 4096)                = 0
open("/mod/lib/libewnwnet.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libewnwnet.so.0", O_RDONLY)  = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=68776, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38d000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\20,\0\0004\0\0\0\20"..., 4096) = 4096
old_mmap(NULL, 131072, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b3f4000
old_mmap(0x2b3f4000, 61348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b3f4000
old_mmap(0x2b413000, 848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0xf000) = 0x2b413000
close(34)                               = 0
munmap(0x2b38d000, 4096)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38d000
open("/mod/lib/libewnwlinux.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libewnwlinux.so.2", O_RDONLY) = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=75792, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38e000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\200%\0\0004\0\0\0x"..., 4096) = 4096
old_mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b414000
old_mmap(0x2b414000, 68228, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b414000
old_mmap(0x2b434000, 3580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0x10000) = 0x2b434000
close(34)                               = 0
munmap(0x2b38e000, 4096)                = 0
open("/mod/lib/libavmcsock.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libavmcsock.so.2", O_RDONLY) = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=364380, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38e000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000\232\0\0004\0\0\0L"..., 4096) = 4096
old_mmap(NULL, 405504, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b435000
old_mmap(0x2b435000, 302240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b435000
old_mmap(0x2b48f000, 23868, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0x4a000) = 0x2b48f000
old_mmap(0x2b495000, 9712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b495000
close(34)                               = 0
munmap(0x2b38e000, 4096)                = 0
open("/mod/lib/libdl.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY)       = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=9372, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38e000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\7\0\0004\0\0\0\364"..., 4096) = 4096
old_mmap(NULL, 77824, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b498000
old_mmap(0x2b498000, 6128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b498000
old_mmap(0x2b4a9000, 4200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0x1000) = 0x2b4a9000
close(34)                               = 0
munmap(0x2b38e000, 4096)                = 0
open("/mod/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=94723, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38e000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\2204\0\0004\0\0\0h"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4ab000
old_mmap(0x2b4ab000, 50712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b4ab000
old_mmap(0x2b4c7000, 22448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0xc000) = 0x2b4c7000
old_mmap(0x2b4cd000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b4cd000
close(34)                               = 0
munmap(0x2b38e000, 4096)                = 0
open("/mod/lib/libcm.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libcm.so.0", O_RDONLY)       = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=33840, ...}) = 0
close(34)                               = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=55788, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38e000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\340\30\0\0004\0\0\0,"..., 4096) = 4096
old_mmap(NULL, 122880, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4cf000
old_mmap(0x2b4cf000, 54244, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b4cf000
old_mmap(0x2b4ec000, 1388, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0xd000) = 0x2b4ec000
close(34)                               = 0
munmap(0x2b38e000, 4096)                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38e000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\240\247\0\0004\0\0\0H"..., 4096) = 4096
old_mmap(NULL, 737280, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4ed000
old_mmap(0x2b4ed000, 641956, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b4ed000
old_mmap(0x2b599000, 8200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0x9c000) = 0x2b599000
old_mmap(0x2b59c000, 18128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b59c000
close(34)                               = 0
munmap(0x2b38e000, 4096)                = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=55788, ...}) = 0
close(34)                               = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
close(34)                               = 0
open("/mod/lib/libewnwlinux.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libewnwlinux.so.2", O_RDONLY) = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=75792, ...}) = 0
close(34)                               = 0
open("/mod/lib/libavmcsock.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libavmcsock.so.2", O_RDONLY) = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=364380, ...}) = 0
close(34)                               = 0
open("/mod/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=94723, ...}) = 0
close(34)                               = 0
open("/mod/lib/libdl.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY)       = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=9372, ...}) = 0
close(34)                               = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=55788, ...}) = 0
close(34)                               = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
close(34)                               = 0
open("/mod/lib/libavmcsock.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libavmcsock.so.2", O_RDONLY) = 34
fstat(34, {st_mode=S_IFREG|0777, st_size=364380, ...}) = 0
close(34)                               = 0
open("/mod/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=94723, ...}) = 0
close(34)                               = 0
open("/mod/lib/libdl.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY)       = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=9372, ...}) = 0
close(34)                               = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=55788, ...}) = 0
close(34)                               = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
close(34)                               = 0
open("/mod/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=94723, ...}) = 0
close(34)                               = 0
open("/mod/lib/libdl.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY)       = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=9372, ...}) = 0
close(34)                               = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=55788, ...}) = 0
close(34)                               = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
close(34)                               = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
close(34)                               = 0
open("/mod/lib/ld-uClibc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/ld-uClibc.so.0", O_RDONLY)   = 34
fstat(34, {st_mode=S_IFREG|0755, st_size=22636, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38e000
read(34, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\300\t\0\0004\0\0\0\234"..., 4096) = 4096
old_mmap(NULL, 90112, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b5a1000
old_mmap(0x2b5a1000, 17568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 34, 0) = 0x2b5a1000
old_mmap(0x2b5b5000, 4308, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 34, 0x4000) = 0x2b5b5000
close(34)                               = 0
munmap(0x2b38e000, 4096)                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
close(34)                               = 0
open("/mod/lib/ld-uClibc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/ld-uClibc.so.0", O_RDONLY)   = 34
fstat(34, {st_mode=S_IFREG|0755, st_size=22636, ...}) = 0
close(34)                               = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=55788, ...}) = 0
close(34)                               = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
close(34)                               = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 34
fstat(34, {st_mode=S_IFREG|0644, st_size=694320, ...}) = 0
close(34)                               = 0
open("/mod/lib/ld-uClibc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/ld-uClibc.so.0", O_RDONLY)   = 34
fstat(34, {st_mode=S_IFREG|0755, st_size=22636, ...}) = 0
close(34)                               = 0
mprotect(0x2b4a9000, 4096, PROT_READ)   = 0
mprotect(0x2b4c7000, 4096, PROT_READ)   = 0
mprotect(0x2b599000, 4096, PROT_READ)   = 0
mprotect(0x2b5b5000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, 0x7f9dd418)          = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38e000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b38f000
access("/var/tmp/detail.html", F_OK)    = -1 ENOENT (No such file or directory)
access("/var/tmp/alt_detail.txt", F_OK) = -1 ENOENT (No such file or directory)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b390000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b391000
old_mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b5b7000
getpid()                                = 3449
rt_sigaction(SIGWINCH, {0x10000000, [], SA_STACK|SA_INTERRUPT|0x2c462e0}, {0x10000000, [], SA_STACK|SA_INTERRUPT|0x2c462e0}, 16) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b392000
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {312, 580739502}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {312, 581596163}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {312, 582439830}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {312, 583285142}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {312, 584128426}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {312, 584975504}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {312, 585819494}) = 0
poll(0, 0, 0)                           = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {312, 586718995}) = 0
poll(0, 0, 0)                           = 0 (Timeout)

Jemand ne Idee?
 
Anscheinend wird da /lib/libmailbuilder.so nachgeladen, aber nicht in einem neuen Prozeß. Ich weiß nicht, ob es normal ist, daß danach noch die C-Library geladen wird, man sollte annehmen, daß der ctlmgr diese bereits geladen hat. Jedenfalls passiert nichts übermäßig auffälliges, bevor die poll-Aufrufe kommen.
Es wird auf die Existenz von /var/tmp/detail.html und /var/tmp/alt_detail.txt geprüft, ich weiß nicht, ob diese Dateien existieren sollten. Es wäre denkbar, daß das Problem daher kommt, auch wenn ich keine vernünftige Erklärung dafür hätte. Insbeondere fällt mir kein Grund ein, reguläre Dateien mit poll abzufragen.

Was passiert mit einer normalen AVM-Firmware? Und evtl. ein strace, wenn damit die Email versendet werden soll.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.