summaryrefslogtreecommitdiff
path: root/open_issues/syslog.mdwn
blob: 2e90269886e34e818ebc64055e5d4201a56504ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
IRC, unknwon channel, unknown date.

    <tschwinge> scolobb: In wiki edit 60accafa79f645ae61b578403f7fc0c11914b725
      I see that you intend(ed) to use syslog for logging debug messages.  I
      thought I'd point you to
      http://lists.gnu.org/archive/html/bug-hurd/2007-02/msg00042.html -- no
      idea if that's still an issue or what went wrong at that time.  Perhaps
      you can have a look?
    <scolobb> tschwinge: Thanks for information! Currently I'm logging some
      debug messages to a simple file, but I'll now check whether the issue
      you've pointed out is still present.
    <scolobb> tschwinge: I am getting absolutely abnormal results: when I call
      syslog() from a simple C program for the first time, the message goes to
      the system log. However, any further calls to syslog() do just
      nothing... I am able to send something to syslog only after reboot (it
      doesn't help if I restart syslogd).


IRC, freenode, #hurd, 2011-08-08

    < pinotree> wow, `logger` + a simple C udp server can cause havoc
    < pinotree> youpi: ever seen something like
      http://paste.debian.net/hidden/72cf4b77/ ?
    < pinotree> and then also other servers (like pflocal, pfinet, few more)
      start becoming crazy (using 100% cpu)
    < youpi> nope
    < pinotree> iirc in one of the few tries i got the message "Resource lost."
      from the closed ssh connection
    < pinotree> i was trying to see why syslog doesn't work, but this basically
      surprised me...
    < pinotree> oh, i found an apparently working syslog daemon
    < pinotree> dsyslog
    < gg0> have you tried syslog-ng? IIRC it writes in /var/log/messages by
      default.
    < pinotree> yeah, it seems to stop receiving messages are few
    < pinotree> gg0: are you using syslog-ng?
    < gg0> pinotree: I should fire hurd vm up. I seem I kept dirty-patched
      busybox syslog, I don't even know if it works, at least it starts
      http://bugs.debian.org/636162
    < pinotree> maintainer said "not really"
    < gg0> well, if all other syslogs use shm and sems, they won't work too,
      right?
    < youpi> shm should work with the latest libc
    < youpi> what won't is sysv sem
    < youpi> (i.e. semget)


IRC, OFTC, #debian-hurd, 2011-11-02:

    * pinotree sighs at #645790 :/
    <tschwinge> pinotree: W.r.t. 645790 -- yeah, ``someone'' should finally
      figure out what's going on with syslog.
      http://lists.gnu.org/archive/html/bug-hurd/2008-07/msg00152.html
    <tschwinge> pinotree: And this...
      http://lists.gnu.org/archive/html/bug-hurd/2007-02/msg00042.html
    <pinotree> tschwinge: i did that 20 invocations tests recently, and
      basically none of them has been logged
    <pinotree> tschwinge: when i started playing with logger more, as result i
      had some server that started taking all the cpu, followed by other
      servers and in the end my ssh connection were dropped and i had nothing
      to do (not even login from console)
    <tschwinge> pinotree: Sounds like ``fun''.  Hopefully we can manage to
      understand (and fix the underlying issue) why a simple syslog()
      invocation can make the whole system instable.
    <pinotree> tschwinge: to be honest, i got havoc in the system when i told
      syslog to manually look for /dev/log (-u /dev/log), possibly alao when
      telling to use a datagram socket (-d)
    <pinotree> but even if a normal syslog() invocation does not cause havoc,
      there's still the "lost messages" issue
    <tschwinge> Yep.  What I've been doing ever since, is deinstall all
      *syslog* packages.
    <tschwinge> This ``fixed'' all syslog() hangs.