Thanks for the reply Deepak!

It's using the default (derby). Has this been recognized as a bug by the magnolia team? Or narrowed down berween Magnolia and Derby.

What databases are supported besides derby? Is there anything out there documenting it? I'm more familiar with MySQL, but I don't know if it's a requirement of Magnolia to run in-memory or something like that.

I'll scan the archives for clues.

Thanks,

Jose

----- Original Message ----- From: "Deepak Mittal" <[email protected]>
To: <[email protected]>
Sent: Wednesday, September 27, 2006 10:56 PM
Subject: Re: [magnolia-user] Too many open files


Hi Jose,

Which rdbms are you using?

We had this problem with our application (the tomcat server dying after
few days) when we were using the default database "derby". After we
switched to postgres database, we didn't face this problem anymore.

Please refer to some of the previous posts regarding this to get more
details on this issue.

Regards,

-Deepak Mittal
http://www.XebiaIndia.com



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 28, 2006 8:49 AM
To: [email protected]
Subject: [magnolia-user] Too many open files

I'm running 3.0-b1 and I'm seeing Too many open files errors pop up. I
believe they only start popping up after activating a couple of pages.
After
that jboss (the app server I'm using) keeps throwing those errors since
he
opens files to check for stuff. The site functions, but after a while it

can't open images and stuff like that and it just causes the log file to
get
huge.

Anyone seen this error before? Is it a known issue?

Running JBoss 4.0.4 (which has Tomcat 5.5 inside) on Linux (Fedora Core
5)
jdk1.4.2_12

Here are some stack traces for reference, but it really could happen on
any
place opening files:

2006-09-27 15:11:18,138 WARN  [org.apache.jk.common.ChannelSocket]
Exception
executing accept
java.net.SocketException: Too many open files
       at java.net.PlainSocketImpl.socketAccept(Native Method)
       at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
       at java.net.ServerSocket.implAccept(ServerSocket.java:448)
       at java.net.ServerSocket.accept(ServerSocket.java:419)
       at
org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:293)
       at
org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:
647)
       at
org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.ja
va:857)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
       at java.lang.Thread.run(Thread.java:534)



2006-09-27 21:46:32,076 INFO  [STDOUT] ERROR
org.apache.jackrabbit.core.query.lucene.IndexMerger
IndexMerger.java(run:301) 27.09.2006 21:46:32  Error while merging
indexes:
java.io.FileNotFoundException:
/usr/apps/jboss-4.0.4.GA/server/default/deploy/ROOT.war/repositories/mag
nolia/workspaces/website/index/_3g/_0.prx
(Too many open files)
2006-09-27 21:46:32,805 ERROR [STDERR] java.lang.NullPointerException
2006-09-27 21:46:32,805 ERROR [STDERR]  at
org.apache.lucene.store.FSDirectory.create(FSDirectory.java:141)
2006-09-27 21:46:32,805 ERROR [STDERR]  at
org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:128)
2006-09-27 21:46:32,805 ERROR [STDERR]  at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:102)
2006-09-27 21:46:32,805 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.FSDirectory.getDirectory(FSDirec
tory.java:95)
2006-09-27 21:46:32,805 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.PersistentIndex.<init>(Persisten
tIndex.java:74)
2006-09-27 21:46:32,805 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.MultiIndex.getOrCreateIndex(Mult
iIndex.java:477)
2006-09-27 21:46:32,805 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.MultiIndex$CreateIndex.execute(M
ultiIndex.java:1419)
2006-09-27 21:46:32,805 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIn
dex.java:763)
2006-09-27 21:46:32,806 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.MultiIndex.commitVolatileIndex(M
ultiIndex.java:804)
2006-09-27 21:46:32,806 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java
:683)
2006-09-27 21:46:32,806 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.MultiIndex.checkFlush(MultiIndex
.java:929)
2006-09-27 21:46:32,806 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.MultiIndex.access$000(MultiIndex
.java:72)
2006-09-27 21:46:32,806 ERROR [STDERR]  at
org.apache.jackrabbit.core.query.lucene.MultiIndex$1.run(MultiIndex.java
:283)
2006-09-27 21:46:32,806 ERROR [STDERR]  at
java.util.TimerThread.mainLoop(Timer.java:432)
2006-09-27 21:46:32,806 ERROR [STDERR]  at
java.util.TimerThread.run(Timer.java:382)
2006-09-27 21:46:35,377 WARN
[org.jboss.deployment.scanner.URLDeploymentScanner] Scan URL, caught
java.io.IOException: Could not list directory
'/usr/apps/jboss-4.0.4.GA/server/default/deploy', reason unknown
2006-09-27 21:46:40,380 WARN
[org.jboss.deployment.scanner.URLDeploymentScanner] Scan URL, caught
java.io.IOException: Could not list directory
'/usr/apps/jboss-4.0.4.GA/server/default/deploy', reason unknown


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to