Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-752

InternalError: script stack space quota is exhausted

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.11
    • 1.1.1, 1.2
    • JavaScript View Server
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      Couchdb freeze and use full CPU after accessing to a 93MB designdoc:

      debug] [<0.91.0>] Spawning new group server for view group _design/aimpl in database aimpl.
      [debug] [<0.94.0>] request_group

      {Pid, Seq}

      {<0.116.0>,61}

      [debug] [<0.81.0>] New task status for aimpl _design/aimpl: Finishing.
      [debug] [<0.126.0>] OS Process Start :: #Port<0.2040>
      [debug] [<0.87.0>] Teach ddoc to new proc {proc,<0.126.0>,<<"javascript">>,[],

      {couch_os_process,prompt}

      ,

      {couch_os_process,set_timeout}

      ,
      {couch_os_process,stop}} with DDocKey:

      {<<"_design/aimpl">>, <<"30-2ab623a62b83b0d9f2616ee209f62659">>}

      InternalError: script stack space quota is exhausted

      Most of data are in attachments :

      enlil:couchapp benoitc$ du -sh aimpl
      93M aimpl
      enlil:couchapp benoitc$ du -sh aimpl/_attachments/
      93M aimpl/_attachments/

      about 100k in views/shows/...

      Attachments

        1. ddoc.patch
          1 kB
          Benoit Chesneau

        Activity

          People

            tilgovi Randall Leeds
            benoitc Benoit Chesneau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment