[
http://jira.codehaus.org/browse/MRM-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243364#action_243364
]
Denis Schettl commented on MRM-1428:
------------------------------------
I'm using Archiva with the following environment:
Ubuntu 8.04, Sun Java 6 jdk, Tomcat as Frontent, App-Server is Glassfish 3.0.1
I have the same error, but only, if I deploy many files to archiva in a short
time. Observing the process of Archiva (lsof -u archiva | wc -l) I detecting,
that with every deployment the number of open files are increasing. When I stop
deployment and wait some time, the amount of open files are decreasing. When I
start deployment again, the amount of open files are increasing again. After
finsihing my deployment and waiting some time, the amount of open files are
decreasing again until some level. This level is inkreasing over the time.
In my opinion ist this a problem of Archiva (and not Apache) with some
post-deployment-processings. I you restart Apache this takes some time and
archiva can do some processing and the amount of open files have time to
decrease.
My workarouds for this problems are:
1) Inkrease the number of open files for this process.
2) Have anytime some CPU- and IO-buffer-reserves on your archiva computer.
Never run archiva on a computer with high load.
3) Restart the archiva-process every week via job to reduce the amount of open
files.
I hope I can help you with this informations.
> After some time running fails to handle any request --- returns 500
> --------------------------------------------------------------------
>
> Key: MRM-1428
> URL: http://jira.codehaus.org/browse/MRM-1428
> Project: Archiva
> Issue Type: Bug
> Components: Users/Security
> Affects Versions: 1.3.1
> Environment: ubuntu server 10.04; tomcat6 installed from package;
> Reporter: Jacek Bzdak
>
> I have no idea whether its a redback or archiva issue.
> I'll be happy do debug it. Just tell me what do you need.
> javax.servlet.ServletException:
> org.codehaus.plexus.redback.users.UserManagerException: Unable to get object
> 'org.codehaus.plexus.redback.users.jdo.JdoUser', id 'guest', fetch-group
> 'null' from jdo store.
>
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
>
> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
>
> org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
>
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> root cause
> org.codehaus.plexus.redback.users.UserManagerException: Unable to get object
> 'org.codehaus.plexus.redback.users.jdo.JdoUser', id 'guest', fetch-group
> 'null' from jdo store.
>
> org.codehaus.plexus.redback.users.jdo.JdoUserManager.getObjectById(JdoUserManager.java:417)
>
> org.codehaus.plexus.redback.users.jdo.JdoUserManager.findUser(JdoUserManager.java:339)
>
> org.codehaus.plexus.redback.users.AbstractUserManager.getGuestUser(AbstractUserManager.java:114)
>
> org.codehaus.plexus.redback.users.cached.CachedUserManager.getGuestUser(CachedUserManager.java:148)
>
> org.codehaus.plexus.redback.users.cached.CachedUserManager.findUser(CachedUserManager.java:122)
>
> org.codehaus.plexus.redback.users.configurable.ConfigurableUserManager.findUser(ConfigurableUserManager.java:115)
>
> org.apache.maven.archiva.security.DefaultUserRepositories.createSession(DefaultUserRepositories.java:118)
>
> org.apache.maven.archiva.security.DefaultUserRepositories.getAccessibleRepositoryIds(DefaultUserRepositories.java:84)
>
> org.apache.maven.archiva.security.DefaultUserRepositories.getObservableRepositoryIds(DefaultUserRepositories.java:70)
>
> org.apache.maven.archiva.web.action.SearchAction.getObservableRepos(SearchAction.java:402)
>
> org.apache.maven.archiva.web.action.SearchAction.prepare(SearchAction.java:153)
>
> com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:118)
>
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>
> org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>
> com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>
> com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>
> org.codehaus.plexus.redback.struts2.interceptor.AutoLoginInterceptor.intercept(AutoLoginInterceptor.java:167)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>
> org.codehaus.plexus.redback.struts2.interceptor.ForceAdminUserInterceptor.intercept(ForceAdminUserInterceptor.java:77)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>
> org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)
>
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)
>
> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
>
> org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
>
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira