{"action":"created","issue":{"url":"https://api.github.com/repos/centreon/centreon/issues/4217","repository_url":"https://api.github.com/repos/centreon/centreon","labels_url":"https://api.github.com/repos/centreon/centreon/issues/4217/labels{/name}","comments_url":"https://api.github.com/repos/centreon/centreon/issues/4217/comments","events_url":"https://api.github.com/repos/centreon/centreon/issues/4217/events","html_url":"https://github.com/centreon/centreon/issues/4217","id":137506790,"number":4217,"title":"centreon-web : block parent service template to be itself, causing loop in conf generation","user":{"login":"dmagniez","id":2813342,"avatar_url":"https://avatars.githubusercontent.com/u/2813342?v=3","gravatar_id":"","url":"https://api.github.com/users/dmagniez","html_url":"https://github.com/dmagniez","followers_url":"https://api.github.com/users/dmagniez/followers","following_url":"https://api.github.com/users/dmagniez/following{/other_user}","gists_url":"https://api.github.com/users/dmagniez/gists{/gist_id}","starred_url":"https://api.github.com/users/dmagniez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmagniez/subscriptions","organizations_url":"https://api.github.com/users/dmagniez/orgs","repos_url":"https://api.github.com/users/dmagniez/repos","events_url":"https://api.github.com/users/dmagniez/events{/privacy}","received_events_url":"https://api.github.com/users/dmagniez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/centreon/centreon/labels/Kind/Bug","name":"Kind/Bug","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/centreon/centreon/milestones/64","html_url":"https://github.com/centreon/centreon/milestones/Centreon%20Web%202.7.3","labels_url":"https://api.github.com/repos/centreon/centreon/milestones/64/labels","id":1560842,"number":64,"title":"Centreon Web 2.7.3","description":"","creator":{"login":"julienmathis","id":2294502,"avatar_url":"https://avatars.githubusercontent.com/u/2294502?v=3","gravatar_id":"","url":"https://api.github.com/users/julienmathis","html_url":"https://github.com/julienmathis","followers_url":"https://api.github.com/users/julienmathis/followers","following_url":"https://api.github.com/users/julienmathis/following{/other_user}","gists_url":"https://api.github.com/users/julienmathis/gists{/gist_id}","starred_url":"https://api.github.com/users/julienmathis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienmathis/subscriptions","organizations_url":"https://api.github.com/users/julienmathis/orgs","repos_url":"https://api.github.com/users/julienmathis/repos","events_url":"https://api.github.com/users/julienmathis/events{/privacy}","received_events_url":"https://api.github.com/users/julienmathis/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":12,"state":"open","created_at":"2016-02-03T11:27:16Z","updated_at":"2016-03-01T23:02:12Z","due_on":"2016-03-01T23:00:00Z","closed_at":null},"comments":3,"created_at":"2016-03-01T08:24:27Z","updated_at":"2016-03-01T23:03:09Z","closed_at":null,"body":"centreon-web 2.7.2 \r\nbroker 2.11 \r\nengine 1.5\r\n\r\nfew days ago, we tried to restart some poller, but can't generate the config, page get stuck\r\nit's happen only on 3 pollers, others are generating fine.\r\n\r\nthe access.log generate a \"PHP Fatal error: Allowed memory size of 3414163456 bytes exhausted (tried to allocate 130968 bytes) in /usr/local/centreon/www/class/config-generate/abstract/object.class.php on line 106\"\r\n\r\nWe tried to increase the memory limit of php.ini from 128Mb to 3250Mb, the change is commited, the process use +3Gb, stop after 30 sec timeout php !\r\n\r\nI don't think that it's memory_limit, but I can't figure out if it's a bad config somewhere ...\r\n\r\nI tried to debug the incrimined php file, each loop increase a few memory  usage around 16Mb, then consumption drop from 16Mb to 3000Mb. Memory leak seems to appear in an other php file.\r\n\r\nHow can I debug others files ? trace something or? "},"comment":{"url":"https://api.github.com/repos/centreon/centreon/issues/comments/190952930","html_url":"https://github.com/centreon/centreon/issues/4217#issuecomment-190952930","issue_url":"https://api.github.com/repos/centreon/centreon/issues/4217","id":190952930,"user":{"login":"garnier-quentin","id":9079781,"avatar_url":"https://avatars.githubusercontent.com/u/9079781?v=3","gravatar_id":"","url":"https://api.github.com/users/garnier-quentin","html_url":"https://github.com/garnier-quentin","followers_url":"https://api.github.com/users/garnier-quentin/followers","following_url":"https://api.github.com/users/garnier-quentin/following{/other_user}","gists_url":"https://api.github.com/users/garnier-quentin/gists{/gist_id}","starred_url":"https://api.github.com/users/garnier-quentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garnier-quentin/subscriptions","organizations_url":"https://api.github.com/users/garnier-quentin/orgs","repos_url":"https://api.github.com/users/garnier-quentin/repos","events_url":"https://api.github.com/users/garnier-quentin/events{/privacy}","received_events_url":"https://api.github.com/users/garnier-quentin/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T23:03:09Z","updated_at":"2016-03-01T23:03:09Z","body":"Could you test it ? Should be fix the loop."}}