articulate icon indicating copy to clipboard operation
articulate copied to clipboard

THP - Redis ERROR

Open bkurowski opened this issue 8 years ago • 20 comments

  • Did you download a release or pull from Master? Which release? Using release : 0.11.2
  • What operating system are you running? Windows 10
  • Are you running locally or in the cloud? Locally
  • Which browser are you using? Firefox

Hey guys. My redis ran into problem and I'm not really sure how to tackle that problem inside Windows 10. image "Transparent Huge Pages" --> How can i disable this bit in Windows 10 ?

bkurowski avatar Sep 14 '18 15:09 bkurowski

@milutz you looked into this right and it had more to do with Docker if I remember right.

wrathagom avatar Sep 14 '18 15:09 wrathagom

It seems like it is Docker problems i have observed. I did not have such problems when i was working from linux. But now i have to use windows ... It would be cool if someone has resolved this problem before. Thanks !

bkurowski avatar Sep 14 '18 15:09 bkurowski

A few pertinent links:

  • https://github.com/docker-library/redis/issues/55
  • https://forums.docker.com/t/disable-transparent-huge-pages-thp/17240

wrathagom avatar Sep 14 '18 18:09 wrathagom

@bkurowski I may have mistakingly glossed over your real issue. To be clear we ALL get the Redis warning when we start up Articulate unless we are running directly on a linux server and have made the appropriate changes there.

I don't think your problem has anything to do with THP.

The real problem seems to be with your append only file. Did you try manually editing it, copying it, moving it?

wrathagom avatar Sep 14 '18 18:09 wrathagom

Hey sorry for late reply, i did not edit any files manually. If its not THP, it is docker problem so. Seems like i can not run it at all having windows OS ;/ .... I downloaded fresh version of 0.12.1, and it still did not run with the new version. Is the only option to come back to Linux ? As when i started using articulate on Windows all these problems started.

bkurowski avatar Sep 16 '18 13:09 bkurowski

Now i am getting completely different error after restarting ..

articulate-prob

Not sure how to fix that.

bkurowski avatar Sep 16 '18 14:09 bkurowski

Are you using the docker QuickStart terminal? Can you try just a normal command prompt or power shell?

wrathagom avatar Sep 16 '18 14:09 wrathagom

The picture you see above is ran through Git Bash terminal, but ordinary cmd or power shell gets errors too. Now these. capture

Btw same instance of files (copy/paste) to linux and it works from first hit.

Sorry i did not know its gonna be so much hassle when OS change occur.

bkurowski avatar Sep 16 '18 14:09 bkurowski

Have you tried a fresh clone on Windows?

wrathagom avatar Sep 16 '18 16:09 wrathagom

Yes i tried fresh version on windows v0.12.1. And still doesnt work. Docker seems to be acting up.

On Sun, 16 Sep 2018, 17:46 Caleb M. Keller, [email protected] wrote:

Have you tried a fresh clone on Windows?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/samtecspg/articulate/issues/321#issuecomment-421794157, or mute the thread https://github.com/notifications/unsubscribe-auth/AmfRLW3D4fMJ04envD6pznFmnCwEQTBdks5uboBKgaJpZM4WpewK .

bkurowski avatar Sep 16 '18 16:09 bkurowski

Have you tried restarting Docker? Also, which version of Windows did you say this was?

We have user and team members who regularly use Articulate on Windows 10 and 7. So it’s possible. Though especially on Windows 7 the process can be painful.

Caleb On Sep 16, 2018, 12:49 PM -0400, bkurowski [email protected], wrote:

Yes i tried fresh version on windows v0.12.1. And still doesnt work. Docker seems to be acting up.

On Sun, 16 Sep 2018, 17:46 Caleb M. Keller, [email protected] wrote:

Have you tried a fresh clone on Windows?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/samtecspg/articulate/issues/321#issuecomment-421794157, or mute the thread https://github.com/notifications/unsubscribe-auth/AmfRLW3D4fMJ04envD6pznFmnCwEQTBdks5uboBKgaJpZM4WpewK .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

wrathagom avatar Sep 16 '18 16:09 wrathagom

I restarted Docker & machine few times. It is Windows 10 x64. Docker and windows are up to date. I thought win 7 would the less problematic in this case.

On Sun, 16 Sep 2018, 17:51 Caleb M. Keller, [email protected] wrote:

Have you tried restarting Docker? Also, which version of Windows did you say this was?

We have user and team members who regularly use Articulate on Windows 10 and 7. So it’s possible. Though especially on Windows 7 the process can be painful.

Caleb On Sep 16, 2018, 12:49 PM -0400, bkurowski [email protected], wrote:

Yes i tried fresh version on windows v0.12.1. And still doesnt work. Docker seems to be acting up.

On Sun, 16 Sep 2018, 17:46 Caleb M. Keller, [email protected] wrote:

Have you tried a fresh clone on Windows?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/samtecspg/articulate/issues/321#issuecomment-421794157 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AmfRLW3D4fMJ04envD6pznFmnCwEQTBdks5uboBKgaJpZM4WpewK

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/samtecspg/articulate/issues/321#issuecomment-421794968, or mute the thread https://github.com/notifications/unsubscribe-auth/AmfRLTXz0IHrOrXN8aHHBlR1GdEuxwniks5uboGQgaJpZM4WpewK .

bkurowski avatar Sep 16 '18 17:09 bkurowski

Are you running Docker toolbox or Focker for Windows.

HVe you tried running with the COMPOSE_CONVERT_WINDOWS_PATHS=1 env variable set?

wrathagom avatar Sep 16 '18 17:09 wrathagom

Running Docker for Windows. And I have set the variable at the start. I will reinstall docker and update first thing in morning.

bkurowski avatar Sep 16 '18 21:09 bkurowski

After reinstalling Docker, everything came back to normal. But it still seems not to be stable, while training the bot, Error comes up straight after pressing train. (Not every time). Best option will be to comeback to Linux, thank you for your time and help. I observed I have less problems using Linux.

Best Regards, Bart

bkurowski avatar Sep 17 '18 12:09 bkurowski

What error comes up after training? How much memory do you have allocated to Docker machine? Keep in mind that Rasa/Articulate need a minimum of 4Gb even for basic configurations. I believe the default Docker machine config is only 1-2G.

That being said this is certainly being designed for server installation.

wrathagom avatar Sep 17 '18 12:09 wrathagom

The console says nothing after hitting train it comes as Error instead of green state Ready. Without taking time while training as usually, so it changes the state straight away without waiting.. I have allocated 6 GB of memory.

bkurowski avatar Sep 17 '18 12:09 bkurowski

Are you using the generate extra training data anywhere? There was a known bug with this fixed in 0.12.1 that had symptoms as you describe.

wrathagom avatar Sep 17 '18 12:09 wrathagom

I observed that error a while back, so i decided not to use it. No I am not using any extra training in there.

bkurowski avatar Sep 17 '18 13:09 bkurowski

Just to update, error is fixed. Not sure what it was but the error was saved inside cache of Docker which was not allowing me to run Articulate. After clearing cache / reinstalling Docker everything came back to normal, but only with a fresh version of Articulate. As the previous version that I was using still contained that error.

Thanks for help !

BR, Bart

bkurowski avatar Oct 10 '18 14:10 bkurowski