[jira] [Commented] (JENA-1586) Fuseki does not close files of dataset when the dataset is removed

2018-08-12 Thread Andy Seaborne (JIRA)


[ 
https://issues.apache.org/jira/browse/JENA-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16577492#comment-16577492
 ] 

Andy Seaborne commented on JENA-1586:
-

This fix expels the database for TDB1 and TDB2 databases.  That should close 
all open files associated with the database.

Tom - if you get a chance to confirm this, please let us know.

Note to anyone else looking at this: On MS Windows, closing the database does 
not release the memory mapped files until the process exits.  This is a 
long-term java issue and marked "won't fix" in the Java Issues tracker.




> Fuseki does not close files of dataset when the dataset is removed
> --
>
> Key: JENA-1586
> URL: https://issues.apache.org/jira/browse/JENA-1586
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.6.0
> Environment: Debian 9.5 with Jena 3.6.0
>Reporter: Tom den Braber
>Assignee: Andy Seaborne
>Priority: Minor
> Fix For: Jena 3.9.0
>
>
> When you remove a TDB-dataset over HTTP from the Fuseki server, Fuseki does 
> not close the file. 
> Steps to reproduce:
> First: create a dataset over HTTP with name 'x'. Then, delete the dataset 
> with name 'x'. Now inspect the open files of the fuseki process by running 
> \{{lsof -p }} you see that a dataset with name 'x' is  
> still opened by the Fuseki-process.
> Impact:
> When a Fuseki process runs for a long time, and many datasets are created and 
> deleted, it will in the end lead to a situation in which you cannot create 
> new datasets anymore. Each attempt to creating a dataset will lead to a HTTP 
> response code 500 with message 'java.nio.file.FileSystemException: 
> /var/lib/fuseki/templates/config-tdb: Too many open files'. Also, keeping the 
> files open leads (I suspect) to a higher memory usage than strictly needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1586) Fuseki does not close files of dataset when the dataset is removed

2018-08-12 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/JENA-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16577486#comment-16577486
 ] 

ASF subversion and git services commented on JENA-1586:
---

Commit 5a51311bd5b4ab2daf2f9cb9bb8a42a9d372e325 in jena's branch 
refs/heads/master from [~an...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=5a51311 ]

JENA-1481, JENA-1586: Delete databases and expel from JVM


> Fuseki does not close files of dataset when the dataset is removed
> --
>
> Key: JENA-1586
> URL: https://issues.apache.org/jira/browse/JENA-1586
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.6.0
> Environment: Debian 9.5 with Jena 3.6.0
>Reporter: Tom den Braber
>Priority: Minor
>
> When you remove a TDB-dataset over HTTP from the Fuseki server, Fuseki does 
> not close the file. 
> Steps to reproduce:
> First: create a dataset over HTTP with name 'x'. Then, delete the dataset 
> with name 'x'. Now inspect the open files of the fuseki process by running 
> \{{lsof -p }} you see that a dataset with name 'x' is  
> still opened by the Fuseki-process.
> Impact:
> When a Fuseki process runs for a long time, and many datasets are created and 
> deleted, it will in the end lead to a situation in which you cannot create 
> new datasets anymore. Each attempt to creating a dataset will lead to a HTTP 
> response code 500 with message 'java.nio.file.FileSystemException: 
> /var/lib/fuseki/templates/config-tdb: Too many open files'. Also, keeping the 
> files open leads (I suspect) to a higher memory usage than strictly needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1586) Fuseki does not close files of dataset when the dataset is removed

2018-08-12 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/JENA-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16577489#comment-16577489
 ] 

ASF subversion and git services commented on JENA-1586:
---

Commit a515c111b291ff91df0afd454acf921ddf33a936 in jena's branch 
refs/heads/master from [~an...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=a515c11 ]

Merge commit 'refs/pull/459/head' of https://github.com/apache/jena

JENA-1481
JENA-1586
This closes #459.


> Fuseki does not close files of dataset when the dataset is removed
> --
>
> Key: JENA-1586
> URL: https://issues.apache.org/jira/browse/JENA-1586
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.6.0
> Environment: Debian 9.5 with Jena 3.6.0
>Reporter: Tom den Braber
>Priority: Minor
>
> When you remove a TDB-dataset over HTTP from the Fuseki server, Fuseki does 
> not close the file. 
> Steps to reproduce:
> First: create a dataset over HTTP with name 'x'. Then, delete the dataset 
> with name 'x'. Now inspect the open files of the fuseki process by running 
> \{{lsof -p }} you see that a dataset with name 'x' is  
> still opened by the Fuseki-process.
> Impact:
> When a Fuseki process runs for a long time, and many datasets are created and 
> deleted, it will in the end lead to a situation in which you cannot create 
> new datasets anymore. Each attempt to creating a dataset will lead to a HTTP 
> response code 500 with message 'java.nio.file.FileSystemException: 
> /var/lib/fuseki/templates/config-tdb: Too many open files'. Also, keeping the 
> files open leads (I suspect) to a higher memory usage than strictly needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1586) Fuseki does not close files of dataset when the dataset is removed

2018-08-10 Thread Andy Seaborne (JIRA)


[ 
https://issues.apache.org/jira/browse/JENA-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576486#comment-16576486
 ] 

Andy Seaborne commented on JENA-1586:
-

See [pull request #458|https://github.com/apache/jena/pull/458] which seems to 
tracked by JENA-1481 but not here.

> Fuseki does not close files of dataset when the dataset is removed
> --
>
> Key: JENA-1586
> URL: https://issues.apache.org/jira/browse/JENA-1586
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.6.0
> Environment: Debian 9.5 with Jena 3.6.0
>Reporter: Tom den Braber
>Priority: Minor
>
> When you remove a TDB-dataset over HTTP from the Fuseki server, Fuseki does 
> not close the file. 
> Steps to reproduce:
> First: create a dataset over HTTP with name 'x'. Then, delete the dataset 
> with name 'x'. Now inspect the open files of the fuseki process by running 
> \{{lsof -p }} you see that a dataset with name 'x' is  
> still opened by the Fuseki-process.
> Impact:
> When a Fuseki process runs for a long time, and many datasets are created and 
> deleted, it will in the end lead to a situation in which you cannot create 
> new datasets anymore. Each attempt to creating a dataset will lead to a HTTP 
> response code 500 with message 'java.nio.file.FileSystemException: 
> /var/lib/fuseki/templates/config-tdb: Too many open files'. Also, keeping the 
> files open leads (I suspect) to a higher memory usage than strictly needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1586) Fuseki does not close files of dataset when the dataset is removed

2018-08-06 Thread Tom den Braber (JIRA)


[ 
https://issues.apache.org/jira/browse/JENA-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570030#comment-16570030
 ] 

Tom den Braber commented on JENA-1586:
--

Hi Andy,

thanks for your reply. I am not using the UI; I make HTTP requests from a PHP 
script to the Fuseki server, as described here: [Fuseki HTTP Administration 
Protocol|http://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html].

> Fuseki does not close files of dataset when the dataset is removed
> --
>
> Key: JENA-1586
> URL: https://issues.apache.org/jira/browse/JENA-1586
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.6.0
> Environment: Debian 9.5 with Jena 3.6.0
>Reporter: Tom den Braber
>Priority: Minor
>
> When you remove a TDB-dataset over HTTP from the Fuseki server, Fuseki does 
> not close the file. 
> Steps to reproduce:
> First: create a dataset over HTTP with name 'x'. Then, delete the dataset 
> with name 'x'. Now inspect the open files of the fuseki process by running 
> \{{lsof -p }} you see that a dataset with name 'x' is  
> still opened by the Fuseki-process.
> Impact:
> When a Fuseki process runs for a long time, and many datasets are created and 
> deleted, it will in the end lead to a situation in which you cannot create 
> new datasets anymore. Each attempt to creating a dataset will lead to a HTTP 
> response code 500 with message 'java.nio.file.FileSystemException: 
> /var/lib/fuseki/templates/config-tdb: Too many open files'. Also, keeping the 
> files open leads (I suspect) to a higher memory usage than strictly needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1586) Fuseki does not close files of dataset when the dataset is removed

2018-08-06 Thread Andy Seaborne (JIRA)


[ 
https://issues.apache.org/jira/browse/JENA-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569975#comment-16569975
 ] 

Andy Seaborne commented on JENA-1586:
-

Hi Tom - are you using UI itself, or the HTTP operations that back the UI to 
create/delete datasets? Or some other way?

> Fuseki does not close files of dataset when the dataset is removed
> --
>
> Key: JENA-1586
> URL: https://issues.apache.org/jira/browse/JENA-1586
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.6.0
> Environment: Debian 9.5 with Jena 3.6.0
>Reporter: Tom den Braber
>Priority: Minor
>
> When you remove a TDB-dataset over HTTP from the Fuseki server, Fuseki does 
> not close the file. 
> Steps to reproduce:
> First: create a dataset over HTTP with name 'x'. Then, delete the dataset 
> with name 'x'. Now inspect the open files of the fuseki process by running 
> \{{lsof -p }} you see that a dataset with name 'x' is  
> still opened by the Fuseki-process.
> Impact:
> When a Fuseki process runs for a long time, and many datasets are created and 
> deleted, it will in the end lead to a situation in which you cannot create 
> new datasets anymore. Each attempt to creating a dataset will lead to a HTTP 
> response code 500 with message 'java.nio.file.FileSystemException: 
> /var/lib/fuseki/templates/config-tdb: Too many open files'. Also, keeping the 
> files open leads (I suspect) to a higher memory usage than strictly needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)