[ http://jira.magnolia.info/browse/MAGNOLIA-818?page=comments#action_15182 
] 
            
Andriy Shapochka commented on MAGNOLIA-818:
-------------------------------------------

The failure to create a database can also occur due to the too low open file 
limit on some Unix/Linux systems. For instance Ubuntu has this limit set to 
around 200000 open files by default  which turned out to be insufficient. The 
issue can be identified by looking for a 'too many open files'  exception in 
derby.log created in $CATALINA_HOME/bin by default. 

One solution to this issue is to increase the open file limit system-wide:

1) Set fs.file-max = 400000 (or similarly high number) in  /etc/sysctl.conf
2) Apply the changes by executing  sysctl -p

> Buggy bundled derby version
> ---------------------------
>
>                 Key: MAGNOLIA-818
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-818
>             Project: Magnolia
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.1.5
>         Environment: FreeBSD, TomCat 5.5.15, JRE 1.5
>            Reporter: Dave Avent
>         Assigned To: Boris Kraft
>             Fix For: 3.0 RC3
>
>
> The bundled derby.jar file contains a known bug as reported/fixed here:
> http://issues.apache.org/jira/browse/DERBY-1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to