Re: [twsocket] DNSQuery - what should i free up?
Hello Ann, The sockets are closed, but the OS keeps them for a while in a wait state. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, February 7, 2006, 11:46, Ja wrote: > Yes... exaclty that error. But shoudlnt DNSQuery close those sockets > after reciving response? > Wiadomość Oryginalna > Od: Wilfried Mestdagh <[EMAIL PROTECTED]> > Do: ICS support mailing > Data: Tue, 7 Feb 2006 11:31:01 +0100 > Temat: Re: [twsocket] DNSQuery - what should i free up? >> Hello Ann, >> >> I assume you mean winsock error 10055 (no buffer space available) > ? >> >> Could be you have a leak, or that some other program has a leak. > Sockets >> use non pageable RAM witch is very limited and also in use by > other >> programs. I recall you use DnsQuery with TCP (right?). Closing a > socket >> leave it a while in TIME_WAIT state. I think it is default 2 > minute, but >> it can be set longer (is registry setting somewhere). So possible > is >> that your program is eating sockets because of the TIME_WAIT. >> >> Anyway if this is the reason then you can easy find out with > NETSTAT -a >> to check out. >> >> --- >> Rgds, Wilfried [TeamICS] >> http://www.overbyte.be/eng/overbyte/teamics.html >> http://www.mestdagh.biz >> >> Tuesday, February 7, 2006, 09:58, Ja wrote: >> >> > Hi. >> > Got little big problem with DNSQuery... I wrote application that >> > frequently checks some domains if their ns records are ok. It > just >> > creates x DNSQuery components (where x is number of domains) > every 5 >> > minutes and analizes the Lookup results... After finish it uses >> > DNSQuery.destroy function. But there is a problem. After 10 > hours of >> > working DNSQuery starts to report errors ... something like "not >> > enough buffer space" - for sure something about buffer... after >> > those errors whole windows screws up. I cant open any new >> > application because gettig different errors. >> > I suppose that im not freeing something... so the question is: > what >> > should i free up so that wouldnt occur? >> > Thanx! >> > Ann >> >> >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto http://www.elists.org/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be >> -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] DNSQuery - what should i free up?
Yes... exaclty that error. But shoudlnt DNSQuery close those sockets after reciving response? Wiadomość Oryginalna Od: Wilfried Mestdagh <[EMAIL PROTECTED]> Do: ICS support mailing Data: Tue, 7 Feb 2006 11:31:01 +0100 Temat: Re: [twsocket] DNSQuery - what should i free up? > Hello Ann, > > I assume you mean winsock error 10055 (no buffer space available) ? > > Could be you have a leak, or that some other program has a leak. Sockets > use non pageable RAM witch is very limited and also in use by other > programs. I recall you use DnsQuery with TCP (right?). Closing a socket > leave it a while in TIME_WAIT state. I think it is default 2 minute, but > it can be set longer (is registry setting somewhere). So possible is > that your program is eating sockets because of the TIME_WAIT. > > Anyway if this is the reason then you can easy find out with NETSTAT -a > to check out. > > --- > Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://www.mestdagh.biz > > Tuesday, February 7, 2006, 09:58, Ja wrote: > > > Hi. > > Got little big problem with DNSQuery... I wrote application that > > frequently checks some domains if their ns records are ok. It just > > creates x DNSQuery components (where x is number of domains) every 5 > > minutes and analizes the Lookup results... After finish it uses > > DNSQuery.destroy function. But there is a problem. After 10 hours of > > working DNSQuery starts to report errors ... something like "not > > enough buffer space" - for sure something about buffer... after > > those errors whole windows screws up. I cant open any new > > application because gettig different errors. > > I suppose that im not freeing something... so the question is: what > > should i free up so that wouldnt occur? > > Thanx! > > Ann > > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] DNSQuery - what should i free up?
Hello Ann, I assume you mean winsock error 10055 (no buffer space available) ? Could be you have a leak, or that some other program has a leak. Sockets use non pageable RAM witch is very limited and also in use by other programs. I recall you use DnsQuery with TCP (right?). Closing a socket leave it a while in TIME_WAIT state. I think it is default 2 minute, but it can be set longer (is registry setting somewhere). So possible is that your program is eating sockets because of the TIME_WAIT. Anyway if this is the reason then you can easy find out with NETSTAT -a to check out. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, February 7, 2006, 09:58, Ja wrote: > Hi. > Got little big problem with DNSQuery... I wrote application that > frequently checks some domains if their ns records are ok. It just > creates x DNSQuery components (where x is number of domains) every 5 > minutes and analizes the Lookup results... After finish it uses > DNSQuery.destroy function. But there is a problem. After 10 hours of > working DNSQuery starts to report errors ... something like "not > enough buffer space" - for sure something about buffer... after > those errors whole windows screws up. I cant open any new > application because gettig different errors. > I suppose that im not freeing something... so the question is: what > should i free up so that wouldnt occur? > Thanx! > Ann -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] DNSQuery - what should i free up?
Yes but im sure its connected with DNSQuery... so maybe i just should use some implemented function to free up memory used by DNSQuery component? Wiadomość Oryginalna Od: Francois Piette <[EMAIL PROTECTED]> Do: ICS support mailing Data: Tue, 7 Feb 2006 10:19:44 +0100 Temat: Re: [twsocket] DNSQuery - what should i free up? > You should use a memory leak checking tool. Like MemProof or MemCheck. A little search on Google > would help you. > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "Ja" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, February 07, 2006 9:58 AM > Subject: [twsocket] DNSQuery - what should i free up? > > > > Hi. > > Got little big problem with DNSQuery... I wrote application that > > frequently checks some domains if their ns records are ok. It just > > creates x DNSQuery components (where x is number of domains) every 5 > > minutes and analizes the Lookup results... After finish it uses > > DNSQuery.destroy function. But there is a problem. After 10 hours of > > working DNSQuery starts to report errors ... something like "not > > enough buffer space" - for sure something about buffer... after > > those errors whole windows screws up. I cant open any new > > application because gettig different errors. > > I suppose that im not freeing something... so the question is: what > > should i free up so that wouldnt occur? > > Thanx! > > Ann > > > > -- > > To unsubscribe or change your settings for TWSocket mailing list > > please goto http://www.elists.org/mailman/listinfo/twsocket > > Visit our website at http://www.overbyte.be > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] DNSQuery - what should i free up?
You should use a memory leak checking tool. Like MemProof or MemCheck. A little search on Google would help you. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Ja" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 07, 2006 9:58 AM Subject: [twsocket] DNSQuery - what should i free up? > Hi. > Got little big problem with DNSQuery... I wrote application that > frequently checks some domains if their ns records are ok. It just > creates x DNSQuery components (where x is number of domains) every 5 > minutes and analizes the Lookup results... After finish it uses > DNSQuery.destroy function. But there is a problem. After 10 hours of > working DNSQuery starts to report errors ... something like "not > enough buffer space" - for sure something about buffer... after > those errors whole windows screws up. I cant open any new > application because gettig different errors. > I suppose that im not freeing something... so the question is: what > should i free up so that wouldnt occur? > Thanx! > Ann > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] DNSQuery - what should i free up?
Hi. Got little big problem with DNSQuery... I wrote application that frequently checks some domains if their ns records are ok. It just creates x DNSQuery components (where x is number of domains) every 5 minutes and analizes the Lookup results... After finish it uses DNSQuery.destroy function. But there is a problem. After 10 hours of working DNSQuery starts to report errors ... something like "not enough buffer space" - for sure something about buffer... after those errors whole windows screws up. I cant open any new application because gettig different errors. I suppose that im not freeing something... so the question is: what should i free up so that wouldnt occur? Thanx! Ann -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be