Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1640731
  • 博文数量: 409
  • 博客积分: 6240
  • 博客等级: 准将
  • 技术积分: 4908
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-01 00:04
文章分类

全部博文(409)

文章存档

2021年(1)

2019年(1)

2017年(1)

2016年(13)

2015年(22)

2013年(4)

2012年(240)

2011年(127)

分类: LINUX

2012-03-25 10:04:48

1.resin的error.log

点击(此处)折叠或打开

  1. [INFO ] 2012-03-24 23:17:14,968 258359931 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getXmlFilePath(AdvertisementAction.java:125)]
  2. method:filePath : /opt/touchCms/uploadfiles/xml/2012/3/24/advert/advert_bbfec745-46d2-40ea-8f64-8c6aec5472e7.xml
  3. [INFO ] 2012-03-24 23:17:14,969 258359932 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getAllOnLineAdvert(AdvertisementAction.java:102)]
  4. method:响应已上线广告信息请求时出现异常!/opt/touchCms/uploadfiles/xml/2012/3/24/advert/advert_bbfec745-46d2-40ea-8f64-8c6aec5472e7.xml (Too many open files)
  5. [INFO ] 2012-03-24 23:17:15,636 258360599 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getAllOnLineAdvert(AdvertisementAction.java:77)]
  6. method:Ip:114.83.116.197,请求上线广告信息!!!
  7. [INFO ] 2012-03-24 23:17:15,642 258360605 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getAllOnLineAdvert(AdvertisementAction.java:83)]
  8. method:本次已查到已上线广告息5条!!!
  9. [ERROR] 2012-03-24 23:17:15,643 258360606 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
  10. 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
  11. [ERROR] 2012-03-24 23:17:15,644 258360607 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
  12. 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
  13. [ERROR] 2012-03-24 23:17:15,645 258360608 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
  14. 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
  15. [ERROR] 2012-03-24 23:17:15,646 258360609 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
  16. 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
  17. [ERROR] 2012-03-24 23:17:15,647 258360610 [com.ikdy.util.PropertiesUtil.getProperties(PropertiesUtil.java:58)] method:从配置文件中获取属性的值发生错
  18. 误:/opt/touchCms/WEB-INF/info.properties (Too many open files)
  19. [INFO ] 2012-03-24 23:17:15,648 258360611 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getXmlFilePath(AdvertisementAction.java:125)]
  20. method:filePath : /opt/touchCms/uploadfiles/xml/2012/3/24/advert/advert_7971b630-51f8-4045-a301-032f1593ae3e.xml
  21. [INFO ] 2012-03-24 23:17:15,649 258360612 [com.ikdy.shvnet.action.struts2.advert.AdvertisementAction.getAllOnLineAdvert(AdvertisementAction.java:102)]
  22. method:响应已上线广告信息请求时出现异常!/opt/touchCms/uploadfiles/xml/2012/3/24/advert/advert_7971b630-51f8-4045-a301-032f1593ae3e.xml (Too many open files)
  23. [INFO ] 2012-03-24 23:17:18,159 258363122 [org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:815)]
  24. method:Closing org.springframework.web.context.support.XmlWebApplicationContext@1d4d493: display name [Root WebApplicationContext]; startup date [Wed Mar 21
  25. 23:31:15 CST 2012]; root of context hierarchy
  26. [INFO ] 2012-03-24 23:17:18,160 258363123 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
  27. org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
  28. [INFO ] 2012-03-24 23:17:18,161 258363124 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
  29. org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED paused.
  30. [INFO ] 2012-03-24 23:17:18,161 258363124 [org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons
  31. (DefaultSingletonBeanRegistry.java:421)] method:Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1a4ea4f:
  32. defining beans
  33. [abstrateBaseDao,eBookDao,eBookColumnDao,eBookChapterDao,eBookService,aebookstatDao,audioBookDao,audioBookColumnDao,audioBookChapterDao,audioBookService,tiao
  34. PianService,tiaoPianingService,tiaoPianedService,tiaoPianFailedService,trancodeInfoDao,baseDao,adminDao,adminService,adminlogDao,adminlogService,purviewDao,p
  35. urviewService,adminPurviewDao,adminPurviewService,rootclassDao,rootclassService,classDao,classService,movpropertyDao,movpropertyService,picinfoDao,picinfoSer
  36. vice,propertyDao,propertyService,spDao,spService,moviesDao,moviesService,moviesstreamDao,moviesstreamService,moviesIptvDao,moviesIptvService,systemDao,system
  37. Service,contentUploadDao,contentUploadService,channelDao,channelService,scheduleDao,scheduleService,systemInterfaceurlDao,systemInterfaceurlService,templateD
  38. ao,templateService,moviestreamMediaidDao,moviestreamMediaidService,ttypeDao,ttypeService,moviesTypeDao,moviesTypeService,informSytemDao,informSytemService,mo
  39. viesInformDao,moviesInformService,moviesFtpfileurlDao,moviesFtpfileurlService,mobileClassDao,mobileClassService,spInterfaceDao,spInterfaceService,playinfoint
  40. erfaceDao,playinfointerfaceService,SystmovstreaminformDao,SystmovstreaminformService,moviesstreamchangeDao,moviesstreamchangeService,moviesonlineDao,movieson
  41. lineService,inserthdcontnetDao,inserthdcontnetService,countryareaDao,countryareaService,spcapatityDao,spcapatityService,capacityareaDao,capacityareaService,e
  42. xecuteMovies,moviesstreamCountDao,moviesstreamCountService,roleDao,roleService,rolePurviewDao,rolePurviewService,integralDao,integralService,integralPartDao,
  43. integralPartService,excelImport,excelImport2,excelImport3,excelImport4,noticehuaweiDao,noticehuaweiService,monitoringSystemDao,monitoringSystemService,baseIn
  44. foSycDao,baseInfoSycService,scanResultsDao,scanResultsService,moviesFtpInfoService,adminSpDao,adminSpService,auditlogs,auditlogsService,advertisementDao,adve
  45. rtisementService,interfaceInfoDao,interfaceInfoService,countAllByTypeDao,countAllByTypeService,eBookDWRAction,audioBookAddAction,notiaopianPurview,tiaopianin
  46. gPurview,tiaopianedPurview,tiaopianFailedPurview,adminPurview,adminAction,adminlogAction,adminlogPurview,purviewAction,purviewPurview,adminPurviewAction,admi
  47. nPurviewPurview,rootClassAction,rootClassPurview,classAction,classPurview,movpropertyAction,movpropertyPurview,picinfoAction,picinfoPurview,propertyAction,pr
  48. opertyPurview,spAction,spPurview,mergeAuditAction,mergeAuditPurview,sppaizhaoPurview,systemAction,systemPurview,moviesAction,moviesAddManagerPurview,moviesNo
  49. tAuditManagerPurview,moviesAuditManagerPurview,moviesAudit3ManagerPurview,moviesManagerPurview,contentUploadAction,contentUploadPurview,channelAction,channel
  50. Purview,scheduleAction,schedulePurview,systemInterfaceurlAction,systemInterfaceurlPurview,templateAction,templatePurview,moviestreamMediaidAction,moviestream
  51. MediaidPurview,moviesstreamAction,moviesStreamNotAuditManagerPurview,newspMoviesStreamNoAuditMobileManagerPurview,moviesStreamNoAuditMobileManagerPurview,mov
  52. iesStreamOneAuditMobileManagerPurview,moviesStreamAuditErrorMobileManagerPurview,moviesStreamWaitOnlineMobileManagerPurview,moviesStreamOnlineMobileManagerPu
  53. rview,moviesStreamOfflineMobileManagerPurview,moviesStreamNoAuditWebManagerPurview,moviesStreamOneAuditWebManagerPurview,moviesStreamMobileHuaweiReturnErrMan
  54. agerPurview,moviesStreamCopyrightexpiredRemindedManagerPurview,moviesStreamCopyrightexpiredOfflineManagerPurview,typeAction,typePurview,moviesTypeAction,movi
  55. esTypePurview,utilAction,utilPurview,mobileClassAction,mobileClassPurview,informSystemAction,informSystemPurview,spInterfaceAction,spInterfacePurview,playinf
  56. ointerfaceAction,playinfointerfacePurview,countryareaAction,countryareaPurview,spcapatityAction,spcapatityPurview,xmlParseUtil,huaweiSystem,roleAction,rolePu
  57. rview,integralAction,integralPartAction,scanResultsSpringAction,conversionUtil,moviesSeriesManagerAction,moviesSeriesManagerPurview,moviesstreamSeriesAction,
  58. moviesStreamSeriesNotAuditManagerPurview,moviesStreamPublishSeriesPurview,auditlogsAction,advertisementAction,eBookAction,audiaBookAction,moviesStrutsSpringA
  59. ction,moviesWebSpringAction,moviesIptvStrutsSpringAction,moviesAuditStrutsSpringAction,moviesShowInfoStrutsSpringAction,moviesShowInfoWebSpringAction,moviesS
  60. treamSpringAction1,moviesStreamSpringAction2,moviesStreamSpringAction3,moviesStreamWebSpringAction,moviesStreamSpringAction4,movies3pOnlineStrutsAction,movie
  61. sStreamAuditStrutsSpringAction,moviesStreamShowInfoSpringAction,moviesStreamShowInfoMobileSpringAction,moviesStreamShowInfoWebSpringAction,moviesStreamPlayTe
  62. stSpringAction,interfaceNotifyWebAction,excelImportSaveStrutsAction,channelShowInfoStrutsSpringAction,excelImportSaveStrutsAction2,excelImportSaveStrutsActio
  63. n3,excelImportSaveStrutsAction4,moviesSeriesAction,moviesStreamSeriesSpringAction,moviesSeriesShowInfoActionSpring,moviesStreamSeriesShowInfoMobileAction,imp
  64. ortSheetAction,advertStrutsAction,advertAction,jdbcBaseDao,systemJdbcDao,moviesStreamJdbcDao,moviesStreamJdbcService,noticeMobileMoviesAction,noticeMobileMov
  65. iesSeriesAction,changeMoviesCodeAction,downLoadFileAction,parseHuaWeiXml,executeMoviesOnlineAction,huDongSystemInsertMoviesContent,parseWebXmlActionV2,conten
  66. tUpLoadNotifyAction,noticeWebMoviesStreamAction,noticeWebMoviesStreamJobAction,csRequestIptvService,noticeMobileChannelAction,batchMobileOnLineAction,noticeH
  67. uaweiOnlineAction,noticeHuaweiOnlineBean,jobDetailBean,executeMoviesOnlineActionJobBean,NoticeWebMoviesStreamJobBean,simpleTriggerbean,NoticeWebMoviesStreamT
  68. riggerbean,executeMoviesOnlineActionTriggerbean,contentUplodJobAction,contentUplodTriggerbean,org.springframework.scheduling.quartz.SchedulerFactoryBean#0,me
  69. diaUploadService,scheduleUploadService,mediaUploadQuartz,mediaUploadSimpleTrigger,schedulUploadQuartz,schedulUploadSimpleTrigger,org.springframework.scheduli
  70. ng.quartz.SchedulerFactoryBean#1,xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBinding
  71. Provider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,contentMNGNotifyServiceImpl,contentMNGNotify,a
  72. booknotifyImpl,abooknotify,ebooknotifyImpl,ebooknotify,contentSycServiceImpl,contentSycService,org.springframework.web.servlet.handler.SimpleUrlHandlerMappin
  73. g#0,webService,dataSource,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommon
  74. AnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnota
  75. tionProcessor,sessionFactory,transactionManager,hibernateTemplate,jdbcTemplate,JdbctransactionManager,org.springframework.aop.config.internalAutoProxyCreator
  76. ,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.s
  77. pringframework.transaction.config.internalTransactionAdvisor]; root of factory hierarchy
  78. [INFO ] 2012-03-24 23:17:18,182 258363145 [org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:728)]
  79. method:Shutting down Quartz Scheduler
  80. [INFO ] 2012-03-24 23:17:18,182 258363145 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:542)] method:Scheduler
  81. org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED shutting down.
  82. [INFO ] 2012-03-24 23:17:18,183 258363146 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
  83. org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED paused.
  84. [INFO ] 2012-03-24 23:17:18,183 258363146 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:592)] method:Scheduler
  85. org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED shutdown complete.
  86. [INFO ] 2012-03-24 23:17:18,186 258363149 [org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:728)]
  87. method:Shutting down Quartz Scheduler
  88. [INFO ] 2012-03-24 23:17:18,186 258363149 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:542)] method:Scheduler
  89. org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
  90. [INFO ] 2012-03-24 23:17:18,187 258363150 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
  91. org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
  92. [INFO ] 2012-03-24 23:17:18,187 258363150 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:592)] method:Scheduler
  93. org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
  94. [INFO ] 2012-03-24 23:17:18,225 258363188 [org.springframework.orm.hibernate3.AbstractSessionFactoryBean.destroy(AbstractSessionFactoryBean.java:246)]
  95. method:Closing Hibernate SessionFactory
  96. [INFO ] 2012-03-24 23:17:18,226 258363189 [org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:769)] method:closing

2.resin的最后stdout.log

点击(此处)折叠或打开

  1. ----------------------------------------------------------------------------------
  2. [INFO ] 2012-03-24 23:17:18,182 258363145 [org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:728)]
  3. method:Shutting down Quartz Scheduler
  4. [INFO ] 2012-03-24 23:17:18,182 258363145 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:542)] method:Scheduler
  5. org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED shutting down.
  6. [INFO ] 2012-03-24 23:17:18,183 258363146 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
  7. org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED paused.
  8. [INFO ] 2012-03-24 23:17:18,183 258363146 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:592)] method:Scheduler
  9. org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED shutdown complete.
  10. [INFO ] 2012-03-24 23:17:18,186 258363149 [org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:728)]
  11. method:Shutting down Quartz Scheduler
  12. [INFO ] 2012-03-24 23:17:18,186 258363149 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:542)] method:Scheduler
  13. org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
  14. [INFO ] 2012-03-24 23:17:18,187 258363150 [org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:470)] method:Scheduler
  15. org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
  16. [INFO ] 2012-03-24 23:17:18,187 258363150 [org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:592)] method:Scheduler
  17. org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
  18. [INFO ] 2012-03-24 23:17:18,225 258363188 [org.springframework.orm.hibernate3.AbstractSessionFactoryBean.destroy(AbstractSessionFactoryBean.java:246)]
  19. method:Closing Hibernate SessionFactory
  20. [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) |
0

上一篇:数据库迁移

下一篇:RMAN 备份文档

给主人留下些什么吧!~~