Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: crimsoncrowe on April 29, 2016, 06:25:09 AM

Title: Deepbot freezing/hanging a lot.
Post by: crimsoncrowe on April 29, 2016, 06:25:09 AM
I pretty much just got deepbot, and I'm wondering if I'm doing something wrong.  Deepbot is freezing/hanging a LOT, especially when changing up tabs.  I'm running it in administrator mode.  No crashes, just extreme hangs where windows asks "Do you want to wait or close the program?".

Is there something I'm doing wrong? I'm operating deepbot on a pretty mid to high tier gaming PC, so I feel as though it can't be demanding too many resources.

Anyone have a workaround for this?
Title: Re: Deepbot freezing/hanging a lot.
Post by: TheNumbLock on April 29, 2016, 09:00:46 AM
Tried running deepbot on the last core of your cpu?
Title: Re: Deepbot freezing/hanging a lot.
Post by: crimsoncrowe on April 30, 2016, 01:08:45 PM
Any brief instruction on how I can do that? Not exactly sure.
Title: Re: Deepbot freezing/hanging a lot.
Post by: TheNumbLock on April 30, 2016, 02:36:14 PM
http://www.addictivetips.com/windows-tips/how-to-set-processor-affinity-to-an-application-in-windows/
Title: Re: Deepbot freezing/hanging a lot.
Post by: skyduskguy on April 30, 2016, 10:26:05 PM
Im getting the same problem :(((
Title: Re: Deepbot freezing/hanging a lot.
Post by: crimsoncrowe on May 04, 2016, 01:02:48 PM
http://www.addictivetips.com/windows-tips/how-to-set-processor-affinity-to-an-application-in-windows/

I tried this tonight while streaming and it didn't fix anything.  Anything else I can try?  I love the bot, but this hanging/freezing is almost unbearable with how frequent it is.  My specs are pretty mid-to-high range for my PC, so I'm fairly certain it's not on my end.  Is there anything else that's solved this for other people besides the core change?
Title: Re: Deepbot freezing/hanging a lot.
Post by: Dante557 on May 06, 2016, 06:09:43 AM
There are a few things you could possibly try depending on what you actually use in the bot itself.

Of course you've already tried this and it didn't work. In some peoples case moving it to the last core of the CPU does actually solve the issue. I'd ensure that OBS and the game you're running don't also run on this particular core, effectively giving Deepbot (Apart from other non-intensive processes) exclusivity to this core
You may not be aware but Deepbot is in itself 5 processes. If you look in your task manager you should notice "CefSharp.BrowserSubprocess". These basically relate to certain functionality in your Deepbot. These processes are
You can actually safely close these processes as they don't affect the functionality of Deepbot as a whole. Your bot will still function correctly you just won't be able to see these things displayed in the Deepbot client. If you have no use for the chats (For example, if you use the chat on the Twitch dashboard or an IRC client like Chatty) click the cog icon on the bottom right corner of these chats and hit "Disable Chat". This will unload the process. To end the music player and the forum tab you will need to end the processes of both of these from the task manager itself. The fact these processes exist also is the reason why Deepbot can be deceptive in its CPU usage.
You may also have not realised that Deepbot has moderation built in. The options for this function can be found in the "Moderation" tab. If you have any of these enabled you are basically telling Deepbot to scan every message that comes in to see if any of the filters you have set are being matched. This act itself will increase CPU usage if you have any of these options enabled. If you have no use for automatic moderation or have another bot (e.g. NightBot) available to do moderation for you disable these options if they are enabled.
If all else fails using a virtual machine should work. This is in the same vain as using Deepbot on a single core but it has access to the resources you dedicate to the VM itself. This is a last ditch suggestion so only try if you don't mind having a virtual machine set up and are comfortable setting one up.
Thanks,
Dante557
Title: Re: Deepbot freezing/hanging a lot.
Post by: KratosRising on May 11, 2016, 04:49:46 AM
Has anybody tried the tricks above?!  I'm suffering from the same things as the O.P. constant lagging/hanging of tabs and asking if I want to wait or close.  Hoping this fixes it because I love DeepBot but this is becoming unbearable.
Title: Re: Deepbot freezing/hanging a lot.
Post by: KratosRising on May 11, 2016, 09:31:28 PM
I have tried all of the above and NOTHING works except one thing...not having OBS open.  When OBS isn't open, DeepBot runs like an absolute champ.  However, whats the point of having the bot if you can't be streaming while you use it.  Any advice on this?  I've been supporting DeepBot for awhile and want to continue to see it grow but this just gets soo frustrating during streams.
Title: Re: Deepbot freezing/hanging a lot.
Post by: Dante557 on May 11, 2016, 09:52:15 PM
OBS studio or classic? How complex are your scenes? VeryFast or Faster encoding (assuming x264)
Title: Re: Deepbot freezing/hanging a lot.
Post by: KratosRising on May 12, 2016, 02:51:57 AM
I'm using Studio, and I have it set to faster encoding...my scenes are not that complex (overlay, twitch alerts, camera, mic)  I'm at a complete loss...
Title: Re: Deepbot freezing/hanging a lot.
Post by: Dante557 on May 12, 2016, 04:47:26 PM
Try a veryfast encode via local record to see if that alliviates the issue.

Does it lag simply when obs is opened or as soon as you start an encode?
Title: Re: Deepbot freezing/hanging a lot.
Post by: KratosRising on May 13, 2016, 08:45:08 AM
Typically as soon as OBS is opened... :(