Forums

site under development

Hi,

My site was up and running, but realized that the favicon is missing.

I changed the static root, run collectstatics, and saw some warnings that I have duplicate files now, so ran collectstatics -clean. At the same time, I got an email that I used more than 3GB RAM so they killed my process.

Since then nothing loads - not sure which caused the problem or how to fix it.

What errors do you see in your web app's error log?

it is empty since the site 'is under development'. Even on the server logs - the only logs I see is related to me reloading the site

in console I see this (but I have the same ouput running the code in local, and in local it is working):

DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND DevTools failed to load source map: Could not load content for chrome-extension://bmnlcjabgnpnenekpadlanbbkooimhnj/browser-polyfill.js.map: System error: net::ERR_BLOCKED_BY_CLIENT DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND

I can see that logs are being written for your web app -- you'll find links to the logs on the Web page.

Yes, I was trying with a lot of stuff to fix it, changing static files dirs, changing the way I access them, so on. You can see only the tries in the log files ( like I tried to add static files manually to the urls). But nothing helped. I pulled the original code from git, and no logs why the site is under construction.

You can see these logs between 2023-02-18 10:57 and 2022-02-18 11:02

And although I reload the site, delete cookies, and reload in the browser also, it shows under construction and no logs.

I have no idea what the problem ws, deletes my webapp and deployed it again - it works now.

Okey, I found it: because it ran out of memory, it was killed and then nothing. I can not start the process again - guess somebody from pythonanywhere should do it?

I see the site is loading now, so redeploying seems to have fixed whatever was broken before in the config/code. Just to clarify how things work at PythonAnywhere side -- we have a 3GiB memory limit per process, it's not a limit for your account. We have a different metric, called "CPU seconds" which you can use daily, but that currently does not affect web apps. Even if your web app would crash it would be restarted in moment of the next hit (unless it was so broken that it was not able to load the web app code and execute it).