CouchDB
  1. CouchDB
  2. COUCHDB-752

InternalError: script stack space quota is exhausted

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.11
    • Fix Version/s: 1.1.1, 1.2
    • Component/s: JavaScript View Server
    • Labels:
      None
    • Skill Level:
      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/...

      1. ddoc.patch
        1 kB
        Benoit Chesneau

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Randall Leeds
            Reporter:
            Benoit Chesneau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development