Displaying 20 results from an estimated 28 matches for "flintlock".
2008 Dec 03
1
flintlock issues
Hi people
I'm running Xapian (1.0.9) and more specifically omega to index a few
different databases.
After the databases are first indexed (by user A), the dirs get
chmod'ed to 0777 to allow user B full access to them.
Even after the indexing is done, the file "flintlock" still exists in
all database dirs. It's owned by user A (perm: -rw-------).
When user B wants to change something, scriptindex waits until a)
flintlock is removed OR b) flintlock is chown'ed to user B
Should flintlock remain in all dirs, or is something wrong?
If it should, how...
2016 Feb 22
3
Database left unlocked by Tcl bindings
On Sun, 21 Feb 2016 22:33:22 +0000, Olly Betts <olly at survex.com> wrote:
> On Sun, Feb 21, 2016 at 02:15:25PM +0100, Eric J wrote:
> > I discovered, while trying to set up Tcl bindings for Notmuch
> > (https://notmuchmail.org/), which uses Xapian, that flintlock was not
> > being locked (I had lost updates).
>
> It seems to work for me, testing with this:
>
> package require Tcl 8
> package require xapian 1.0.0
> xapian::WritableDatabase db "tmp.db" $xapian::DB_CREATE_OR_OPEN
> xapian::WritableDatabase db2 "tmp.d...
2016 Feb 21
5
Database left unlocked by Tcl bindings
I discovered, while trying to set up Tcl bindings for Notmuch
(https://notmuchmail.org/), which uses Xapian, that flintlock was not
being locked (I had lost updates).
I then found that opening a Xapian database for writing directly via
the Xapian Tcl bindings also silently fails to lock flintlock.
I have taken a copy of flint_lock.cc to play with, and I find that it
locks the file when called from a minimal C main pro...
2011 Apr 07
1
Problems with /bin/cat and flintlock?
Hi Guys,
I'm working on some integration project with Ruby, Rack, Apache, Phusion Passenger and Xapian.
I've been having intermittent issues with the flintlock code - it seems that the function FlintLock::lock is never returning and this is locking up the Ruby process.
My guess is that Xapian is locking up in a system call and Ruby can't schedule its green threads.
I've done some basic debugging with strace and noticed the following:
29944 3002...
2007 Aug 28
1
flintlock fork causes hang in Apache+Python+mod_python
...sting of Apache
httpd with mod_python. (not as a CGI) Also this is
Linux.
Whenever the python code attempts to open a database
the entire httpd process will hang indefinitely. The
python bindings work outside of the apache/mod_python
environment.
>From the best I can tell the hang occurs in FlintLock:lock()
method. I can see that the httpd process has forked off
a child using the "/bin/cat" executable, and the httpd process
(which has the embedded Python interpreter) is hung on
a FUTEX_WAIT system call).
While this process is hung, then attempts to open the
same database outside of...
2016 Feb 21
0
flintlock / tcl bindings
Comment by Eric Lindblad 10-09-2015
http://www.nurmi-labs.blogspot.com
I have sent a copy of Eric J.'s 21 Feb. 2016 dated e-mail [Database left unlocked by Tcl bindings]
to a Tcl programmer in the Vancouver area, with whom I have had an exchange of e-mails before. If
I receive a timely response I'll post it to the xapian-discuss list.
2016 Aug 06
2
debian (1.2.22-3~bpo8+1) package build failure
I'm trying to test a trivial patch to set FD_CLOEXEC on the
flintlock lockfd when using F_OFD_SETLK and am running into a
build failure even in an unpatched state.
This is on a Debian jessie amd64 system building the
jessie-backports version. The stable version (1.2.19-1+deb8u1)
works and builds fine using the same commands, however I also
encountered a similar bui...
2016 Feb 24
0
Database left unlocked by Tcl bindings
...te:
> On Sun, 21 Feb 2016 22:33:22 +0000, Olly Betts <olly at survex.com> wrote:
> > On Sun, Feb 21, 2016 at 02:15:25PM +0100, Eric J wrote:
> > > I discovered, while trying to set up Tcl bindings for Notmuch
> > > (https://notmuchmail.org/), which uses Xapian, that flintlock was not
> > > being locked (I had lost updates).
> >
> > It seems to work for me, testing with this:
> >
> > package require Tcl 8
> > package require xapian 1.0.0
> > xapian::WritableDatabase db "tmp.db" $xapian::DB_CREATE_OR_OPEN
> >...
2016 Apr 12
2
Xapian 1.3.5 snapshot performance and index size
...4%CPU (0avgtext+0avgdata 1055204maxresident)k
0inputs+21046192outputs (0major+41137071minor)pagefaults 0swaps
*************************
793244 /home/dockes/.recoll/xapiandb
total 793240
-rw-r--r-- 1 dockes dockes 24150016 Apr 12 10:47 docdata.glass
-rw-r--r-- 1 dockes dockes 0 Apr 12 10:47 flintlock
-rw-r--r-- 1 dockes dockes 130 Apr 12 10:47 iamglass
-rw-r--r-- 1 dockes dockes 577527808 Apr 12 10:47 position.glass
-rw-r--r-- 1 dockes dockes 120905728 Apr 12 10:47 postlist.glass
-rw-r--r-- 1 dockes dockes 89677824 Apr 12 10:47 termlist.glass
*************************
*******LIB********...
2016 Aug 07
2
debian (1.2.22-3~bpo8+1) package build failure
On Sat, Aug 06, 2016 at 03:43:48AM +0000, Eric Wong wrote:
> Eric Wong <e at 80x24.org> wrote:
> > I'm trying to test a trivial patch to set FD_CLOEXEC on the
> > flintlock lockfd when using F_OFD_SETLK
>
> Fwiw, this is the patch I was originally going to test.
> (but now I see maybe my F_SETFD might only need to be
> called on F_OFD_SETLK success) Description at bottom.
>
> --- a/backends/flint_lock.cc
> +++ b/backends/flint_lock.cc
> @@...
2016 Apr 11
2
Xapian 1.3.5 snapshot performance and index size
Olly Betts writes:
> On Sun, Apr 10, 2016 at 04:47:01PM +0200, Jean-Francois Dockes wrote:
> > Some might notice the 50% index size increase. Excessive index size is
> > already one relatively rare, but recurring complaint. Except if I did
> > something wrong: I'm actually quite surprised by it.
>
> Did you try compacting the resulting databases?
>
>
2016 Feb 24
4
Database left unlocked by Tcl bindings
...; On Sun, 21 Feb 2016 22:33:22 +0000, Olly Betts <olly at survex.com> wrote:
>>> On Sun, Feb 21, 2016 at 02:15:25PM +0100, Eric J wrote:
>>>> I discovered, while trying to set up Tcl bindings for Notmuch
>>>> (https://notmuchmail.org/), which uses Xapian, that flintlock was not
>>>> being locked (I had lost updates).
>>>
>>> It seems to work for me, testing with this:
>>>
>>> package require Tcl 8
>>> package require xapian 1.0.0
>>> xapian::WritableDatabase db "tmp.db" $xapian::DB_CREAT...
2018 Sep 19
2
Couldn't detect type of database
...ug 28 23:44 docdata.glass
-rw-rw-r-- 1 jwl jwl 151 Aug 28 23:44 iamglass
-rw-rw-r-- 1 jwl jwl 767115264 Aug 28 23:44 position.glass
-rw-rw-r-- 1 jwl jwl 383213568 Aug 28 23:44 postlist.glass
-rw-rw-r-- 1 jwl jwl 203341824 Aug 28 23:44 termlist.glass
-rw-rw-r-- 1 jwl jwl 0 Aug 28 23:44 flintlock
I know that I was using 1.4.1 before, so I reinstalled that version and
now delve decided that the db was OK, however when I went to install
Xapia./XS/WritableDatabase.xs:30:47: error: missing binary operator
before token "("
#if defined XAPIAN_AT_LEAST && XAPIAN_AT_LEAST(1,...
2011 Jun 10
2
Just starting to experiment with php
I took one of the examples and tried to run against my database
ls -l /data1/mail/db/cur.1
total 1129624
-rw-r--r-- 1 jwl jwl 0 2011-06-09 02:27 flintlock
-rw-r--r-- 1 jwl jwl 28 2011-06-09 02:27 iamchert
-rwxrwxrwx 1 jwl jwl 7258 2011-06-09 02:27 position.baseA
-rwxrwxrwx 1 jwl jwl 7046 2011-06-09 02:27 position.baseB
-rwxrwxrwx 1 jwl jwl 474226688 2011-06-09 02:28 position.DB
-rwxrwxrwx 1 jwl jwl 5626 2011-06-09 02:28 postlist...
2016 Jul 06
2
Xapian 1.4.0 released
...rectories? There is a no new version of
Perl Search::Xapian.
$ quest -version
quest - xapian-core 1.4.0
$ delve --version
delve - xapian-core 1.2.23
Exception: Couldn't detect type of database
http://pacific-design.com/search?q=kevin
253952 Jul 6 13:55 docdata.glass
0 Jul 6 13:55 flintlock
114 Jul 6 13:55 iamglass
1228800 Jul 6 13:55 position.glass
761856 Jul 6 13:55 postlist.glass
270336 Jul 6 13:55 termlist.glass
On Sat, Jun 25, 2016 at 11:58 AM, Emmanuel Engelhart <kelson at kiwix.org> wrote:
> This is really great. Thank you very much for all the work, in...
2015 Feb 03
2
Fwd: Waiting for Reply regarding "TestCases Failure"
...unning test './apitest --verbose topercent2' under eatmydata and valgrind
Running tests with backend "none"...
Running tests with backend "inmemory"...
Running test: topercent2...
Command: ls -R .chert
Output:
.chert:
db=apitest_simpledata
.chert/db=apitest_simpledata:
flintlock
You ought to have a database in .chert/db=apitest_simpledata - if so,
> then checking it would be interesting (again send the output):
>
> ../bin/xapian-check .chert/db=apitest_simpledata
>
Output for the above command is "Failed to check B-tree:
DatabaseOpeningError: Couldn'...
2014 Feb 13
2
A beginner in "Posting list encoding improvements"
I uninstall xapian1.3 and install xapian-1.2.17
but i still failed
hurricanetong at hurricanetong-VirtualBox:~/workspace$ g++ `xapian-config --cxxflags --libs` demo2.cc
/tmp/cc2wsfDJ.o: In function `main':
demo2.cc:(.text+0x4a): undefined reference to `Xapian::WritableDatabase::WritableDatabase(std::basic_string<char, std::char_traits<char>, std::allocator<char> >
2007 Jul 04
1
Latest patches for win32 build files
Hi all,
Some small patches are attached for the Win32 build files. Also,
currently it's failing a test on some of the new stuff:
...
Running test: spell1... ok
Running test: spell2... ok
Running test: spell3....flint\dbw\flintlock - The process cannot access
the file because it is being used by another process.
.flint\dbw\postlist.DB - The process cannot access the file because it
is being used by another process.
.flint\dbw\record.DB - The process cannot access the file because it is
being used by another process.
.flint...
2016 Feb 21
0
Database left unlocked by Tcl bindings
On Sun, Feb 21, 2016 at 02:15:25PM +0100, Eric J wrote:
> I discovered, while trying to set up Tcl bindings for Notmuch
> (https://notmuchmail.org/), which uses Xapian, that flintlock was not
> being locked (I had lost updates).
It seems to work for me, testing with this:
package require Tcl 8
package require xapian 1.0.0
xapian::WritableDatabase db "tmp.db" $xapian::DB_CREATE_OR_OPEN
xapian::WritableDatabase db2 "tmp.db" $xapian::DB_CREATE_OR_OPEN
I wo...
2016 Jul 09
0
Xapian 1.4.0 released
...ian.
>
> $ quest -version
> quest - xapian-core 1.4.0
>
> $ delve --version
> delve - xapian-core 1.2.23
>
> Exception: Couldn't detect type of database
> http://pacific-design.com/search?q=kevin
>
> 253952 Jul 6 13:55 docdata.glass
> 0 Jul 6 13:55 flintlock
> 114 Jul 6 13:55 iamglass
> 1228800 Jul 6 13:55 position.glass
> 761856 Jul 6 13:55 postlist.glass
> 270336 Jul 6 13:55 termlist.glass
>
>
> On Sat, Jun 25, 2016 at 11:58 AM, Emmanuel Engelhart <kelson at kiwix.org> wrote:
>> This is really great. Tha...