Hi Vanessa,

Goog to hear the FD_SET issues is resolved. Strange it would not occur on Mac 
though as its default FD_SETSIZE is 256 rather than 1024 as is the case on 
Linux, unless it is set higher on your Mac (ulimit -n) ?

To get closer to an exact match you could try using the optional "OPTION (score 
...)" specifier for the bif:contains function to rank and score the results as 
detailed at:

        
http://docs.openlinksw.com/virtuoso/rdfiridereferencing.html#rdfiridereferencingfaceter

Although for an exact label match it is better to perform an equality check ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink

On 16 Sep 2010, at 14:52, Vanessa Lopez wrote:

> Hi Hugh,
> 
> Yes I also increased the number of ServerThreads because, together with the 
> maximum number of file descriptors, Virtuoso was displaying a message 
> suggesting to increase the ServerThreads. When increasing the ServerThreads, 
> the last message disappeared but I still had a problem with the file 
> descriptors.
> 
> Anyway, your email made me think that the problem was that I was not closing 
> the connections to Virtuoso properly, my application is a NL interface, and 
> there are some heavy user queries that send more than 2000 sparql calls to 
> Virtuoso .. and yes, that was the problem! It is solved now :-) .. ( I did 
> not have this problem when I was using my Mac, only on the Linux server)
> 
> Thanks a lot!!!,  I am very please with Virtuoso, it handles my  2000 queries 
> in (almost) real time, without any tuning.
> 
> I just have some problems with the indexes / full text searches, for 
> instance, when querying for "museum " in DBpedia:
> 
> SELECT DISTINCT ?s ?o ?type FROM <http://dbpedia.org> WHERE {{?s rdfs:label
> ?o. ?s rdf:type ?type .FILTER( bif:contains(?o, "museum" ) )}}LIMIT 350
> 
> I get the exact mapping: http://dbpedia.org/property/museum (label: museum) 
> after position 300, behind approximate mappings like 
> "Intrepid_Sea-Air-Space_Museum", "National_Museum_of_the_American_Indian", 
> "British_Museum", etc..  Is there any way to get exact mappings first? I 
> created the indexes in the following way:
> 
> DB.DBA.RDF_OBJ_FT_RULE_ADD('http://dbpedia.org', null, 'dbpedia');
> DB.DBA.VT_INC_INDEX_DB_DBA_RDF_OBJ();
> 
> Thanks again!
> Vanessa
> 
> 
> On 15 Sep 2010, at 23:08, Hugh Williams wrote:
> 
>> Hi Vanessa,
>> 
>> Where are you encountering this error ?
>> 
>> FD_SET is the file descriptor set whose maximum size is determine by the 
>> FD_SETSIZE parameter which is typically 1024 on Unix systems, so I assume 
>> you are exceeding this some how. Have you increased any of he parameters in 
>> your virtuoso configuration file (virtuoso.ini) like ServerThreads for 
>> example which would result in a large number of file descriptors being 
>> opened to the point of exceeding the FD_SETSIZE maximum ?
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software
>> Web: http://www.openlinksw.com
>> Support: http://support.openlinksw.com
>> Forums: http://boards.openlinksw.com/support
>> Twitter: http://twitter.com/OpenLink
>> 
>> On 15 Sep 2010, at 21:55, Vanessa Lopez wrote:
>> 
>>> Hello,
>>> 
>>> Does anyone knows how to solve the problem
>>> 
>>> "Exceeded maximum number of file descriptors in FD_SET."
>>> 
>>> in Virtuoso? I install Virtuoso under Linux RedHat
>>> 
>>> Thanks a lot
>>> V
>>> 
>>> -- 
>>> The Open University is incorporated by Royal Charter (RC 000391), an exempt 
>>> charity in England & Wales and a charity registered in Scotland (SC 038302).
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Virtuoso-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>> 
> 


Reply via email to