tfs-Error Report

Source: Internet
Author: User

Situation Description:

Clients suddenly can't upload pictures

Error message:

01-07 11:23:19,761 [org.springframework.beans.factory.support.defaultlistablebeanfactory]-[debug]  Invoking init method   ' init '  on bean with name  ' Tfsmanager ' 2015-01-07 11:23:19,761 [org.springframework.beans.factory.support.defaultlistablebeanfactory]-[ debug] finished creating instance of bean  ' Tfsmanager ' 2015-01-07  11:23:19,762 [org.springframework.beans.factory.support.defaultlistablebeanfactory]-[debug]  returning cached instance of singleton bean  ' Tfsmanager ' 2015-01-07  11:23:19,763 [com.taobao.common.tfs.impl.gcworker]-[info] gc path directory not  exist: c:\users\admini~1\appdata\local\temp\tfslocalkeydir\gc2015-01-07 11:23:19,764 [ Com.taobao.common.tfs.impl.gcworker]-[info] gc path directory not exist: c:\ Users\admini~1\appdata\local\temp\tfslocalkeydir2015-01-07 11:23:19,764 [com.taobao.common.tfs.impl.cachemetric]-[warn] cache status. hit:  0 miss: 0 remove: 02015-01-07 11:23:19,767 [ com.taobao.common.tfs.impl.clientmanager]-[warn] [ tfs client started  (V2.1.1)  ] 2015-01-07 11:23:19,829 [com.taobao.common.tfs.comm.tfsclient]-[debug] send request [ 1],time is:14206009998292015-01-07 11:23:19,854 [com.taobao.common.tfs.comm.tfsclient]-[debug]  put response [1],time is:14206009998542015-01-07 11:23:19,854 [ Com.taobao.common.tfs.comm.tfsclient]-[debug] return response [1],time is : 14206009998542015-01-07 11:23:19,854 [com.taobao.common.tfs.impl.clientmanager]-[debug] send  packet [1] timeout: 10000, used: 25  (MS) 2015-01-07 11:23:19,856  [Com.taobao.common.tfs.comm.tfsclient]-[debug] send request [2],Time is:14206009998562015-01-07 11:23:19,867 [com.taobao.common.tfs.comm.tfsclient]-[debug]  put response [2],time is:14206009998672015-01-07 11:23:19,867 [ Com.taobao.common.tfs.comm.tfsclient]-[debug] return response [2],time is : 14206009998672015-01-07 11:23:19,867 [com.taobao.common.tfs.impl.clientmanager]-[debug] send  packet [2] timeout: 10000, used: 11  (MS) 2015-01-07 11:23:19,868  [com.taobao.common.tfs.impl.tfssession]-[error] call getblockinfomessage failed:-5001,  error:got error, when get block: 0 mode: 6, result: -5001  information, 221.239.57.154:198322015-01-07 11:23:19,868 [ Com.taobao.common.tfs.defaulttfsmanager]-[error] save fail: 5.jpg=>null,. Jpgcom.taobao.common.tfs.exception.errorstatusexception: receive wrong status message,&nbsP;code:[-5001] from /192.168.1.191:8108,errmsg:got error, when get block: 0  mode: 6, result: -5001 information, 221.239.57.154:19832at  Com.taobao.common.tfs.impl.TfsSession.getBlockInfoEx (tfssession.java:317) at  Com.taobao.common.tfs.impl.TfsSession.getWriteBlockInfo (tfssession.java:267) at  Com.taobao.common.tfs.impl.TfsFile.open (tfsfile.java:205) At com.taobao.common.tfs.impl.tfssmallfile.open ( tfssmallfile.java:59) At com.taobao.common.tfs.defaulttfsmanager.savefileex (DefaultTfsManager.java:1078) at  com.taobao.common.tfs.defaulttfsmanager.savefile (defaulttfsmanager.java:1347) at  Com.taobao.common.tfs.Test.main (test.java:15) null


Start TFS-DS error message:

Too manyopen Files

Workaround:

Vi/etc/security/limits.confroot soft nofile 65536root hard nofile 65536root soft nproc 16384root hard Nproc 1638 4 Turn off the remote connection tool to reconnect

View Limits Size

[[email protected]]# ulimit -acore file size          (blocks, -c)  0data seg size           (kbytes, -d)  unlimitedfile size               (blocks, -f)  unlimitedmax locked memory       (kbytes, -l)  unlimitedmax memory size        ( KBYTES, -M)  unlimitedopen files                      (-N)  65535pipe size            (512 bytes, -p)  8stack size              (kbytes, -s)  8192cpu time               (SECONDS, -T)  unlimitedmax user processes              (-u)  7168virtual memory          (KBYTES, -V)  unlimited


This article is from the "Loyalty" blog, make sure to keep this source http://xinsir.blog.51cto.com/5038915/1600691

tfs-Error Report

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.