Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dansguardian 2.12.0.3 Signal 11

    Scheduled Pinned Locked Moved pfSense Packages
    89 Posts 8 Posters 40.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rjcrowder
      last edited by

      @Fredb:

      I've got it, thanks
      Doh big file ! It's not easy to find where the "signal 11" hides

      I caught it fairly quickly… should be toward the end somewhere...

      1 Reply Last reply Reply Quote 0
      • F
        Fredb
        last edited by

        Yes in system.log.sig11
        Jun  1 17:04:21 pfsense kernel: pid 10303 (dansguardian-2.12.0), uid 106: exited on signal 11

        But it's hard to correlate with the other file, for the moment I didn't see any point

        1 Reply Last reply Reply Quote 0
        • R
          rjcrowder
          last edited by

          @Fredb:

          But it's hard to correlate with the other file, for the moment I didn't see any point

          yea… I was wondering how you could correlate them. There's nothing in the debug log that says "signal 11"... That's all I have though - those two logs.

          1 Reply Last reply Reply Quote 0
          • F
            Fredb
            last edited by

            Very, very strange, there is no error in debug's file between Date: Sat, 01 Jun 2013 17:02:09 GMT and Date: Sat, 01 Jun 2013 17:04:31 GMT
            DG run with very low load, without problem

            busychildren:1
            freechildren:32
            waitingfor:0

            Seems close to http://forum.pfsense.org/index.php?topic=58395.0 in both case the process seem doesn't really crashed (no need to restart)

            I don't know what to think, there is no problem with oldest versions ?

            EDIT: For those who suffer from "dansguardian -N" issues I will release a new version with a fix next week, here http://numsys.eu/search.php?search=Dansguardian

            1 Reply Last reply Reply Quote 0
            • F
              Fredb
              last edited by

              Marcelloc as you know there was a problem with pcre recently, do you compile with pcre on or off ?
              Can we make a test with off ?

              1 Reply Last reply Reply Quote 0
              • R
                rjcrowder
                last edited by

                @Fredb:

                Seems close to http://forum.pfsense.org/index.php?topic=58395.0 in both case the process seem doesn't really crashed (no need to restart)

                I know I've seen it since 12.0.3 Not sure prior to that…

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  @Fredb:

                  Marcelloc as you know there was a problem with pcre recently, do you compile with pcre on or off ?
                  Can we make a test with off ?

                  I think it's marked as a dependence on freebsd ports, I'll try to compile it without pcre.

                  Does dansguardian works fine without pcre????

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • R
                    rjcrowder
                    last edited by

                    @marcelloc:

                    Does dansguardian works fine without pcre????

                    see this http://contentfilter.futuragts.com/wiki/doku.php?id=pattern_matching. However - looks like compiling without PCRE may cause a problem with some of the regex expressions in the current config…

                    1 Reply Last reply Reply Quote 0
                    • F
                      Fredb
                      last edited by

                      Yes, pcre is for advanced regex

                      1 Reply Last reply Reply Quote 0
                      • R
                        rjcrowder
                        last edited by

                        @Fredb:

                        Very, very strange, there is no error in debug's file between Date: Sat, 01 Jun 2013 17:02:09 GMT and Date: Sat, 01 Jun 2013 17:04:31 GMT
                        DG run with very low load, without problem

                        busychildren:1
                        freechildren:32
                        waitingfor:0

                        Seems close to http://forum.pfsense.org/index.php?topic=58395.0 in both case the process seem doesn't really crashed (no need to restart)

                        I don't know what to think, there is no problem with oldest versions ?

                        EDIT: For those who suffer from "dansguardian -N" issues I will release a new version with a fix next week, here http://numsys.eu/search.php?search=Dansguardian

                        Hey guys… just wanted to bump this thread and see if there was any update. I'm still getting the occasional signal 11. Doesn't seem to cause any perceptible problem, but I"m thinking it's something that should get fixed... Any further ideas or things I can test to help with this issue?

                        1 Reply Last reply Reply Quote 0
                        • F
                          Fredb
                          last edited by

                          @rjcrowder

                          We had rewritten a part of engine for Linux ( http://numsys.eu/search.php?search=Dansguardian ), but the project need help for Freebsd, testing and new codes …
                          I'm searching how will the project be sustained after, an sponsor ? a fork ? I do not yet know

                          1 Reply Last reply Reply Quote 0
                          • R
                            rjcrowder
                            last edited by

                            @Fredb:

                            @rjcrowder

                            We had rewritten a part of engine for Linux ( http://numsys.eu/search.php?search=Dansguardian ), but the project need help for Freebsd, testing and new codes …
                            I'm searching how will the project be sustained after, an sponsor ? a fork ? I do not yet know

                            So is there already a BSD version that uses kqueue? Does the epoll rewrite fix the sig 11 issue?

                            No promises, but I might pull the code down for 2.12.0.7 and take a look at it…

                            1 Reply Last reply Reply Quote 0
                            • F
                              Fredb
                              last edited by

                              Sorry about my English, I guess I'm not clear

                              I mean DG used not optimized codes, in Fatcontrol.cpp, Philip Pearce has rewrites large parts of codes for Linux only (epoll), it's the first step, and the result is very very impressive.

                              My part was to preserve the old code in compilation, so:

                              Linux -> Many parts with epoll (still some old parts)
                              BSD -> Perhaps I made some minor fixes, and perhaps I put some new bugs, but no major changes (old codes)

                              So for beginning this version need tests with BSD (code broken ?), it's the second step, and after will do exactly the same work for BSD ( but with Kqueue http://en.wikipedia.org/wiki/Kqueue ).

                              I think we also works about some new features …

                              1 Reply Last reply Reply Quote 0
                              • R
                                rjcrowder
                                last edited by

                                @Fredb:

                                My part was to preserve the old code in compilation, so:

                                Linux -> Many parts with epoll (still some old parts)
                                BSD -> Perhaps I made some minor fixes, and perhaps I put some new bugs, but no major changes (old codes)

                                Is this the latest code with your changes? http://numsys.eu/dansguardian/dansguardian-2.12.0.7.tar.gz

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Fredb
                                  last edited by

                                  @rjcrowder:

                                  @Fredb:

                                  My part was to preserve the old code in compilation, so:

                                  Linux -> Many parts with epoll (still some old parts)
                                  BSD -> Perhaps I made some minor fixes, and perhaps I put some new bugs, but no major changes (old codes)

                                  Is this the latest code with your changes? http://numsys.eu/dansguardian/dansguardian-2.12.0.7.tar.gz

                                  Yes right, all the code is between #ifdef linux tag in Fatcontrol.cpp (code from Philip Pearce of http://www.e2bn.org/ )
                                  I think there are also some work to do in basesocket.cpp, we will do it later, to improve again

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Fredb
                                    last edited by

                                    Please try
                                    http://numsys.eu/dansguardian/dansguardian-2.12.0.7.1.tar.gz

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      neil
                                      last edited by

                                      This problem has grown to become a major issue for several sites I support and any help would be much appreciated. I joined this thread several months ago, at which time the problem was not so serious.

                                      The setup is as follows:

                                      PF Sense 2.0.3 amd64
                                      DG 2.12.0.3 v.0.1.8
                                      Squid 2.7.9 v.4.3.3
                                      The server is an IBM x3100 with 8Gb RAM, 500Gb HDD.

                                      Min/Max Children 32/1200 (anything less than 1000 for the Maximum causes swarms of Signal 11 errors with complete loss of internet access for the users)

                                      On a test server I attempted to download the patch version 2.12.0.5 made available by Marcelloc but could not successfully install this.

                                      I've now downloaded 2.12.0.6.sig11 made available by Marcelloc, and finally got this running on a test server.
                                      The steps I followed were:

                                      -Download the tbz file to a Windows machine, and copy this across to the PFsense server
                                      (using the fetch command on the pfsense server failed with an invalid tbz file error)

                                      -killall dansguardian

                                      • pkg_delete dansguardian- 2.12.0.3
                                        (this created a number of errors relating to files/directories which it could not delete)

                                      • pkg_add dansguardian-2.12.0.6.sig11.tbz
                                        This gave a warning that clamav-0.97.8 was required but clamav-0.97.6 was installed.

                                      -attempted to start DG which failed…....

                                      In particular, I had to edit dansguardian.conf and add entries for proxyexchange and pcontimeout, delete two files \tmp.dguardianipc and \tmp.dguardianurl.ipc - then DG would start.
                                      Also having changed dansguardian.conf manually, any change via the WebGui wipes these out.

                                      While the above was fine on a test server, to do the above on a live production server would be most unsatisfactory.

                                      For the moment, upping the Max Children to 1200 seems to have reduced the frequency of the errors.

                                      I'd be really grateful if anyone can tell me how to implement the patched version 2.12.0.6 (or later) from Marcelloc, avoiding the above issues, and at the same time preserve the groups/lists etc which have been heavily tailored.
                                      Alternatively I see that others have gone back to 2.12.0.2 - where can I find this and would installing this destroy the lists etc .

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        Fredb
                                        last edited by

                                        There is no coredump ? I don't know freebsd but with Linux you can put "ulimit -c unlimited" in the dg start script to generate
                                        Unfortunately there is no useful information with debug, now we need a core (exited on signal 11 (core dumped)) to know exactly what happen

                                        Soon we will open a new project, I 'm rewriting some codes now to fix another problem with 2.12.07.1 and freebsd

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rjcrowder
                                          last edited by

                                          @neil:

                                          In particular, I had to edit dansguardian.conf and add entries for proxyexchange and pcontimeout, delete two files \tmp.dguardianipc and \tmp.dguardianurl.ipc - then DG would start.
                                          Also having changed dansguardian.conf manually, any change via the WebGui wipes these out.

                                          While the above was fine on a test server, to do the above on a live production server would be most unsatisfactory.

                                          See this post earlier in the same thread http://forum.pfsense.org/index.php/topic,61811.msg338588.html#msg338588

                                          1 Reply Last reply Reply Quote 0
                                          • N
                                            neil
                                            last edited by

                                            Thanks - I'll look for the template and modify it.

                                            I'm having trouble keeping track of which version of DG is actually installed and  running.
                                            When I run pkg_delete prior to installing 2.12.0.6.sig11.tbz, the dg binary along with
                                            a number of list files (etc) are not removed.
                                            Then when I add 2.12.0.6.sig11, the size of the DG binary does not change.

                                            However, if prior to installing 2.12.0.6..sig11.tbz, I mv dg to dg_bak, and then
                                            run the install, the size of the DG binary is completely different.

                                            So, is there a way of determining the version of the DG binary?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.