consuming system resources (wodHttpDLX)
im using max connections of 10
it works great at first but after 30 minutes or so slows down to a crawl
im pretty much just loading a certain webpage over and over,
anything can to do fix?
im using max connections of 10
it works great at first but after 30 minutes or so slows down to a crawl
im pretty much just loading a certain webpage over and over,
anything can to do fix?
by woddrazen , (6697 days ago) @ pmtroutok
Hi,
Can you show us code snippet that you use or send us simple sample that will duplicate your problem to techsupport@weonlydo.com?
That would help us a lot in duplicating your problem.
Drazen
by pmtroutok , (6697 days ago) @ woddrazen
Private Sub http_Done(Index As Integer, ByVal ErrorCode As Long, ByVal ErrorText As String)
Dim Results(0 to 100) as string
Dim oldcookie(0 To 100) As HttpCookie
For Each oldcookie(Index) In http(Index).Response.Cookies
http(Index).Request.Cookies.Add oldcookie(Index).Name, oldcookie(Index).Value
Next
If ErrorCode <> 0 Then
Results(Index) = ErrorText
Call Reconnect(Index)
Else
Results(Index) = http(Index).Response.Body
http(Index).Disconnect
ProcessHTML Index, Results(Index)
End If
End Sub
///////////////////////////////////////////////////////////////////////////////////////////////////////
Public Sub ProcessHTML(index as integer, strData as string)
if http(Index).URL = http://www.blah.com/ And InStr(strdata, <form action= )<> 0 Then
http(Index).Request.FormPost.RemoveAll
http(Index).Request.Cookies.RemoveAll
http(Index).Request.FormPost.Add email , Email(Index)
http(Index).Request.FormPost.Add pass , Password(Index)
http(Index).Post https://login.blah.com/login.php
Exit Sub
End If
end sub
by woddrazen , (6697 days ago) @ pmtroutok
Hi,
I have tried to duplicate it but didn't have luck. I have load 10 instance of wodHttpDLX and execute Post Method on some URL but after 30 minutes everything works like a charm.
Maybe if you unload wodHttpDLX instance before another instance is load will help.
In Done Event you should done something like this:
------------------------------------
http(Index).Disconnect
Set http(Index)= Nothing
------------------------------------
If that doesn't help we will need to duplicate it somehow in order to deal with it.
Maybe you can send us sample to techsupport@weonlydo.com which will connect to your url (I hope you can somehow give us that information) and duplicate problem.
Or if you can duplicate it with some other host which don't need to include private information that would help also.
Drazen
It is very refreshing to find such helpful, knowledgeable and quick responding technical support.
We are having great success with your component ... email server that has over 750 000 mailboxes back ended by a SQL server...
Count us as a satisfied WeOnlyDo customer. We appreciate your terrific support to get the secure Telnet working properly.
The SFTP ocx is one of the finest pieces of programming I have seen. It worked out of the box...
Fantastic product by the way, it has helped us tremendously on a daily basis. Keep up the good work.
Just thought you'd like to know that my gateway app with your SMTP Server component held the line against a DDOS attack today...
May I say how nice it is to work with components so complete and self-explanatory that using them in my application is as instinctive as though I wrote them myself?
Fantastic product by the way, it has helped us tremendously on a daily basis. Keep up the good work.
Your support is fantastic.
...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!