Skip to content

There was a problem with Read the Docs while building your documentation. Please report this to us with your build id (7427897). #4320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hugohadfield opened this issue Jul 2, 2018 · 35 comments
Assignees
Labels
Support Support question

Comments

@hugohadfield
Copy link

Details

Expected Result

Build success

Actual Result

Build failure with no error message or any easy way of debugging!

@hugohadfield
Copy link
Author

@arsenovic also has experienced failed builds with the same project

@stsewd stsewd added the Support Support question label Jul 2, 2018
@safwanrahman
Copy link
Member

The error is weired! Can you try restarting your build?

@hugohadfield
Copy link
Author

Just triggered a new build of latest
https://readthedocs.org/projects/clifford/builds/7448400/

@stsewd
Copy link
Member

stsewd commented Jul 6, 2018

It may be related to time/memory limits

@MagnificentRimsy
Copy link

Hello please i am having the same issue. here is my URL: updatedgurudevguide.readthedocs.io
updatedgurudevguide.rtfd.io

It keeps failing to to pass the build process please what should i do?

@hugohadfield
Copy link
Author

@stsewd would I not get a timeout error if it failed for that? I will try removing my more computationally intensive notebooks and see if that helps with a potential out of memory error...

@stsewd
Copy link
Member

stsewd commented Jul 7, 2018

@hugohadfield yeah, but sometimes we can't show a proper message #3613

@stsewd
Copy link
Member

stsewd commented Jul 7, 2018

@MagnificentRimsy I can see your docs are failing for another reason AttributeError: 'NoneType' object has no attribute 'note_implicit_target' https://readthedocs.org/projects/updatedgurudevguide/builds/7450633/

@arsenovic
Copy link

arsenovic commented Jul 7, 2018

if i pay more for the membership and adopt this project, can the memory limits be lifted for this?

@hugohadfield
Copy link
Author

@stsewd how can I find out what the time/memory limits are so I can avoid hitting them?

@stsewd
Copy link
Member

stsewd commented Jul 8, 2018

@hugohadfield the limits are:

  • 15 minutes
  • 1GB of memory

https://docs.readthedocs.io/en/latest/builds.html

Here you can find some help https://docs.readthedocs.io/en/latest/guides/build-using-too-many-resources.html, if that doesn't work, you need to request more time/memory for your project and wait for a maintainer accept it.

@stsewd
Copy link
Member

stsewd commented Jul 8, 2018

@arsenovic

if i pay more for the membership and adopt this project, can the memory limits be lifted for this?

Help is always appreciated, I'm not sure if rtd has this kind of rule, what I saw: people just request more time/memory for their project with an explanation and wait.

@stsewd
Copy link
Member

stsewd commented Jul 9, 2018

@MagnificentRimsy I can see your docs are failing for another reason AttributeError: 'NoneType' object has no attribute 'note_implicit_target' https://readthedocs.org/projects/updatedgurudevguide/builds/7450633/

@MagnificentRimsy you may be interested in #4341

@MagnificentRimsy
Copy link

@stsewd OK I've never encountered that error. thank you so much for point it out for me. I wish you could please show me how to fix it, please.

@arsenovic
Copy link

so, is there a method to determine if memory limits are the source of this issue?
if that is the issue, can we request more memory?

in addition, we could build only on releases, instead of for each commit. this would result in significantly more resource savings for rtd.

@hugohadfield
Copy link
Author

Our last build failed in 445.0002 seconds which is around 7 and a half minutes so we are definitely within time constraints..

@hugohadfield
Copy link
Author

I wiped the existing files as per https://docs.readthedocs.io/en/latest/builds.html
builds now die in 1 second..
https://readthedocs.org/projects/clifford/builds/7460151/

@stsewd
Copy link
Member

stsewd commented Jul 9, 2018

I wish you could please show me how to fix it, please.

@MagnificentRimsy you need to create a requirements file and pin to the sphinx version without the bug #4341 (comment). If you need more help, please ask on the other issue. Thanks!

@stsewd
Copy link
Member

stsewd commented Jul 9, 2018

@hugohadfield this is usually a problem with memory limits, the second error is very weird. Can you try building locally and see how many resources consume in your computer?

@arsenovic
Copy link

i get this on my laptop,

       Build finished. The HTML pages are in _build/html.
        Command being timed: "make html"
        User time (seconds): 37.84
        System time (seconds): 3.92
        Percent of CPU this job got: 77%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:54.00
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 140936
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 4
        Minor (reclaiming a frame) page faults: 1409851
        Voluntary context switches: 23246
        Involuntary context switches: 11052
        Swaps: 0
        File system inputs: 200
        File system outputs: 37808
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

@arsenovic
Copy link

i adopted the project and they appear to build now,
https://clifford.readthedocs.io/en/tools_merge/

@arsenovic
Copy link

@arsenovic
Copy link

any chance we could get some help on on this? we really like the service, and would be happy to pay more for support

@safwanrahman
Copy link
Member

@humitos Can you please take a look into this?

@humitos
Copy link
Member

humitos commented Jul 23, 2018

any chance we could get some help on on this? we really like the service, and would be happy to pay more for support

There some Gold Membership that you can consider: https://readthedocs.org/accounts/gold/subscription/

Although, we tend to not charge open source projects at all. If your project is not open source, you may want to consider using readthedocs.com (our corporate site/solution).

I didn't take a deeper look to the problem yet, so I'm not sure that it's a memory thing. I need to check the logs and make some tests to be sure and come back with more info.

@arsenovic
Copy link

clifford is open-source, and i have a minimal gold membership in attempts to get the doc builds fixed.
we would like to help fix this, but are not sure how.

@humitos
Copy link
Member

humitos commented Jul 23, 2018

@arsenovic I just triggered a new build of clifford and it did pass: https://readthedocs.org/projects/clifford/builds/7530889/

I'd say that it's a problem of memory consumption. Although, sometimes it passes because during the whole time the build is running the builder doesn't receive another big project to build. But, in case it receives another big build to process, one of them is killed since they do not keep both in memory.

If my supposition is correct, increasing the memory limit of your project won't make any difference. I have a proposed solution for this problem at #4403

@arsenovic
Copy link

@humitos thanks for looking into this. our docs are using nbsphinx, which executes a lot of jupyter notebooks. i suspect this is the memory hog.

@arsenovic
Copy link

also, wouldnt restricting doc-builds to tags/releases instead of every commit will save a lot of resources, and allow higher limits for everything?

@humitos humitos added this to the Build stability milestone Jul 30, 2018
@arsenovic
Copy link

@humitos any idea of when this could be solved? possible solutions;

  1. we can pay for more memory
  2. RTD makes option to only build tagged versions, but with more memory allocated
  3. RTD increases mem limit

i dont think our docs can be trimmed down in memory, because of the format we are using (jupyter notebooks in sphinx with nbsphinx).

without a fix, i am afraid we are going to have to move back gh-pages, which i dont want to do.

@humitos humitos self-assigned this Aug 21, 2018
@humitos
Copy link
Member

humitos commented Aug 21, 2018

@arsenovic I'm working on a solution for this. Since it involves some changes in the server architecture it may take some days and testing to be stable and reliable.

I've already proposed a solution to the team and I'm waiting for some feedback on it. I'll come back to you when I have this reviewed, deployed and tested.

@arsenovic
Copy link

great, thanks for letting me know.

@humitos
Copy link
Member

humitos commented Aug 21, 2018

@arsenovic the solution was just deployed and we are testing it now. I've already enabled this change into your project and triggered a new build. It passed.

I'd like you to keep an eye on these builds and let me know if you find any issue while building regarding memory issues. Thanks!

@hugohadfield
Copy link
Author

@humitos thank you so much for the support, I am a big fan of read the docs and glad to be able to keep using it!

@humitos
Copy link
Member

humitos commented Aug 30, 2018

@hugohadfield clifford is building now. I increased the resources and route its builds to a specialized server for these kind of projects.

I'm closing this issue here, but feel free to reopen if you consider necessary. Also, if you have any feedback, it's appreciated. Thanks!

@humitos humitos closed this as completed Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

6 participants