Maintained by: NLnet Labs

[Unbound-users] error: internal error: looping module stopped

Slingerland, Michael van
Fri Jun 4 11:38:23 CEST 2010


Hi Wouter,

I have no python modules running. So this must be endless CNAME chain or such.

If it happens more often I will modify the code to do some more in dept analysis.

Thanks again,
Mike

-----Original Message-----
From: unbound-users-bounces at NLnetLabs.nl [mailto:unbound-users-bounces at NLnetLabs.nl] On Behalf Of W.C.A. Wijngaards
Sent: Friday, 04 June 2010 11:20
To: unbound-users at unbound.net
Subject: Re: [Unbound-users] error: internal error: looping module stopped

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

Did you have a python module installed?  In that case the python module is causing unlimited recursion (of some sort).

The error is a basic loop-counter stop on unlimited work by a request.
Other loop counters should stop endless CNAME chains and suchlike, so this one should really not fire, it is part of defense in depth...

If you make the following tiny change, it'll report the name of the query next time.

Index: services/mesh.c
===================================================================
- --- services/mesh.c	(revision 2139)
+++ services/mesh.c	(working copy)
@@ -904,7 +904,7 @@
 	if(mstate->num_activated > MESH_MAX_ACTIVATION) {
 		/* module is looping. Stop it. */
 		log_err("internal error: looping module stopped");
- -		log_query_info(VERB_QUERY, "pass error for qstate",
+		log_query_info(VERB_OPS, "pass error for qstate",
 			&mstate->s.qinfo);
 		s = module_error;
 	}

Best regards,
   Wouter

On 06/04/2010 10:42 AM, Slingerland, Michael van wrote:
> Hi,
>  
> I found 2 errors in daemon log
>  
> Jun  3 18:17:08  unbound: [25405:0] error: internal error: looping 
> module stopped Jun  3 18:17:08  unbound: [25405:0] error: internal 
> error: looping module stopped
>  
> The system seems still to be functioning fine.
>  
> Can somebody give some clarification on this error? What does the 
> looping module actually do?
> Any action needed?
>  
>  
> Thanks,
> Mike
>  
> Ps running unbound 1.4.4 on obsd 4.5
>  
> 
> 
> 
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkwIxUMACgkQkDLqNwOhpPgdtACfchtKLZRdh7rFbBKJYomPjqDB
/38An2QadWN8nvQOFk7ql89HhpsXyRae
=h2Ja
-----END PGP SIGNATURE-----
_______________________________________________
Unbound-users mailing list
Unbound-users at unbound.net
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users