"http-bio-8888-exec-46" Id=10795 BLOCKED on lucee.runtime.db.DCStack@1c1dfcc1 owned by "http-bio-8888-exec-4" Id=72java.lang.Thread.State: BLOCKEDat lucee.runtime.db.DatasourceConnectionPool.getDatasourceConnection(Unknown Source)- waiting to lock lucee.runtime.db.DCStack@1c1dfcc1 owned by "http-bio-8888-exec-4"at lucee.runtime.db.DatasourceManagerImpl.getConnection(Unknown Source)at lucee.runtime.tag.Query.executeDatasoure(Unknown Source)at lucee.runtime.tag.Query.doEndTag(Unknown Source)
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CA%2BonWPdjXGE9PEtiH%3DnM%2Brp2meDcQBSi4ocgLCuhQWTiO7_UwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG%2BEEBzuV%2Bf8S%3DRKktZng4a0bpLoqppaY46MrtOis8tpM7DmzA%40mail.gmail.com.
# this is read by the standalone daemon and embedded servers[server]# this is only for the mysqld standalone daemon[mysqld]datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sockuser=mysqlgroup=mysql# Disabling symbolic-links is recommended to prevent assorted security riskssymbolic-links=1max_allowed_packet=16384000group_concat_max_len=1024000query_cache_size=64Mquery_cache_type=1max_connections = 1000open_files_limit = 4096table_cache = 4096
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/26ea7863-1ad1-47e8-a06c-a34886057cde%40googlegroups.com.
Today we had similar problems with PostgreSQL, the error message there was
“FATAL: sorry, too many clients already”
Max_connections in PostgreSQL where 100 (I think this is the default) – and the connections setting for the Lucee datasource was “inf”.
Maybe there is a general problem with the Lucee connection pool and connections are not (always) closed?
-Harry
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CA%2BonWPeT0CD6SVF_X2Vv_amMO9LKe8rm40syqB7Mt86YnFLhkQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/F5A941E045A6FE4288ABB2E3D797146FA73B8235%40SRV-DC1.contens.local.
>> Did you get a stack trace, and did you happen to see how many connections there were to PosgreSQL at the time?
Unfortunately not, we just changed the setting in Lucee to 100
>> I thought it was advisable to set your (Lucee) datasource to connection limit to fewer than your DB's max connections. (If yours was "inf," I think it's understandable that you could have exceeded the DB's limit.)
I am not sure about the ideal setting, but the default for new datasources is „inf“.
-Harry
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CA%2BonWPf0YPWEy6SD6qdSJ_ekwNaBOA_0-bdy_SARoGOoO0Othw%40mail.gmail.com.
What OS are we dealing with?
$ cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 6.6 (Santiago)
How much memory & processes does this system have?
$ vmstat -s1921908 total memory1799316 used memory723252 active memory890520 inactive memory122592 free memory119348 buffer memory1055820 swap cache6160380 total swap36612 used swap6123768 free swap20766847 non-nice user cpu ticks15147 nice user cpu ticks4640865 system cpu ticks2017402669 idle cpu ticks1422096 IO-wait cpu ticks62 IRQ cpu ticks44987 softirq cpu ticks0 stolen cpu ticks90245632 pages paged in177659734 pages paged out105382 pages swapped in70234 pages swapped out790988910 interrupts688331515 CPU context switches1430651201 boot time10478773 forks$ cat /proc/sys/kernel/pid_max32768
plus, could you run this command?show variables like 'max_connections';
'max_connections', '1000'
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/a4ffe7bb-8acb-495f-bc86-acb7477e1e57%40googlegroups.com.
[mysqld]
interactive_timeout=40
wait_timeout=45
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/1185593f-058c-4607-9158-7d3ed72345d4%40googlegroups.com.