On Jun 10, 2009, at 2:30 PM, Jayson wrote:

On Wed, 2009-06-10 at 13:45 +0200, Grégory Joseph wrote:
Hi Jayson,

Thanks for all the details:) The log file could probably help. I'm
suspecting you're running into the issue described by this comment:
  
http://jira.magnolia-cms.com/browse/MAGNOLIA-818?focusedCommentId=15182&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_15182
(ie the version of derby is fine, but you're hitting the max nr of
open files)

Can you verify this ? To be on the safe side:
* stop Tomcat
* delete /home/jayson/magnolia/tomcat/webapps/magnoliaPublic/
repositories
* apply the suggested changes to your system
* restart Tomcat

hth,

-g

Thanks Grégory,

I did sudo sysctl -a | sort | more and saw fs.file-max = 48954

Log file attached.

What i suspected:
Caused by: java.sql.SQLException: Java exception: '/home/jayson/ magnolia/tomcat/webapps/magnoliaPublic/repositories/magnolia/ workspaces/config/db/seg0/c2a1.dat (Too many open files): java.io.FileNotFoundException'.

Derby's a sucker for open files - at least the version we use currently, not sure about newer ones. It seems to me this value differs from one system to another, so it's difficult to be sure where/ when this happens. Could set it to a (much) higher value ? Let me know if it helps.

-g


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to