{"action":"opened","issue":{"url":"https://api.github.com/repos/wazuh/wazuh/issues/594","repository_url":"https://api.github.com/repos/wazuh/wazuh","labels_url":"https://api.github.com/repos/wazuh/wazuh/issues/594/labels{/name}","comments_url":"https://api.github.com/repos/wazuh/wazuh/issues/594/comments","events_url":"https://api.github.com/repos/wazuh/wazuh/issues/594/events","html_url":"https://github.com/wazuh/wazuh/issues/594","id":320740822,"number":594,"title":"MAXAGENTS is not work","user":{"login":"iAklis","id":7456486,"avatar_url":"https://avatars0.githubusercontent.com/u/7456486?v=4","gravatar_id":"","url":"https://api.github.com/users/iAklis","html_url":"https://github.com/iAklis","followers_url":"https://api.github.com/users/iAklis/followers","following_url":"https://api.github.com/users/iAklis/following{/other_user}","gists_url":"https://api.github.com/users/iAklis/gists{/gist_id}","starred_url":"https://api.github.com/users/iAklis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iAklis/subscriptions","organizations_url":"https://api.github.com/users/iAklis/orgs","repos_url":"https://api.github.com/users/iAklis/repos","events_url":"https://api.github.com/users/iAklis/events{/privacy}","received_events_url":"https://api.github.com/users/iAklis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-07T09:43:43Z","updated_at":"2018-05-07T09:43:43Z","closed_at":null,"author_association":"NONE","body":"Hello Teams,\r\n\r\nI have changed the optional MAXAGENTS accroding the issue #223 \r\n\r\n```\r\nwazuh# make -C src clean\r\nwazuh# make -C src TARGET=server MAXAGENTS=100000\r\nwazuh# ./install.sh\r\n```\r\nRecompiled it and replace the `wazuh-modulesd` , `ossec-remoted` and `ossec-authd` with new ones.\r\n\r\nBut there are some ERROR like this:\r\n \r\n```\r\n2018/05/07 14:36:30 wazuh-modulesd: ERROR: (4110): Maximum number of agents '7998' reached.\r\n2018/05/07 14:36:31 ossec-remoted: INFO: (4111): Maximum number of agents allowed: '100000'.\r\n```\r\n\r\n```\r\n2018/05/07 17:28:44 ossec-remoted: DEBUG: No previous counter available for 'oneagent.com'.\r\n2018/05/07 17:28:44 ossec-remoted: DEBUG: Assigning counter for agent oneagent.com: '0:0'.\r\n2018/05/07 17:28:44 ossec-remoted: ERROR: Unable to open agent file. errno: 24\r\n2018/05/07 17:28:44 ossec-remoted: CRITICAL: (1103): Could not open file '/queue/rids/18262' due to [(24)-(Too many open files)].\r\n```\r\n\r\nBest Regards,\r\nAklis Chen"}}
{"actor":{"display_login":"iAklis"}}