[opencms-dev] OpenCMS "sleeps" at night
Markus Daniel
markus.daniel at synyx.de
Fri Dec 3 21:49:46 CET 2004
John Giammarche schrieb:
> Hello everyone.
>
> I'm having the following problem: each morning, when I
> try to access my OpenCMS installation, it doesn't
> answer (nor the administration, nor the published web
> page). This is in my production server, so the problem
> is kind of serious =). The only solution to the
> problem is to restart Tomcat. It then works fine for
> 6, 8 hours, and then it goes down again.
>
> The only strange thing in my setting is that I'm using
> Oracle instead of mySQL (over Linux).
>
> I'm also using dynamic export and hiding
> /opencms/opencms by connecting Tomcat with Apache
> through a vhost.
>
> Here are the complete specs of my system:
>
> CPU: Pentium IV 2.8 Ghz, HT enabled
> RAM: 256 MB
> Swap: 1 GB
> Kernel: 2.4.21-15.0.3.ELsmp
> OpenCMS version: 5.0.1 (Kaitain)
> Oracle version: Oracle9i Release 9.2.0.4.0 -
> Production
> Tomcat version: 4.1.31
> Apache version: 2.0.50
>
Hi John,
I am not sure but maybe you have a problem with databaseconnection which
were opend but not properly closed anymore...
To get ride of this I restart tomcat ervery night, not a good idea but
it helps.
To get more information you can watch the connections between opencms
and oracle.
You can also use the java-service-wrapper
http://wrapper.tanukisoftware.org/doc/english/index.html
this wrapper can react on exceptions from tomcat (e.g.
OutofMemoryException -> tomcat restart)
HTH
Regards,
Markus
More information about the opencms-dev
mailing list