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 , (6635 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 , (6635 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 , (6635 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
Thank you very much for the rapid responses. I was a little nervous about dealing with a company that is on a different continent from me. You have proven my concerns to be unfounded.
Many thanks for your excellent support service. I can see why you have a long list of excellent testimonials on your website.
...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!
The people at WeOnlyDo are amazing! ... I always get a super fast response from customer service, and the products are great too. Thanks WeOnlyDo
Your support is fantastic.
...your service has been phenomenal. It's always quick and you are there when I need you.
You made it so simple for us to integrate SFTP - a technology we had little experience with...
Your customer service was excellent, and I will look at your products in the future for precisely that reason.
It was no small factor, however, that your support in getting me up and running made me buy from you.
...with WOD's excellent support I was able to bypass Winsock and focus on the task at hand...