You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/02/01 16:49:46 UTC

[GitHub] wohali commented on issue #1119: Could not open shard

wohali commented on issue #1119: Could not open shard
URL: https://github.com/apache/couchdb/issues/1119#issuecomment-362327942
 
 
   For others, so you don't have to sign up for a JIRA account, here's the text (2600/teletype):
   
   > On debian 8.6 ander openvz container fax attachment cannot be attached to email.
   > Root of issue call "file:read_file(ToFile)" return enoent
   > Fragment of strace cammnad output
   `stat("/tmp/a0b205e547697bcd.pdf", 0x7f5a29a1ed00) = -1 ENOENT (No such file or directory)`
   > Think OTP have bug that appears only Debian 8.6 virtualized under openvz on Proxmox 3.4 (two years old). Tested command `tiff2pdf -o ~s ~s &> /dev/null && echo -n \"success\""` on OTP-18.3.4.5
   
   @sergey-safarov This doesn't directly apply because the operation to open a CouchDB shard file is not an `os:cmd` operation, but an internal Erlang operation.
   
   You may be right that in your specific configuration there is an issue, but the above information points more likely to a very slow disk (unable to open file for 4.0 seconds is *very very slow*.)
   
   Are you able to reproduce this issue when you are _not_ running under Docker and proxmox? We see sporadic reports of this type of behaviour and don't really have a good way to resolve this. Increasing this timeout as a default could lead to very bad performance for CouchDB in other situations; putting every single timeout into `local.ini` is not a good solution, either.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services