[ 
https://issues.apache.org/jira/browse/MARMOTTA-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722298#comment-13722298
 ] 

Sebastian Schaffert commented on MARMOTTA-278:
----------------------------------------------

Is PostgreSQL configured for performance? Even on large databases the garbage 
collector should not need much more than 1 minute to run. The garbage 
collection currently puts the system into a kind of "maintenance mode", which 
is what you probably experience as a "denial of service". In reality, it is a 
blocking wait until the database becomes available again.

I agree that the garbage collector should be run more intelligently, i.e. only 
run when it is needed or at least only enter maintenance mode when really 
updating something. For the moment we could turn automatic garbage collection 
off, there is anyways a manual trigger available that can be called via a web 
service.
                
> GC causes DoS
> -------------
>
>                 Key: MARMOTTA-278
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-278
>             Project: Marmotta
>          Issue Type: Bug
>          Components: Platform, Triple Store
>    Affects Versions: 3.0-incubating, 3.1-incubating
>            Reporter: Sergio Fernández
>            Assignee: Sebastian Schaffert
>            Priority: Critical
>             Fix For: 3.1-incubating
>
>
> I've notice than on extensive long time imports, the launching of the garbage 
> collector produces a denial-of-service: all web services produced a timeout. 
> I'd try to provide more detail. But resources limitation could not be a 
> cause, the machine is quite powerful (4 dual cores with 8 gb of ram).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to