You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gilad Moscovitch (JIRA)" <ji...@apache.org> on 2016/12/11 11:21:59 UTC
[jira] [Comment Edited] (SOLR-1953) It may be possible for
temporary files to accumulator until the Solr process is shut down
[ https://issues.apache.org/jira/browse/SOLR-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15739469#comment-15739469 ]
Gilad Moscovitch edited comment on SOLR-1953 at 12/11/16 11:21 AM:
-------------------------------------------------------------------
Hey. Do you think it is somehow related to the next issue (using solr 6.2.1):
An increasing 'slab' memory consumption.
When running `slabtop` we get a 14g under 'dentry' and counting.
was (Author: moscovig):
Hey. Do you think it is somehow related to the next issue:
An increasing 'slab' memory consumption.
When running `slabtop` we get a 14g under 'dentry' and counting.
> It may be possible for temporary files to accumulator until the Solr process is shut down
> -----------------------------------------------------------------------------------------
>
> Key: SOLR-1953
> URL: https://issues.apache.org/jira/browse/SOLR-1953
> Project: Solr
> Issue Type: Bug
> Components: update
> Affects Versions: 1.4.1, 1.5
> Reporter: Karl Wright
> Labels: file_leak, memory_leak
> Attachments: SOLR-1953.patch, SOLR-1953.patch
>
>
> While researching SOLR-1951, the behavior of commons-fileupload in handling multipart form posts came into question. commons-fileupload creates a temporary file for the main content area of such posts, and purportedly has a background thread which cleans up these files. However, Mark Miller discovered that the javadoc in this matter may be incorrect, and that commons-fileupload may in fact just be adding files to the JVM's list of files needing cleanup on exit.
> If so, this will show up in two ways: first, temporary files will accumulate in the java.io.tmpdir area. Second, non-heap memory for the JVM will slowly increase over time (since the file pointers the JVM tracks in this way are not kept in the java heap).
> I will attach a potential fix; however, this ticket should be viewed as a workitem for the need for further research in this area.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org