1.resin的error.log
- [INFO ] 2012-03-24 23:17:14,968 258359931 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getXmlFilePath(AdvertisementAction.java:125)]
- method:filePath : /opt/touchCms/uploadfiles/xml/2012/3/24/advert/advert_bbfec745-46d2-40ea-8f64-8c6aec5472e7.xml
- [INFO ] 2012-03-24 23:17:14,969 258359932 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getAllOnLineAdvert(AdvertisementAction.java:102)]
- method:响应已上线广告信息请求时出现异常!/opt/touchCms/uploadfiles/xml/2012/3/24/advert/advert_bbfec745-46d2-40ea-8f64-8c6aec5472e7.xml (Too many open files)
- [INFO ] 2012-03-24 23:17:15,636 258360599 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getAllOnLineAdvert(AdvertisementAction.java:77)]
- method:Ip:114.83.116.197,请求上线广告信息!!!
- [INFO ] 2012-03-24 23:17:15,642 258360605 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getAllOnLineAdvert(AdvertisementAction.java:83)]
- method:本次已查到已上线广告息5条!!!
- [ERROR] 2012-03-24 23:17:15,643 258360606 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
- 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
- [ERROR] 2012-03-24 23:17:15,644 258360607 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
- 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
- [ERROR] 2012-03-24 23:17:15,645 258360608 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
- 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
- [ERROR] 2012-03-24 23:17:15,646 258360609 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
- 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
- [ERROR] 2012-03-24 23:17:15,647 258360610 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
- 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
- [INFO ] 2012-03-24 23:17:15,648 258360611 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getXmlFilePath(AdvertisementAction.java:125)]
- method:filePath : /opt/touchCms/uploadfiles/xml/2012/3/24/advert/advert_7971b630-51f8-4045-a301-032f1593ae3e.xml
- [INFO ] 2012-03-24 23:17:15,649 258360612 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getAllOnLineAdvert(AdvertisementAction.java:102)]
- method:响应已上线广告信息请求时出现异常!/opt/touchCms/uploadfiles/xml/2012/3/24/advert/advert_7971b630-51f8-4045-a301-032f1593ae3e.xml (Too many open files)
- [INFO ] 2012-03-24 23:17:18,159 258363122 [org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:815)]
- method:Closing org.springframework.web.context.support.XmlWebApplicationContext@1d4d493: display name [Root WebApplicationContext]; startup date [Wed Mar 21
- 23:31:15 CST 2012]; root of context hierarchy
- [INFO ] 2012-03-24 23:17:18,160 258363123 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
- [INFO ] 2012-03-24 23:17:18,161 258363124 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED paused.
- [INFO ] 2012-03-24 23:17:18,161 258363124 [org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons
- (DefaultSingletonBeanRegistry.java:421)] method:Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1a4ea4f:
- defining beans
- [abstrateBaseDao,eBookDao,eBookColumnDao,eBookChapterDao,eBookService,aebookstatDao,audioBookDao,audioBookColumnDao,audioBookChapterDao,audioBookService,tiao
- PianService,tiaoPianingService,tiaoPianedService,tiaoPianFailedService,trancodeInfoDao,baseDao,adminDao,adminService,adminlogDao,adminlogService,purviewDao,p
- urviewService,adminPurviewDao,adminPurviewService,rootclassDao,rootclassService,classDao,classService,movpropertyDao,movpropertyService,picinfoDao,picinfoSer
- vice,propertyDao,propertyService,spDao,spService,moviesDao,moviesService,moviesstreamDao,moviesstreamService,moviesIptvDao,moviesIptvService,systemDao,system
- Service,contentUploadDao,contentUploadService,channelDao,channelService,scheduleDao,scheduleService,systemInterfaceurlDao,systemInterfaceurlService,templateD
- ao,templateService,moviestreamMediaidDao,moviestreamMediaidService,ttypeDao,ttypeService,moviesTypeDao,moviesTypeService,informSytemDao,informSytemService,mo
- viesInformDao,moviesInformService,moviesFtpfileurlDao,moviesFtpfileurlService,mobileClassDao,mobileClassService,spInterfaceDao,spInterfaceService,playinfoint
- erfaceDao,playinfointerfaceService,SystmovstreaminformDao,SystmovstreaminformService,moviesstreamchangeDao,moviesstreamchangeService,moviesonlineDao,movieson
- lineService,inserthdcontnetDao,inserthdcontnetService,countryareaDao,countryareaService,spcapatityDao,spcapatityService,capacityareaDao,capacityareaService,e
- xecuteMovies,moviesstreamCountDao,moviesstreamCountService,roleDao,roleService,rolePurviewDao,rolePurviewService,integralDao,integralService,integralPartDao,
- integralPartService,excelImport,excelImport2,excelImport3,excelImport4,noticehuaweiDao,noticehuaweiService,monitoringSystemDao,monitoringSystemService,baseIn
- foSycDao,baseInfoSycService,scanResultsDao,scanResultsService,moviesFtpInfoService,adminSpDao,adminSpService,auditlogs,auditlogsService,advertisementDao,adve
- rtisementService,interfaceInfoDao,interfaceInfoService,countAllByTypeDao,countAllByTypeService,eBookDWRAction,audioBookAddAction,notiaopianPurview,tiaopianin
- gPurview,tiaopianedPurview,tiaopianFailedPurview,adminPurview,adminAction,adminlogAction,adminlogPurview,purviewAction,purviewPurview,adminPurviewAction,admi
- nPurviewPurview,rootClassAction,rootClassPurview,classAction,classPurview,movpropertyAction,movpropertyPurview,picinfoAction,picinfoPurview,propertyAction,pr
- opertyPurview,spAction,spPurview,mergeAuditAction,mergeAuditPurview,sppaizhaoPurview,systemAction,systemPurview,moviesAction,moviesAddManagerPurview,moviesNo
- tAuditManagerPurview,moviesAuditManagerPurview,moviesAudit3ManagerPurview,moviesManagerPurview,contentUploadAction,contentUploadPurview,channelAction,channel
- Purview,scheduleAction,schedulePurview,systemInterfaceurlAction,systemInterfaceurlPurview,templateAction,templatePurview,moviestreamMediaidAction,moviestream
- MediaidPurview,moviesstreamAction,moviesStreamNotAuditManagerPurview,newspMoviesStreamNoAuditMobileManagerPurview,moviesStreamNoAuditMobileManagerPurview,mov
- iesStreamOneAuditMobileManagerPurview,moviesStreamAuditErrorMobileManagerPurview,moviesStreamWaitOnlineMobileManagerPurview,moviesStreamOnlineMobileManagerPu
- rview,moviesStreamOfflineMobileManagerPurview,moviesStreamNoAuditWebManagerPurview,moviesStreamOneAuditWebManagerPurview,moviesStreamMobileHuaweiReturnErrMan
- agerPurview,moviesStreamCopyrightexpiredRemindedManagerPurview,moviesStreamCopyrightexpiredOfflineManagerPurview,typeAction,typePurview,moviesTypeAction,movi
- esTypePurview,utilAction,utilPurview,mobileClassAction,mobileClassPurview,informSystemAction,informSystemPurview,spInterfaceAction,spInterfacePurview,playinf
- ointerfaceAction,playinfointerfacePurview,countryareaAction,countryareaPurview,spcapatityAction,spcapatityPurview,xmlParseUtil,huaweiSystem,roleAction,rolePu
- rview,integralAction,integralPartAction,scanResultsSpringAction,conversionUtil,moviesSeriesManagerAction,moviesSeriesManagerPurview,moviesstreamSeriesAction,
- moviesStreamSeriesNotAuditManagerPurview,moviesStreamPublishSeriesPurview,auditlogsAction,advertisementAction,eBookAction,audiaBookAction,moviesStrutsSpringA
- ction,moviesWebSpringAction,moviesIptvStrutsSpringAction,moviesAuditStrutsSpringAction,moviesShowInfoStrutsSpringAction,moviesShowInfoWebSpringAction,moviesS
- treamSpringAction1,moviesStreamSpringAction2,moviesStreamSpringAction3,moviesStreamWebSpringAction,moviesStreamSpringAction4,movies3pOnlineStrutsAction,movie
- sStreamAuditStrutsSpringAction,moviesStreamShowInfoSpringAction,moviesStreamShowInfoMobileSpringAction,moviesStreamShowInfoWebSpringAction,moviesStreamPlayTe
- stSpringAction,interfaceNotifyWebAction,excelImportSaveStrutsAction,channelShowInfoStrutsSpringAction,excelImportSaveStrutsAction2,excelImportSaveStrutsActio
- n3,excelImportSaveStrutsAction4,moviesSeriesAction,moviesStreamSeriesSpringAction,moviesSeriesShowInfoActionSpring,moviesStreamSeriesShowInfoMobileAction,imp
- ortSheetAction,advertStrutsAction,advertAction,jdbcBaseDao,systemJdbcDao,moviesStreamJdbcDao,moviesStreamJdbcService,noticeMobileMoviesAction,noticeMobileMov
- iesSeriesAction,changeMoviesCodeAction,downLoadFileAction,parseHuaWeiXml,executeMoviesOnlineAction,huDongSystemInsertMoviesContent,parseWebXmlActionV2,conten
- tUpLoadNotifyAction,noticeWebMoviesStreamAction,noticeWebMoviesStreamJobAction,csRequestIptvService,noticeMobileChannelAction,batchMobileOnLineAction,noticeH
- uaweiOnlineAction,noticeHuaweiOnlineBean,jobDetailBean,executeMoviesOnlineActionJobBean,NoticeWebMoviesStreamJobBean,simpleTriggerbean,NoticeWebMoviesStreamT
- riggerbean,executeMoviesOnlineActionTriggerbean,contentUplodJobAction,contentUplodTriggerbean,org.springframework.scheduling.quartz.SchedulerFactoryBean#0,me
- diaUploadService,scheduleUploadService,mediaUploadQuartz,mediaUploadSimpleTrigger,schedulUploadQuartz,schedulUploadSimpleTrigger,org.springframework.scheduli
- ng.quartz.SchedulerFactoryBean#1,xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBinding
- Provider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,contentMNGNotifyServiceImpl,contentMNGNotify,a
- booknotifyImpl,abooknotify,ebooknotifyImpl,ebooknotify,contentSycServiceImpl,contentSycService,org.springframework.web.servlet.handler.SimpleUrlHandlerMappin
- g#0,webService,dataSource,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommon
- AnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnota
- tionProcessor,sessionFactory,transactionManager,hibernateTemplate,jdbcTemplate,JdbctransactionManager,org.springframework.aop.config.internalAutoProxyCreator
- ,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.s
- pringframework.transaction.config.internalTransactionAdvisor]; root of factory hierarchy
- [INFO ] 2012-03-24 23:17:18,182 258363145 [org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:728)]
- method:Shutting down Quartz Scheduler
- [INFO ] 2012-03-24 23:17:18,182 258363145 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:542)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED shutting down.
- [INFO ] 2012-03-24 23:17:18,183 258363146 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED paused.
- [INFO ] 2012-03-24 23:17:18,183 258363146 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:592)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED shutdown complete.
- [INFO ] 2012-03-24 23:17:18,186 258363149 [org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:728)]
- method:Shutting down Quartz Scheduler
- [INFO ] 2012-03-24 23:17:18,186 258363149 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:542)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
- [INFO ] 2012-03-24 23:17:18,187 258363150 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
- [INFO ] 2012-03-24 23:17:18,187 258363150 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:592)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
- [INFO ] 2012-03-24 23:17:18,225 258363188 [org.springframework.orm.hibernate3.AbstractSessionFactoryBean.destroy(AbstractSessionFactoryBean.java:246)]
- method:Closing Hibernate SessionFactory
- [INFO ] 2012-03-24 23:17:18,226 258363189 [org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:769)] method:closing
2.resin的最后stdout.log
- ----------------------------------------------------------------------------------
- [INFO ] 2012-03-24 23:17:18,182 258363145 [org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:728)]
- method:Shutting down Quartz Scheduler
- [INFO ] 2012-03-24 23:17:18,182 258363145 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:542)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED shutting down.
- [INFO ] 2012-03-24 23:17:18,183 258363146 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED paused.
- [INFO ] 2012-03-24 23:17:18,183 258363146 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:592)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED shutdown complete.
- [INFO ] 2012-03-24 23:17:18,186 258363149 [org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:728)]
- method:Shutting down Quartz Scheduler
- [INFO ] 2012-03-24 23:17:18,186 258363149 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:542)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
- [INFO ] 2012-03-24 23:17:18,187 258363150 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
- [INFO ] 2012-03-24 23:17:18,187 258363150 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:592)] method:Scheduler
- org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
- [INFO ] 2012-03-24 23:17:18,225 258363188 [org.springframework.orm.hibernate3.AbstractSessionFactoryBean.destroy(AbstractSessionFactoryBean.java:246)]
- method:Closing Hibernate SessionFactory
- [INFO ] 2012-03-24 23:17:18,226 258363189 [org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:769)] method:closing
3.系统上的检查
[yangkai@CMS1 touchCms]$ file /opt/touchCms/WEB-INF/info.properties
/opt/touchCms/WEB-INF/info.properties: ASCII text, with very long lines
[yangkai@CMS1 touchCms]$ wc -l /opt/touchCms/WEB-INF/info.properties
247 /opt/touchCms/WEB-INF/info.properties
[yangkai@CMS1 touchCms]$
%E6%9F%A5%E7%9C%8BLinux%E6%89%93%E5%BC%80%E6%96%87%E4%BB%B6%E7%9A%84%E6%95%B0%E9%87%8F&rsv_spt=1&issp=1&rsv_bp=0&ie=utf-
8&tn=baiduhome_pg&inputT=7468
[root@CMS1 ~]# lsof |wc -l
7264
[root@CMS1 ~]# ulimit -n
60000
[root@CMS1 ~]# cat /proc/sys/fs/file-max
1512778
[root@CMS1 ~]#
/proc/sys/fs/file-nr
该文件与 file-max 相关,它有三个值:
已分配文件句柄的数目
已使用文件句柄的数目
文件句柄的最大数目
该文件是只读的,仅用于显示信息。
查看所有进程的文件打开数
lsof |wc -l
查看某个进程打开的文件数
lsof -p pid |wc -l
http://hi.baidu.com/lilianshun2008/blog/item/a1d02c10f37e2c0f213f2ed4.html
这两种方法都不适合我,因为我的数值本来就设置很大了,不知道怎么处理,程序打开的文件在会话结束之后没关闭?
阅读(2480) | 评论(0) | 转发(0) |