119 reputation
4
bio website linulin.blogspot.com
location
age
visits member for 5 years, 8 months
seen Jul 26 '13 at 15:13

Nov
26
answered Moving an already-running process to Screen
Feb
15
awarded  Nice Answer
Dec
21
comment Temporary failure in name resolution : Host name lookup failure
I encountered similar issue with my daemon written in C which performs periodic TCP reconnections. At some point getaddrinfo() suddenly started to return the error. When I looked at the server, no DNS requests were being sent, and adding the required entry into /etc/hosts did not help. Sure, restart helps but as Xerxes rightfully noted, this is not the real solution. Initially I thought that the problem was caused by missing freeaddrinfo() call but I failed to reproduce it with a test application. Anyway, I've added proper cleanup calls to the daemon and going to monitor it closely.
Oct
1
awarded  Scholar
Oct
1
accepted How to change environment variable for already installed Cygwin services
Sep
14
answered How to change environment variable for already installed Cygwin services
Sep
14
asked How to change environment variable for already installed Cygwin services
May
6
awarded  Teacher
Apr
30
answered What tool do you use to monitor your servers?
Apr
30
awarded  Supporter