Java Coldfusion服务器工作正常,但有一个站点只运行了大约两分钟

Java Coldfusion服务器工作正常,但有一个站点只运行了大约两分钟,java,coldfusion,coldfusion-10,Java,Coldfusion,Coldfusion 10,我们将coldfusion 10服务器用于web应用程序。它有许多站点工作正常,但在coldfusion服务器重新启动并显示消息后,突然有一个站点停机 The service is unavailable. Service Temporary Unavailable! The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please

我们将coldfusion 10服务器用于web应用程序。它有许多站点工作正常,但在coldfusion服务器重新启动并显示消息后,突然有一个站点停机

The service is unavailable.
Service Temporary Unavailable!

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.






  Jakarta/ISAPI/isapi_redirector/1.2.32 ()
我已经检查了系统错误日志,在那里发现了以下消息

    2014 8:23:10 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7870cbee]) and a value of type [coldfusion.runtime.RequestInfo] (value [coldfusion.runtime.RequestInfo@41542d45]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
May 23, 2014 8:23:10 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/] created a ThreadLocal with key of type [coldfusion.util.DateUtils$1] (value [coldfusion.util.DateUtils$1@4bc7650c]) and a value of type [java.util.GregorianCalendar] (value [java.util.GregorianCalendar[time=450000000,areFieldsSet=true,areAllFieldsSet=false,lenient=false,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=?,MONTH=?,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=?,DAY_OF_YEAR=?,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=?,MINUTE=?,SECOND=?,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
May 23, 2014 8:23:10 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@17bd3a0a]) and a value of type [coldfusion.sql.DataSrcImpl] (value [coldfusion.sql.DataSrcImpl@7d682e84]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
May 23, 2014 8:23:10 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5fc549f6]) and a value of type [coldfusion.monitor.util.RequestMonitorData] (value [coldfusion.monitor.util.RequestMonitorData@42c61c6e]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

令人惊讶的是,只有一个站点出现故障,其他所有站点都正常工作,代码是否有问题或其他问题?

如果您使用的是Tomcat(和Solr?),那么这些错误似乎就来自于此。您的cold fusion应用程序可能无法正确处理从该服务返回的错误-也许可以查看这些服务的接口,尝试引入一些错误处理,然后从那里开始?

您所面临的问题或多或少是相关的。您需要首先调优jvm(如果日志中有内存不足的痕迹),否则请调优连接器。请参阅或有关更详细的说明,请参阅


希望这能有所帮助。

您需要提供更多详细信息,关于运行的站点数量,连接器是如何创建的,exception.log trace,server.log info我发现站点在较高负载下会变得无响应。IIS似乎在高压力下无法与JRUN连接。当交通量较低时,现场工作正常。同一服务器上的其他站点工作正常。我在IIS中为每个站点使用单独的连接器。我把它改为“全部”,但什么也没发生。现场仍处于正常或更高压力下。