Frequent Crashing
Moderator: moderator
-
- Posts: 132
- Joined: Wed Nov 29, 2006 11:32 pm
- Location: Middle Caicos, Turks and Caicos Islands
- Contact:
Frequent Crashing
I have OpenEMM installed on a CentOS machine. When OpenEMM is working, it's awesome, but it seems to crash every couple days. I have to then log into the machine, stop and start OpenEMM, and then it seems fine again.
It's not always the same error that comes up (I'll have to start posting the errors now.)
Is anyone else having problems with the application being stable? This is an awesome application, it's just I can't quite trust it to be stable yet.
It's not always the same error that comes up (I'll have to start posting the errors now.)
Is anyone else having problems with the application being stable? This is an awesome application, it's just I can't quite trust it to be stable yet.
-
- Posts: 132
- Joined: Wed Nov 29, 2006 11:32 pm
- Location: Middle Caicos, Turks and Caicos Islands
- Contact:
Here's the error I see today ---
Ein Fehler ist aufgetreten
Ursache: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot get a connection, pool exhausted; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
I rebooted it and everything seems fine again.
Ein Fehler ist aufgetreten
Ursache: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot get a connection, pool exhausted; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
I rebooted it and everything seems fine again.
-
- Posts: 132
- Joined: Wed Nov 29, 2006 11:32 pm
- Location: Middle Caicos, Turks and Caicos Islands
- Contact:
Maybe someone should look into...
http://news.yahoo.com/s/pcworld/2006121 ... rld/128129
http://news.yahoo.com/s/pcworld/2006121 ... rld/128129
-
- Posts: 132
- Joined: Wed Nov 29, 2006 11:32 pm
- Location: Middle Caicos, Turks and Caicos Islands
- Contact:
It crashed again, here's the error message ---
Ein Fehler ist aufgetreten
Ursache: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Error: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
Ein Fehler ist aufgetreten
Ursache: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Error: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Hibernate problems
Every once in a while there seems to be a problem with Hibernate under load. We are aware of this problem and are checking the Hibernate configuration right now. We will provide you with either a change of the configuration or revised code in the next release of OpenEMM.
OpenEMM Maintainer
-
- Posts: 132
- Joined: Wed Nov 29, 2006 11:32 pm
- Location: Middle Caicos, Turks and Caicos Islands
- Contact:
Here's the error I got today. The crashing seems to happen when I check the recipient statistics.
Ein Fehler ist aufgetreten
Ursache: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Error: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
Ein Fehler ist aufgetreten
Ursache: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Error: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Cannot get a connection, pool exhausted
The only workaround right now is a periodic restart of OpenEMM - once per day for instance.
We will fix the problem in the next version of OpenEMM.
We will fix the problem in the next version of OpenEMM.
OpenEMM Maintainer
-
- Posts: 1
- Joined: Tue Aug 03, 2010 7:14 pm
- Location: suite no.-20, apartment-5, Near W21st street,Zenia,California-95595
- Contact:
i am seeing this problem at version 6.1, can anyone tell me what do i need to do in order to fix it?
An error occurred
Cause: javax.servlet.ServletException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot get a connection, pool exhausted; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
An error occurred
Cause: javax.servlet.ServletException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot get a connection, pool exhausted; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
Re:
Same here! Are there any suggestions?jihuang wrote:i am seeing this problem at version 6.1, can anyone tell me what do i need to do in order to fix it?
An error occurred
Cause: javax.servlet.ServletException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot get a connection, pool exhausted; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
change wav to mp3
wav to mp3 converter
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Frequent Crashing
Please describe the version you use and the situation that leads to this error message.
OpenEMM Maintainer
-
- Posts: 1
- Joined: Sun Jul 03, 2011 8:58 am
Re: Re:
We are also encountering a similar problem with 6.2.SoBeverly wrote:Same here! Are there any suggestions?jihuang wrote:i am seeing this problem at version 6.1, can anyone tell me what do i need to do in order to fix it?
An error occurred
Cause: javax.servlet.ServletException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot get a connection, pool exhausted; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
change wav to mp3
wav to mp3 converter
OpenEMMVersion: 6.2
System: Ubuntu Server 2.6.38-8-server
While sending out a mailing with ~8k recipients yesterday we noticed that the statistics page was not accessible any more. It just does not stop loading and blocks any other action so the only way to be able to do something else in the interface is to close the tab and relogin.
Also the unsubscribe and change profile links in the mailing lead to the page where Openemm recognizes the klick and should forward the user to the related form. Also no further action here, it just keeps loading and terminates with a timeout.
In our test runs before sending the mailing every function described above was tested and running properly.
On the other hand normal links inside the mailing which are also routed over Openemm seem to work fine.
After 2-3 hours while sending, openemm started crashing. The result is the same error as stated in the previous posts:
After stopping and starting Openemm the mailing continued sending and the interface was accessible again except of statistics and forms. It also continued crashing at about 2-3 hours.Cause: javax.servlet.ServletException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot get a connection, pool exhausted; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
We only send 200 mails per 20 minutes so there should not be any "heavy load" on hibernate i guess.
Probably interesting at this point is the fact that also statistics of previous mailings are also not available any more. They also were fine before sending the mailing.
The mailing is sent now but the problem is still present.
Our next step is to turn up Tomcat's log level as we could not find anything in /home/openemm/var/log or /var/log/tomcat6/catalina.out. But we also wanted to ask here if this error is already known.
Thank you very much
Ps:
Before the error occoured we already sent a mailing to the same recipients a month ago without any problems. What has happend since then is that we once deleted all recipients from the database and reimported them (nearly the same dataset with some minor changes). We also set up Bounce Filters for the mailings.
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Frequent Crashing
OpenEMM was never tested with Tomcat. You should either use Resin (provided with the binary tarball) or switch to OpenEMM 2011 (which does run with Tomcat).
The error message simply indicates that OpenEMM can not access MySQL any longer because the connection pool ran out of connections. See section 5.7 of the OpenEMM Install Guide on how to increase the pool size. And to understand the reason behind you should have a look at the log files.
The error message simply indicates that OpenEMM can not access MySQL any longer because the connection pool ran out of connections. See section 5.7 of the OpenEMM Install Guide on how to increase the pool size. And to understand the reason behind you should have a look at the log files.
OpenEMM Maintainer