Re: [twsocket] Two ICS HTTP code against each other and 10048 error

2005-12-26 Thread Fastream Technologies
No there is only two listening sockets: one in the load balancer and the other one in the web server. I thought you were mentioning about the client sockets which are -since we are stress testing- many. What should I be looking for in TCP view of the listening sockets? Best Regards, SZ -

Re: [twsocket] Two ICS HTTP code against each other and 10048 error

2005-12-26 Thread Fastream Technologies
When this occurs during stress test, there are thousands of sockets! - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, December 25, 2005 10:03 PM Subject: Re: [twsocket] Two ICS HTTP code against each other and 10048 error >> Coul

Re: [twsocket] Two ICS HTTP code against each other and 10048 error

2005-12-26 Thread Francois PIETTE
> There are thousands of sockets listen in TCPView! > How can I understand which one I should be looking for? Why is there thousands of listening sockets ? Are you opening so much sockets ? If you don't know, that may be you have a bug. -- [EMAIL PROTECTED] http://www.overbyte.be - Origina

[twsocket] ICS registration

2005-12-26 Thread Francois PIETTE
As you subscribed to ICS support mailing list, you probably use ICS. Good ! But have you taken time to register your ICS copy ? ICS is freeware but to use it, you must register it. Registration is very simple: just mail a [real, paper] picture postcard to the author (me). You can find instructions

Re: [twsocket] Two ICS HTTP code against each other and 10048 error

2005-12-26 Thread Fastream Technologies
There are thousands of sockets listen in TCPView! How can I understand which one I should be looking for? Best Regards, SZ - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, December 25, 2005 10:03 PM Subject: Re: [twsocket] Two IC

Re: [twsocket] Logging class for TWSocket

2005-12-26 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >>> Would be interesting to have output to system log and application >>> log. >>> Do you mean Windows eventlog? >> >> Indeed. > > I would avoid putting debug events in the existing logs, many > applications interrogate them for unusual errors and they

Re: [twsocket] About Windows TCP tuning for hudge ICS projects

2005-12-26 Thread Dod
Hello, For sure, only one handle + a TList of pointers to each socket handle would be great. For the 1 handles limitation, I'll try to find how to increase the value and add it to the Information Note. Regards. FT> This is a fact stated by Francois that confirms the need for our proposal

Re: [twsocket] Logging class for TWSocket

2005-12-26 Thread Angus Robertson - Magenta Systems Ltd
> > Would be interesting to have output to system log and application > > log. > > Do you mean Windows eventlog? > > Indeed. I would avoid putting debug events in the existing logs, many applications interrogate them for unusual errors and they are often large enough already. But we could

Re: [twsocket] About Windows TCP tuning for hudge ICS projects

2005-12-26 Thread Dod
Hello Wilfried, WM> My experiance learns average 6 kb but is depending on send/receive WM> traffic. OK but thinking about it, Windows granuality if 4KB so memory usage should be 4/8/12/16 and not 6 or 10KB ... WM> Let the diconnection do by the clients instead of the server, then you WM> will no

Re: [twsocket] Logging class for TWSocket

2005-12-26 Thread Francois PIETTE
>>> The loDestxx options specify a destination, either to event, file >>> or to OutputDebugString. >> >> Would be interesting to have output to system log and application log. > > Do you mean Windows eventlog? Indeed. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change you

Re: [twsocket] About Windows TCP tuning for hudge ICS projects

2005-12-26 Thread Fastream Technologies
This is a fact stated by Francois that confirms the need for our proposal of making ICS one-handle-per-thread. Best Regards, SubZero - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, December 26, 2005 1:21 PM Subject: Re: [twsocke

Re: [twsocket] Logging class for TWSocket

2005-12-26 Thread Arno Garrels
Francois PIETTE wrote: >> The loDestxx options specify a destination, either to event, file >> or to OutputDebugString. > > Would be interesting to have output to system log and application log. Do you mean Windows eventlog? > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > - Origin

Re: [twsocket] About Windows TCP tuning for hudge ICS projects

2005-12-26 Thread Wilfried Mestdagh
Hello Dod, All yes, only some minor comment: > - Could the 1/4 max value be increased thru some registry key ??? No > - Each socket uses approx 10KB of non paged physical memory. My experiance learns average 6 kb but is depending on send/receive traffic. > TcpTimedWaitDelay = 30 (make TIME_WA

Re: [twsocket] Logging class for TWSocket

2005-12-26 Thread Francois PIETTE
> I can change the code w/o using a base class of course. Yes, I think it is better. You can safely add a property in TCustomWSocket as long as the component behaviour is not changed if the property is empty. > Here's a screenshot of the logger linked to the SslHttpServer in object > inspector.

Re: [twsocket] About Windows TCP tuning for hudge ICS projects

2005-12-26 Thread Francois PIETTE
There is also another issue related to the number of window handles. By default W2K and up limit the number of window handle to 1. As TWSocket use a hidden window per socket, if you don't change that limit, you will not have more than 1 simultaneous sockets (and even less since the proce

Re: [twsocket] Logging class for TWSocket

2005-12-26 Thread Arno Garrels
Forgot to say that a base class eases conditional compile like: {$IFDEF NO_DEBUG_LOG} TIcsComponent = TComponent; {$ELSE} TIcsComponent = TIcsBaseLogComp; {$ENDIF} TCustomWSocket = class(TIcsComponent) private .. If you realy think it will make problems with derived classes I can chang

[twsocket] About Windows TCP tuning for hudge ICS projects

2005-12-26 Thread Dod
Hello, I have to tune my ICS based server to handle 16.000 TCP permanent cnx (but very low transfert rate with less than 4KB blocks of datas to transfert to each client). After taking attention to all guys here talking about TCP optimization, I have made a small resume of all w

Re: [twsocket] Logging class for TWSocket

2005-12-26 Thread Arno Garrels
Francois PIETTE wrote: >> A TIcsLogger could be linked to the ICS components > > Arno, > > I don't know how you intend to implement your logging classe but your last > messages about compiler trouble make me thinking you are planning to > change TWSocket base class to add logging feature. > > I

[twsocket] Logging class for TWSocket

2005-12-26 Thread Francois PIETTE
> A TIcsLogger could be linked to the ICS components Arno, I don't know how you intend to implement your logging classe but your last messages about compiler trouble make me thinking you are planning to change TWSocket base class to add logging feature. I don't think it is the right way to do

Re: [twsocket] D7 compiler trouble

2005-12-26 Thread Francois PIETTE
Attachment has been deleted here is the screenshot: I saw it in your second message. It's a bug in Delphi 7. It has been corrected in Delphi 2006. Attached the screen shot from Delphi 2006 So, I think we should change declarations like declaration of TMySecondList (see screenshot above)

Re: [twsocket] Very strange listening socket problem

2005-12-26 Thread Fastream Technologies
Yes I know but NOFORMS is still useful as it stops ICS to call Application.ProcessMessagesso that it uses the thread message pump. Of course I could add my OnMessagePump handler but this is easier... ;)) - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mail

Re: [twsocket] D7 compiler trouble

2005-12-26 Thread Arno Garrels
Francois PIETTE wrote: >> Today, Christmas 2005 I learned how to name this >> strange window on the left >> I've been working with since years now, wow! > > I'm happy to have teached you something :-) > >> Attached screenshot demonstrates the issue. Attachment has been deleted from my previous m

Re: [twsocket] Very strange listening socket problem

2005-12-26 Thread Arno Garrels
Fastream Technologies wrote: > Sorry, was a stupid bug of mine. I forgot a ";" in a message handler... > ;(( BTW: If you use the NT service framework define NOFORMS won't shrink your EXE files since the framework already uses unit Form.pas. > > > - Original Message - > From: "Fastrea

Re: [twsocket] Very strange listening socket problem

2005-12-26 Thread Fastream Technologies
Sorry, was a stupid bug of mine. I forgot a ";" in a message handler... ;(( - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, December 24, 2005 6:16 PM Subject: [twsocket] Very strange listening socket problem > Hello, > >