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 , (6761 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 , (6761 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 , (6761 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
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?
It was no small factor, however, that your support in getting me up and running made me buy from you.
Thank you so much for your hard work and commitment in producing well thought-out solutions. WeOnlyDo is very committed to customer satisfaction!
...with WOD's excellent support I was able to bypass Winsock and focus on the task at hand...
Your customer service was excellent, and I will look at your products in the future for precisely that reason.
I really like these products - they are consistently first rate!
Many thanks for your excellent support service. I can see why you have a long list of excellent testimonials on your website.
Just thought you'd like to know that my gateway app with your SMTP Server component held the line against a DDOS attack today...
Your professionalism is reflected into your email, your product and your web site. I am confident that these will make the difference.
Your customer service was excellent, and I will look at your products in the future for precisely that reason.