Am 17.04.2009 um 02:09 schrieb DM Smith:

There have been some problems with the server lately.

I think, but am not sure, that tomcat is having problems. I'm not very up on tomcat, so take what follows with a grain of salt.

For those with server access and appropriate permissions, tomcat logs have a wealth of info and can be found at:
/opt/tomcat/logs

In catalina.out the following error is repeated frequently:
java.io.FileNotFoundException: /opt/tomcat/webapps/gobible/WEB-INF/ classes/trans_null.properties (Permission denied)
This is followed by a java stack trace.

There also was a "Permission denied" for swordweb.
I've seen that those files, in fact all webapps are owned by a user not "tomcat". Although they have the read flag for "other" the owner is not tomcat nor is tomcat in the users's group.
Maybe for some reason tomcat need write rights.


The only other errors I see in that file are related to the Bible Tool, where the process tries to attach to a running process (throwing an exception) and then starts another process because of the failure.

Other than that this log indicates a heavy usage of the forums.

In catalina2009-04-16.log
There are a lot of problems opening jar files. Doing a spot check indicates that the jars are fine. But looking a bit closer in the log, each one of these is followed by a stack trace indicating "Too many files open"

Musing out loud: It appears that some of the more common jar files are repeated for each webapp. Should they be put in a common area? (I don't know enough to know.)

I'm also wondering whether the BibleTool holds too many open file descriptors? (I have no idea, but JSword had that problem.)

The number of open file descriptors is a tunable kernel parameter, so maybe it can be adjusted upward?

Anyway, this is probably more heat than light.


In Him,
        DM

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to