On Thu, Nov 25, 2010 at 4:53 PM, NICOLAS DUPEUX <nicolas.dup...@arkea.com>wrote:

> Hi Jean,
>
> According to pre-flight check, it's not that big :
>        Checked 572 hosts
>        Checked 390 hostgroups
>        Checked 1 contacts
>        Checked 1 contactgroups
>        Checked 1 notificationways
>        Checked 0 escalations
>        Checked 5312 services
>        Checked 356 servicegroups
>        Checked 0 servicedependencies
>        Checked 0 hostdependencies
>        Checked 1 arbiters
>        Checked 1 schedulers
>        Checked 1 reactionners
>        Checked 1 pollers
>        Checked 1 brokers
>        Checked 5 timeperiods
>        Checked 1 resultmodulations
>
> Regards,
>
Hi,

Thanks for the configuration (was sent offlist). I push a recurstion set as
maxint because the main job of the arbiter is the link thing, and it will be
less good that the links are done in the scheduler.

Now the limit should be the stack size for very very very huge conf. Should
be ok I think. We can test with a random generated conf of 100Khosts and see
if it's still ok.


Jean



>
> ----- Mail original -----
>
>
>
>
>
> On Thu, Nov 25, 2010 at 4:17 PM, NICOLAS DUPEUX < nicolas.dup...@arkea.com> 
> wrote:
>
>
> Hi,
>
> After updating shinken from 26edcd7 to 48f3f78, i get an hang in arbiter
> while pushing conf to satellites.
>
> I have to increase recursion limit (using sys.setrecursinglimit() ) from
> 1000 (default) to 2000 (The exact value is 1815 but it's only relevant to my
> configuration).
>
> I _think_ (i have not tested) it might be related to this patch :
> http://shinken.git.sourceforge.net/git/gitweb.cgi?p=shinken/shinken;a=commitdiff;h=50cec346637f665b3fcfda16d468577cc6fc88e3.
>
> What to you think we should do ? Increase this limit to an high count ?
> Give the capability to increase this value in configuration file ? Find a
> way to compute this value ?
>
> Regards,
>
> Traceback (most recent call last):
> File "./shinken-arbiter", line 820, in <module>
> p.main()
> File "./shinken-arbiter", line 544, in main
> self.run()
> File "./shinken-arbiter", line 663, in run
> self.dispatcher.dispatch()
> File "/opt/shinken-48f3f78/shinken/dispatcher.py", line 318, in dispatch
> is_sent = sched.put_conf(conf_package)
> File "/opt/shinken-48f3f78/shinken/satellitelink.py", line 93, in put_conf
> self.con.put_conf(conf)
> File "/opt/Python-2.6.4/lib/python2.6/site-packages/Pyro/core.py", line
> 384, in __call__
> return self.__send(self.__name, args, kwargs)
> File "/opt/Python-2.6.4/lib/python2.6/site-packages/Pyro/core.py", line
> 459, in _invokePYRO
> return self.adapter.remoteInvocation(name,
> Pyro.constants.RIF_VarargsAndKeywords, vargs, kargs)
> File "/opt/Python-2.6.4/lib/python2.6/site-packages/Pyro/protocol.py", line
> 438, in remoteInvocation
> return self._remoteInvocation(method, flags, *args)
> File "/opt/Python-2.6.4/lib/python2.6/site-packages/Pyro/protocol.py", line
> 451, in _remoteInvocation
>
> body=pickle.dumps((self.URI.objectID,method,flags,args),Pyro.config.PYRO_PICKLE_FORMAT)
> RuntimeError: maximum recursion depth exceeded while pickling an object
>
> Hi,
>
> No it should not be an option I think. We should look why it do such a loop
> instead. But ti's strange : in pickle, if it try to load an object that it
> already got, it just put a poiner to the already load object, so there is no
> recursion like this. I'll generate a big conf and look where is the problem.
>
> How many hosts did you have?
>
> Thanks forthe bug report.
>
>
> Jean
>
>
>
> --
> Nicolas DUPEUX < nicolas.dup...@arkea.com >
> Arkea - Domaine Systèmes
> tel : 02.98.00.36.68
>
> --
> Ce message et toutes les pieces jointes (ci-apres le "message") sont
> confidentiels et etablis a l'intention exclusive de ses destinataires.
> Toute utilisation ou diffusion non autorisee est interdite. Tout
> message etant susceptible d'alteration, l'emetteur decline toute
> responsabilite au titre de ce message s'il a ete altere, deforme ou
> falsifie.
> -----------------------------------
> This message and any attachments (the "message") are confidential and
> intended solely for the addressees. Any unauthorised use or
> dissemination is prohibited. As e-mails are susceptible to alteration,
> the issuer shall not be liable for the message if altered, changed
> or falsified.
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>
>
> --
> Nicolas DUPEUX <nicolas.dup...@arkea.com>
> Arkea - Domaine Systèmes
> tel : 02.98.00.36.68
>
> --
> Ce message et  toutes les pieces jointes (ci-apres  le "message") sont
> confidentiels et etablis a l'intention exclusive de ses destinataires.
> Toute  utilisation ou  diffusion  non autorisee  est interdite.   Tout
> message  etant  susceptible  d'alteration,  l'emetteur  decline  toute
> responsabilite au titre de  ce message  s'il a  ete altere, deforme ou
> falsifie.
>                -----------------------------------
> This message and any  attachments (the "message") are confidential and
> intended  solely   for  the   addressees.  Any  unauthorised   use  or
> dissemination is prohibited. As e-mails are susceptible to alteration,
> the issuer shall  not be  liable for  the  message if altered, changed
> or falsified.
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to