Jump to content
UBot Underground

Clr.dll Error Or Stackoverflow Exception Errors


Recommended Posts

Alright so I have this scrapper bot I've been working on for months and I've run into two errors after a few hours of running.

 
 
clr.dll error

OR
 
stackoverflow exception
 
 
I have it running on a kickass vps, .net is up to date and I've rebuilt this bastard about a dozen times. Keeping the lists small, no java, css, images or anything else, running it on the 21 browser, ( I tried the other browser as well.) Running Headless browser, the whole sabang. I even keep the resetting of referrs and user agents down to a minimum. Still crashes. So I rebuilt everything in exbrowser, SAME GOD DAMN ISSUES!
 
So does anyone know why this thing crashes after a few hours? Only plugins I'm running are autoclose browser crash and autofree memory from Advanced Ubot and they don't have any issues in my other non browser bots. Anyone have any idea what could be causing these issues? I've been working on this for 4 months ( just the crashing issue, not the actual bot ) My hope is to have this bastard running 24/7 but at this point I get 2-5 hours. Worthless. And before anyone asks to see code, I seriously doubt I'm doing anything wrong. Thing is smoother than a Nebraskan redhead at a Jr. High Prom. I'll get plugins or whatever is needed. I just need this hoe working cause papa gots bills to pay and the landlord doesn't accept broken bots for rent payments.
 
Help?
Link to post
Share on other sites

Well, this is nothing new to be honest. Ubot has some issues running 24/7 very often. And there is nothing you can do to fix that.

Only the developers can "fix" it. It might be because of memory leaks or some other stuff.

 

But 99% of the users and usecases don't need 24/7 bots, so this has not a very high priority.

 

 

Here's what I would recommend:

 

1. Code it with a different language.

2. If you have to use UBot, restart your bot every hour. And have a logic in your bot that is able to continue where it left of. But don't try to run one bot 24/7 that will NOT work!

 

Kindest regards

Dan
 

Link to post
Share on other sites

These errors are internal and you should check with support to see what they mean exactly.

 

What version of ubot are you using?

 

How are you handling your list? Are you keeping them to a minimum(under 1k)?

 

UBot is 32bit so you need to not exceed its memory limits.

Refactor your code to use less "set" commands use a custom function(define) instead.

 

Regards,
Nick

Link to post
Share on other sites

Thanks for the responses. Dan, what language would you recommend me learning? C++?

 

Nick -

 

What version of ubot are you using? It's the newest version

 

How are you handling your list? Are you keeping them to a minimum(under 1k)? Yes, almost all of them with about 3 being over 5k.

 

UBot is 32bit so you need to not exceed its memory limits. Trying :/

Refactor your code to use less "set" commands use a custom function(define) instead. Good call. I'll fine tune it a bit more.

 

Thanks for the help.

Link to post
Share on other sites

Thanks for the responses. Dan, what language would you recommend me learning? C++?

 

Hard to say.. Depends on your usecase. 

If you want to code native windows app, I like C#.

If you want webservices and online apps, definitely PHP. 

 

For scraping and automation a lot of people like python. 

 

Dan

Link to post
Share on other sites

+100 on the python

 

I am using version 5.9.37 with better success you may want to roll back the version.I had issues with .43 and got an error from no where, may have been the same one you did. But I think I was seeing more Studio UI issues. Anyway, they seemed to be random and I am doing well with .37.

 

The biggest concern with lists is if you are using a 5k list then creating another for good and another for bad ending up with 2 5k lists. It's not even cool if you are removing from the first to seemingly only having one 5k list at the end. Only cause I believe that memory is still held in RAM even tho your list gets smaller.

 

I am migrating over to python data structures now but I typically would use the Large data plugin.

 

Switch anything you can to local in a define will help too.

Append to file instead of a list if you can and make it save to a USB stick if you can to save the HD.

Or if list is greater than 1000, dump to file, inside a loop while not < 1000 then dump to file and repeat.

 

CD

Link to post
Share on other sites

Thank you both very much. Any courses you'd recommend for learning python? Please know that I'm a bit of a nod and had no prior programming experience before getting into ubot.

 

As far as my bot goes. I just created another bot that checks to see if it crashes and if it has then it restarts it. And while I know there's a better solution it seems to be working.

 

Thanks again for the insight and let me know if there's anything I can do for you in the future.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...