couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1596) Nonexistent query server process produces infinity loop for views
Date Mon, 12 Nov 2012 16:09:12 GMT
Alexander Shorin created COUCHDB-1596:
-----------------------------------------

             Summary: Nonexistent query server process produces infinity loop for views
                 Key: COUCHDB-1596
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1596
             Project: CouchDB
          Issue Type: Bug
          Components: View Server Support
    Affects Versions: 1.3
            Reporter: Alexander Shorin
            Priority: Minor


How to burn CPU and make disk space run out quickly:
1. Enable debug logs;
2. Setup query server with path to the nonexistent executable (e.g. /usr/bin/foo);
3. Run any view for it;
4. Go grub some tea - CouchDB will never stop his attempts to run /usr/bin/foo;
5. After few hours your /var/log partition will be full of logs;
6. CouchDB get crushed due to it unable to write more logs...
...like the most part of system too.

This works only for views: other design functions are not affected and terminates with exit_status
1 (even list function against fresh view).

P.S. This bug is dedicated to the one small accidental typo that brought down our test server.
But he is fine now (:


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message