DEEPSTACK STILL TIMING OUT, NO ALERTS

flyboy68

Young grasshopper
Joined
Mar 24, 2019
Messages
68
Reaction score
7
Location
Kansas
There's got to be a fix for this. Deepstack runs for a month or so then starts timing out on every camera causing no alerts. No settings changed whatsoever. Uninstall/reinstall DS and all is well.
 

shannondalebreaux

Getting the hang of it
Joined
Jun 6, 2018
Messages
82
Reaction score
29
Location
louisana
There's got to be a fix for this. Deepstack runs for a month or so then starts timing out on every camera causing no alerts. No settings changed whatsoever. Uninstall/reinstall DS and all is well.
Have you tried to update DS?
 

flyboy68

Young grasshopper
Joined
Mar 24, 2019
Messages
68
Reaction score
7
Location
Kansas
No I haven't. But when installing i'd think the latest version would be installed? Only runs for a month or so before timing out again
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,692
Location
New Jersey
Always list the version you're using, the specific version number as well as whether you're using CPU or GPU versions.
 

jrbeddow

Getting comfortable
Joined
Oct 26, 2021
Messages
374
Reaction score
489
Location
USA
I also run the exact same version of DS, CPU only, and haven't run into this issue (but I do occasionally reboot the server for other reasons, perhaps every two weeks or so). That being said, I believe the DS developers acknowledged an issue with this version related to this, about a month or two ago, and hope to have it resolved in the next release. I know some here seem to prefer the 09/21 dated DS release.

On a related note, this makes me wonder if that is why Ken at BI has decided to move over to SenseAI as the "primary/recommended" AI vision solution, as their development schedule seems very aggressive (somewhat matching his own rapid release pattern). Just a possibility, nothing confirmed.
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,692
Location
New Jersey
Yes, the 2022.01.01 seems to have problems. Revert back to the 2021.02.01 version and see how that works out.
 

flyboy68

Young grasshopper
Joined
Mar 24, 2019
Messages
68
Reaction score
7
Location
Kansas
How do you find the previous versions to download? Their website sucks, just sayin
 

Futaba

Pulling my weight
Joined
Nov 13, 2015
Messages
227
Reaction score
167
I had this problem earlier this week after I switched over to general v3.1. one thing I did that might have resolved the problem was I added an object name to the cancel box for the stuck camera. That kind of unclogged the pipe. But it could be totally a coincidence.

 

DanDenver

Getting comfortable
Joined
May 3, 2021
Messages
489
Reaction score
782
Location
Denver Colorado
Funny, I just had a similar issue. For about 16 months my setup was fine. Then, about 3 weeks ago, DS started reporting 'timeout' and not sending alerts.
I have new very robust hardware so it simply cannot be related to that (dedicated PC built specifically for BI and BI alone that was custom built following all the guidelines on this forum, for about $2400.00. I have 15 cameras and CPU hangs around 5%-7%).
Anyway, my BI license had relapsed around this same time and some posts indicated that alerts went away when that expired. So I renewed my license - no change.
Then I versioned up BI to the latest: 5.5.6.21 but no joy.
Then I versioned up CPU DS from: 2021.02.1 to CPU 2022.01.1, and just like, that everything started working again and has so for the last two weeks.

Yes I restarted my machine, BI and Deepstack in parallel as well independently and in several combinations before versioning anything up on any software (we are talking about windows here!).

I reviewed the OS/BI logs for clues. Once I decided it was DS itself I tried to issue any command that would let me see if it was having a memory constrained issue, but my best guess after reading about that was that to perform such commands required me to deploy DS into a container. While I am technical and am a bit twiddler at work, I try to keep that crap at work if at all possible so chose not to pursue that route. In the end, the versioning up of DS seemed to do the trick for me.

Keeping my fingers crossed. Would really prefer to know root cause however. I did not know that BI was pivoting on what AI it recommends/supports.
 

flyboy68

Young grasshopper
Joined
Mar 24, 2019
Messages
68
Reaction score
7
Location
Kansas
DS already back to timing out. :angry: Running BI 5.5.6.21, DS 2021.02.1

Worked great for about a week!
 

OgRoar

Getting the hang of it
Joined
Apr 1, 2021
Messages
31
Reaction score
32
Location
US
Uninstall DS, delete DS folder, install again. It will work for a while. I can get 3mo+ out of it by doing this.

It saves a ton of garbage in the DS folder.
 

DanDenver

Getting comfortable
Joined
May 3, 2021
Messages
489
Reaction score
782
Location
Denver Colorado
Is there a specific folder that can be cleaned out? Re-installing is so drastic. If a specific folder is determined to be the trouble maker, it would be so much quicker and could then be cleaned out by a script that is on a scheduler.
 

OgRoar

Getting the hang of it
Joined
Apr 1, 2021
Messages
31
Reaction score
32
Location
US
Should be the .rdb files in c:\deepstack\redis
 
Top