{"action":"created","issue":{"url":"https://api.github.com/repos/mickem/nscp/issues/165","labels_url":"https://api.github.com/repos/mickem/nscp/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/mickem/nscp/issues/165/comments","events_url":"https://api.github.com/repos/mickem/nscp/issues/165/events","html_url":"https://github.com/mickem/nscp/issues/165","id":98009513,"number":165,"title":"Socket ERROR","user":{"login":"wh1test","id":5803602,"avatar_url":"https://avatars.githubusercontent.com/u/5803602?v=3","gravatar_id":"","url":"https://api.github.com/users/wh1test","html_url":"https://github.com/wh1test","followers_url":"https://api.github.com/users/wh1test/followers","following_url":"https://api.github.com/users/wh1test/following{/other_user}","gists_url":"https://api.github.com/users/wh1test/gists{/gist_id}","starred_url":"https://api.github.com/users/wh1test/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wh1test/subscriptions","organizations_url":"https://api.github.com/users/wh1test/orgs","repos_url":"https://api.github.com/users/wh1test/repos","events_url":"https://api.github.com/users/wh1test/events{/privacy}","received_events_url":"https://api.github.com/users/wh1test/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-29T19:17:27Z","updated_at":"2015-11-08T18:29:19Z","closed_at":"2015-11-08T18:29:19Z","body":"I use NRPE (NSCP-0.4.1.101) to monitor Windows hosts. These hosts connected through slow links (GPRS and DSL). Very often I recieve Critical errors in Nagios \"Connection refused by host\" and \"CHECK_NRPE: Socket timeout after 180 seconds.\". These errors perists until I restart nscp service on the hosts.\r\n\r\nHere is tail of nsclient.log when NRPE hungs up:\r\n2015-07-28 14:30:56: d:D:\\source\\nscp\\trunk\\include\\nrpe/server/protocol.hpp:66: Accepting connection from: 10.3.11.51\r\n2015-07-28 14:30:56: d:..\\..\\..\\trunk\\service\\NSClient++.cpp:960: Injecting: check_fan_speed_by_ohm...\r\n2015-07-28 14:30:56: d:..\\..\\..\\..\\trunk\\modules\\CheckExternalScripts\\CheckExternalScripts.cpp:249: Command line: scripts\\check_fan_speed.bat 1000\r\n2015-07-28 14:30:56: d:..\\..\\..\\trunk\\service\\NSClient++.cpp:985: Result check_fan_speed: OK\r\n2015-07-28 14:33:41: e:D:\\source\\nscp\\trunk\\include\\socket/server.hpp:212: Socket ERROR: \r\n\r\nNetstat -na shows a number of unclosed connections (CLOSE_WAIT) to port 5666.\r\n\r\nNSCP service is in working state. \r\nTelnet to port 5666 is able to connect, but nagios checks cannot work until I restart nscp service =(\r\n\r\nThe same hosts and checks on fast links (ethernet, fiber) works fine... \r\n\r\nCould somebody help me or advice solution?"},"comment":{"url":"https://api.github.com/repos/mickem/nscp/issues/comments/154855739","html_url":"https://github.com/mickem/nscp/issues/165#issuecomment-154855739","issue_url":"https://api.github.com/repos/mickem/nscp/issues/165","id":154855739,"user":{"login":"mickem","id":1434697,"avatar_url":"https://avatars.githubusercontent.com/u/1434697?v=3","gravatar_id":"","url":"https://api.github.com/users/mickem","html_url":"https://github.com/mickem","followers_url":"https://api.github.com/users/mickem/followers","following_url":"https://api.github.com/users/mickem/following{/other_user}","gists_url":"https://api.github.com/users/mickem/gists{/gist_id}","starred_url":"https://api.github.com/users/mickem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickem/subscriptions","organizations_url":"https://api.github.com/users/mickem/orgs","repos_url":"https://api.github.com/users/mickem/repos","events_url":"https://api.github.com/users/mickem/events{/privacy}","received_events_url":"https://api.github.com/users/mickem/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T18:29:19Z","updated_at":"2015-11-08T18:29:19Z","body":"Please reopen this if you can reprodue it with 0.4.3 (or later)"}}