search for: fs_new_output

Displaying 3 results from an estimated 3 matches for "fs_new_output".

2007 Mar 12
2
Too many open files error
Hi Dave, i just stumbled across a new error i haven''t seen before :) caught error inside loop: IO Error occured at <except.c>:93 in xraise Error occured in fs_store.c:264 - fs_new_output couldn''t create OutStream /var/www/localhost/rails/current/ script/backgroundrb/../../config/../db/ferret.index.production/ _jei_0.f0: <Too many open files> my ulimit is set to 1024 files, the error occurs regularly.. any idea? Ben
2006 Oct 30
0
File Store permissions
...t;dir.path, filename); - if ((f = creat(path, S_IRUSR | S_IWUSR)) == 0) { + if ((f = creat(path, store->file_mode)) == 0) { RAISE(IO_ERROR, "couldn''t create file %s: <%s>", path, strerror(errno)); } @@ -252,7 +252,7 @@ static OutStream *fs_new_output(Store *s { char path[MAX_FILE_PATH]; int fd = open(join_path(path, store->dir.path, filename), - O_WRONLY | O_CREAT | O_BINARY, S_IRUSR | S_IWUSR); + O_WRONLY | O_CREAT | O_BINARY, store->file_mode); OutStream *os; if (fd < 0) {...
2007 Aug 05
1
IO Errors on deleting documents with Ferret
...index appear to not be corrupted, so I ran the script again for fun. The following error occurred after approximately 20 minutes: /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:723:in `close'': IO Error occured at <except.c>:93 in xraise (IOError) Error occured in fs_store.c:264 - fs_new_output couldn''t create OutStream /mnt/apps/search/current/../../ shared/indexes/final/_a4kx.prx: <Too many open files> from /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:723:in `ensure_reader_open'' from /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:434:in...