alanslzl / fastdfs

Automatically exported from code.google.com/p/fastdfs
GNU General Public License v3.0
0 stars 0 forks source link

加急~storage文件写入失败~同步报错 #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
5.02版本
做压测的时候两个storage报错

[2014-06-10 11:31:39] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp86619.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 11:31:39] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 101
[2014-06-10 11:31:41] WARNING - file: storage_service.c, line: 5894, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOOvo6EXXKNAAAAAGwvsdY9389930,  my file 
size: 252760 < start offset 252778, need to resync this file!
[2014-06-10 11:31:41] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp86620.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 11:31:41] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 101
[2014-06-10 11:31:42] WARNING - file: storage_service.c, line: 5894, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOOvo6EXXKNAAAAAGwvsdY9389930,  my file 
size: 252760 < start offset 252778, need to resync this file!
[2014-06-10 11:31:42] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp86621.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 11:31:42] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 101
[2014-06-10 11:31:43] WARNING - file: storage_service.c, line: 5894, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOOvo6EXXKNAAAAAGwvsdY9389930,  my file 
size: 252760 < start offset 252778, need to resync this file!
[2014-06-10 11:31:43] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp86622.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 11:31:43] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 115
[2014-06-10 11:31:44] WARNING - file: storage_service.c, line: 5894, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOOvo6EXXKNAAAAAGwvsdY9389930,  my file 
size: 252760 < start offset 252778, need to resync this file!
[2014-06-10 11:31:44] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp86623.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 11:31:44] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 101
[2014-06-10 11:31:45] WARNING - file: storage_service.c, line: 5894, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOOvo6EXXKNAAAAAGwvsdY9389930,  my file 
size: 252760 < start offset 252778, need to resync this file!
[2014-06-10 11:31:45] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp86624.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 11:31:45] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 115

第二个storage

[2014-06-10 11:37:39] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 2 != 0
[2014-06-10 11:37:39] ERROR - file: storage_sync.c, line: 241, sync data to 
storage server 172.1.4.15:23000 fail, errno: 104, error info: Connection reset 
by peer
[2014-06-10 11:37:40] INFO - file: storage_sync.c, line: 2698, successfully 
connect to storage server 172.1.4.15:23000
[2014-06-10 11:37:40] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 2 != 0
[2014-06-10 11:37:40] ERROR - file: storage_sync.c, line: 241, sync data to 
storage server 172.1.4.15:23000 fail, errno: 104, error info: Connection reset 
by peer
[2014-06-10 11:37:41] INFO - file: storage_sync.c, line: 2698, successfully 
connect to storage server 172.1.4.15:23000
[2014-06-10 11:37:41] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 2 != 0
[2014-06-10 11:37:41] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 14 != 0
[2014-06-10 11:37:42] INFO - file: storage_sync.c, line: 2698, successfully 
connect to storage server 172.1.4.15:23000
[2014-06-10 11:37:42] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 2 != 0
[2014-06-10 11:37:42] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 14 != 0
[2014-06-10 11:37:43] INFO - file: storage_sync.c, line: 2698, successfully 
connect to storage server 172.1.4.15:23000
[2014-06-10 11:37:43] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 2 != 0
[2014-06-10 11:37:43] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 14 != 0
[2014-06-10 11:37:44] INFO - file: storage_sync.c, line: 2698, successfully 
connect to storage server 172.1.4.15:23000
[2014-06-10 11:37:44] ERROR - file: tracker_proto.c, line: 48, server: 
172.1.4.15:23000, response status 2 != 0
[2014-06-10 11:37:44] ERROR - file: storage_sync.c, line: 241, sync data to 
storage server 172.1.4.15:23000 fail, errno: 32, error info: Broken pipe
[2014-06-10 11:37:45] INFO - file: storage_sync.c, line: 2698, successfully 
connect to storage server 172.1.4.15:23000

Original issue reported on code.google.com by xcl3...@gmail.com on 10 Jun 2014 at 3:43

GoogleCodeExporter commented 8 years ago
2014-06-10 13:35:21] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 101
[2014-06-10 13:35:22] WARNING - file: storage_service.c, line: 5894, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOOvo6EXXKNAAAAAGwvsdY9389930,  my file 
size: 252760 < start offset 252778, need to resync this file!
[2014-06-10 13:35:22] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp6768.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 13:35:22] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 115
[2014-06-10 13:35:23] WARNING - file: storage_service.c, line: 5894, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOOvo6EXXKNAAAAAGwvsdY9389930,  my file 
size: 252760 < start offset 252778, need to resync this file!
[2014-06-10 13:35:23] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp6769.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 13:35:23] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 109
[2014-06-10 13:35:24] WARNING - file: storage_service.c, line: 5894, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOOvo6EXXKNAAAAAGwvsdY9389930,  my file 
size: 252760 < start offset 252778, need to resync this file!
[2014-06-10 13:35:24] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp6770.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 13:35:24] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: 101

Original comment by xcl3...@gmail.com on 10 Jun 2014 at 5:45

GoogleCodeExporter commented 8 years ago
[2014-06-10 14:55:31] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -8798704908178510621 < 0
[2014-06-10 14:55:32] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11290.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:55:32] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -8166744967953990257 < 0
[2014-06-10 14:55:33] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11291.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:55:33] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -4713047003714052187 < 0
[2014-06-10 14:55:34] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11292.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:55:34] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -5354516363528208227 < 0
[2014-06-10 14:55:35] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11293.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:55:35] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -9187093098777705821 < 0
[2014-06-10 14:55:36] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11294.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:55:36] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -5861182514610783558 < 0
[2014-06-10 14:55:37] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11295.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:55:37] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -4860257488351161712 < 0

[2014-06-10 14:55:16] WARNING - file: storage_service.c, line: 6294, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOO0t-Eax-mAAAAANJEtCU2664550,  my file 
size: 0 != before truncated size: 6, skip!
[2014-06-10 14:55:16] WARNING - file: storage_service.c, line: 6294, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOO0t-Eax-mAAAAANJEtCU2664550,  my file 
size: 0 != before truncated size: 6, skip!
[2014-06-10 14:55:16] WARNING - file: storage_service.c, line: 6294, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOO0t-Eax-mAAAAANJEtCU2664550,  my file 
size: 0 != before truncated size: 6, skip!
[2014-06-10 14:55:17] WARNING - file: storage_service.c, line: 6294, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOO0t-Eax-mAAAAANJEtCU2664550,  my file 
size: 0 != before truncated size: 6, skip!
[2014-06-10 14:55:17] WARNING - file: storage_service.c, line: 6294, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOO0t-Eax-mAAAAANJEtCU2664550,  my file 
size: 0 != before truncated size: 6, skip!
[2014-06-10 14:55:17] WARNING - file: storage_service.c, line: 6294, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOO0t-Eax-mAAAAANJEtCU2664550,  my file 
size: 0 != before truncated size: 6, skip!
[2014-06-10 14:55:17] WARNING - file: storage_service.c, line: 6294, client ip: 
172.1.4.16, file 
/home/yuqing/fastdfs/data/00/00/rAEEEFOO0t-Eax-mAAAAANJEtCU2664550,  my file 
size: 0 != before truncated size: 6, skip!

Original comment by xcl3...@gmail.com on 10 Jun 2014 at 7:00

GoogleCodeExporter commented 8 years ago
[2014-06-10 14:56:58] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -1899227229788510310 < 0
[2014-06-10 14:56:59] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11377.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:56:59] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -8870541388740848145 < 0
[2014-06-10 14:57:00] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11378.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:57:00] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -8094403738453234266 < 0
[2014-06-10 14:57:01] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11379.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:57:01] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -9159335926059788572 < 0
[2014-06-10 14:57:02] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11380.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:57:02] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: -83
[2014-06-10 14:57:03] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11381.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:57:03] ERROR - file: storage_nio.c, line: 364, client ip: 
172.1.4.16, pkg length: -5050299271804382488 < 0
[2014-06-10 14:57:04] ERROR - file: storage_dio.c, line: 462, write to file: 
/home/yuqing/fastdfs/data/.cp11382.tmp fail, fd=24, write_bytes=-262134, errno: 
14, error info: Bad address
[2014-06-10 14:57:04] ERROR - file: storage_service.c, line: 8096, client ip: 
172.1.4.16, unkown cmd: -83

Original comment by xcl3...@gmail.com on 10 Jun 2014 at 7:01

GoogleCodeExporter commented 8 years ago
我也有一样的问题

Original comment by latt...@gmail.com on 6 Aug 2014 at 9:53