[Xapian-tickets] [Xapian] #646: Couldn't open /recoll-index/position.baseA: Too many open files

Xapian nobody at xapian.org
Wed Jun 25 15:52:01 BST 2014


#646: Couldn't open /recoll-index/position.baseA: Too many open files
-----------------------+---------------------------
 Reporter:  Percent01  |             Owner:  olly
     Type:  defect     |            Status:  new
 Priority:  normal     |         Milestone:
Component:  Other      |           Version:  1.2.17
 Severity:  normal     |        Resolution:
 Keywords:  recoll     |        Blocked By:
 Blocking:             |  Operating System:  All
-----------------------+---------------------------
\
\
\
\
\
\
Description changed by Percent01:
\

Old description:

> Hello everybody!
>
> I use Recoll 1.9.14 with XapianDB 1.2.17
>
> I start recoll-webui this command: "nohup python ./webui-standalone.py
> >/dev/null 2>&1&"
> I get this error message after !!202!! searching (I test many times and I
> always get error message after 202. webui search):
> -------------------------
> Sorry, the requested URL
> 'http://X.X.X.X/results?query=asdf&dir=%3Call%3E&after=&before=&sort=relevancyrating&ascending=0&page=1'
> caused an error:
>
> Internal Server Error
>
> Exception:
>
> EnvironmentError("Can't open index",)
>
> Traceback:
>
> Traceback (most recent call last):
> File "/opt/recoll/recoll-webui-master/bottle.py", line 744, in _handle
> return route.call(**args)
> File "/opt/recoll/recoll-webui-master/bottle.py", line 1479, in wrapper
> rv = callback(*a, **ka)
> File "/opt/recoll/recoll-webui-master/bottle.py", line 2850, in wrapper
> result = func(*args, **kwargs)
> File "/opt/recoll/recoll-webui-master/webui.py", line 241, in results
> res, nres, timer = recoll_search(query)
> File "/opt/recoll/recoll-webui-master/webui.py", line 180, in
> recoll_search
> query = recoll_initsearch(q)
> File "/opt/recoll/recoll-webui-master/webui.py", line 157, in
> recoll_initsearch
> db = recoll.connect(config['confdir'])
> EnvironmentError: Can't open index
>
> -------------------------
> I get this error message on the console:
> :2:../rcldb/rcldb.cpp:830:Db::open: exception while opening [/recoll-
> index]: Error opening table `/recoll-index/position.':
> Couldn't open /recoll-index/position.baseA: Too many open files
> Couldn't open /recoll-index/position.baseB: Too many open files
>
> :2:pyrecoll.cpp:1531:Db_init: db open error
> Traceback (most recent call last):
> File "/opt/recoll/recoll-webui-master/bottle.py", line 744, in _handle
> return route.call(**args)
> File "/opt/recoll/recoll-webui-master/bottle.py", line 1479, in wrapper
> rv = callback(*a, **ka)
> File "/opt/recoll/recoll-webui-master/bottle.py", line 2850, in wrapper
> result = func(*args, **kwargs)
> File "/opt/recoll/recoll-webui-master/webui.py", line 241, in results
> res, nres, timer = recoll_search(query)
> File "/opt/recoll/recoll-webui-master/webui.py", line 180, in
> recoll_search
> query = recoll_initsearch(q)
> File "/opt/recoll/recoll-webui-master/webui.py", line 157, in
> recoll_initsearch
> db = recoll.connect(config['confdir'])
> EnvironmentError: Can't open index
> -------------------------

New description:

 Hello everybody!

 I use Recoll 1.19.14 with XapianDB 1.2.17

 I start recoll-webui this command: "nohup python ./webui-standalone.py
 >/dev/null 2>&1&"
 I get this error message after !!202!! searching (I test many times and I
 always get error message after 202. webui search):
 -------------------------
 Sorry, the requested URL
 'http://X.X.X.X/results?query=asdf&dir=%3Call%3E&after=&before=&sort=relevancyrating&ascending=0&page=1'
 caused an error:

 Internal Server Error

 Exception:

 EnvironmentError("Can't open index",)

 Traceback:

 Traceback (most recent call last):
 File "/opt/recoll/recoll-webui-master/bottle.py", line 744, in _handle
 return route.call(**args)
 File "/opt/recoll/recoll-webui-master/bottle.py", line 1479, in wrapper
 rv = callback(*a, **ka)
 File "/opt/recoll/recoll-webui-master/bottle.py", line 2850, in wrapper
 result = func(*args, **kwargs)
 File "/opt/recoll/recoll-webui-master/webui.py", line 241, in results
 res, nres, timer = recoll_search(query)
 File "/opt/recoll/recoll-webui-master/webui.py", line 180, in
 recoll_search
 query = recoll_initsearch(q)
 File "/opt/recoll/recoll-webui-master/webui.py", line 157, in
 recoll_initsearch
 db = recoll.connect(config['confdir'])
 EnvironmentError: Can't open index

 -------------------------
 I get this error message on the console:
 :2:../rcldb/rcldb.cpp:830:Db::open: exception while opening [/recoll-
 index]: Error opening table `/recoll-index/position.':
 Couldn't open /recoll-index/position.baseA: Too many open files
 Couldn't open /recoll-index/position.baseB: Too many open files

 :2:pyrecoll.cpp:1531:Db_init: db open error
 Traceback (most recent call last):
 File "/opt/recoll/recoll-webui-master/bottle.py", line 744, in _handle
 return route.call(**args)
 File "/opt/recoll/recoll-webui-master/bottle.py", line 1479, in wrapper
 rv = callback(*a, **ka)
 File "/opt/recoll/recoll-webui-master/bottle.py", line 2850, in wrapper
 result = func(*args, **kwargs)
 File "/opt/recoll/recoll-webui-master/webui.py", line 241, in results
 res, nres, timer = recoll_search(query)
 File "/opt/recoll/recoll-webui-master/webui.py", line 180, in
 recoll_search
 query = recoll_initsearch(q)
 File "/opt/recoll/recoll-webui-master/webui.py", line 157, in
 recoll_initsearch
 db = recoll.connect(config['confdir'])
 EnvironmentError: Can't open index
 -------------------------

--
\
\
\
\

--
Ticket URL: <http://trac.xapian.org/ticket/646#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list