亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3777 | 回復(fù): 8
打印 上一主題 下一主題

[FastDFS] OFFLINE為什么離線?錯(cuò)誤在日志在哪里.message里面沒有. [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2009-02-23 21:46 |只看該作者 |倒序?yàn)g覽
fdfs_monitor /etc/storage2.conf
group count: 3

Group 1:
group name = group1
free space = 4 GB
storage server count = 1
active server count = 1
storage_port = 23000
store path count = 1
subdir count per path= 256
current write server index = 1

        Host 1:
                ip_addr = 220.231.13.92  ACTIVE
                total storage = 5GB
                free storage = 4GB
                total_upload_count = 4
                success_upload_count = 4
                total_set_meta_count = 0
                success_set_meta_count = 0
                total_delete_count = 0
                success_delete_count = 0
                total_download_count = 1
                success_download_count = 1
                total_get_meta_count = 0
                success_get_meta_count = 0
                total_create_link_count = 0
                success_create_link_count = 0
                total_delete_link_count = 0
                success_delete_link_count = 0
                last_source_update = 2009-02-23 23:56:27
                last_sync_update = 1970-01-01 08:00:00
                last_synced_timestamp= 1970-01-01 08:00:00

Group 2:
group name = group2
free space = 0 GB
storage server count = 1
active server count = 0
storage_port = 23001
store path count = 1
subdir count per path= 256
current write server index = 0

        Host 1:
                ip_addr = 220.231.13.93  OFFLINE
                total storage = 0GB
                free storage = 0GB
                total_upload_count = 0
                success_upload_count = 0
                total_set_meta_count = 0
                success_set_meta_count = 0
                total_delete_count = 0
                success_delete_count = 0
                total_download_count = 0
                success_download_count = 0
                total_get_meta_count = 0
                success_get_meta_count = 0
                total_create_link_count = 0
                success_create_link_count = 0
                total_delete_link_count = 0
                success_delete_link_count = 0
                last_source_update = 1970-01-01 08:00:00
                last_sync_update = 1970-01-01 08:00:00
                last_synced_timestamp= 1970-01-01 08:00:00

Group 3:
group name = group3
free space = 2 GB
storage server count = 1
active server count = 1
storage_port = 23002
store path count = 1
subdir count per path= 256
current write server index = 1

        Host 1:
                ip_addr = 220.231.13.100  ACTIVE
                total storage = 7GB
                free storage = 2GB
                total_upload_count = 6
                success_upload_count = 6
                total_set_meta_count = 0
                success_set_meta_count = 0
                total_delete_count = 0
                success_delete_count = 0
                total_download_count = 1
                success_download_count = 1
                total_get_meta_count = 0
                success_get_meta_count = 0
                total_create_link_count = 0
                success_create_link_count = 0
                total_delete_link_count = 0
                success_delete_link_count = 0
                last_source_update = 2009-02-23 15:58:38
                last_sync_update = 1970-01-01 08:00:00
                last_synced_timestamp= 1970-01-01 08:00:00





[root@localhost conf]# cat /etc/storage2.conf
disabled=false
group_name=group2
bind_addr=220.231.13.93
port=23001
network_timeout=20
heart_beat_interval=30
stat_report_interval=60
base_path=/home/yuqing/fastdfs2

sync_wait_msec=200

tracker_server=220.231.13.85:22122

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2009-02-23 21:47 |只看該作者
1.可能那臺(tái)的系統(tǒng)是RH9,不支持FastDFS.rhel3 rhel4是正常的.

2.如果是不支持那如何取消它呢?老是以offline顯示畢竟有些不正常.

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
3 [報(bào)告]
發(fā)表于 2009-02-24 09:00 |只看該作者
原帖由 todayhero 于 2009-2-23 21:47 發(fā)表
1.可能那臺(tái)的系統(tǒng)是RH9,不支持FastDFS.rhel3 rhel4是正常的.

2.如果是不支持那如何取消它呢?老是以offline顯示畢竟有些不正常.


存儲(chǔ)服務(wù)器上的日志文件名為:storage.log
日志文件所在目錄:${base_path}/logs,如:/home/yuqing/fastdfs2/logs。你先看一下日志文件,看看能不能確定問題所在。

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2009-02-24 09:08 |只看該作者

回復(fù) #3 happy_fish100 的帖子

RH9的錯(cuò)誤日志.原來做storage不成.后來又做tracker也不成.這個(gè)tracker日志

[root@localhost logs]# cat trackerd.log
[2009-02-23 21:00:07] INFO - FastDFS v1.16, base_path=/home/yuqing/fastdfs, network_timeout=60s, port=22122, bind_addr=220.231.13.93, max_connections=256, store_lookup=0, store_group=, store_server=0, store_path=0, reserved_storage_space=100MB, download_server=0, allow_ip_count=-1, sync_log_buff_interval=10s
[2009-02-23 21:00:07] ERROR - file: ../common/shared_func.c, line: 1526, create thread failed, startup threads: 253, errno: 12, error info: Cannot allocate memory
[2009-02-23 21:09:18] INFO - FastDFS v1.16, base_path=/home/yuqing/fastdfs, network_timeout=60s, port=22122, bind_addr=220.231.13.93, max_connections=256, store_lookup=0, store_group=, store_server=0, store_path=0, reserved_storage_space=100MB, download_server=0, allow_ip_count=-1, sync_log_buff_interval=10s
[2009-02-23 21:09:18] ERROR - file: ../common/shared_func.c, line: 1526, create thread failed, startup threads: 253, errno: 12, error info: Cannot allocate memory

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
5 [報(bào)告]
發(fā)表于 2009-02-24 09:12 |只看該作者
這臺(tái)機(jī)器的內(nèi)存較小吧。也可能是操作系統(tǒng)限制的緣故導(dǎo)致創(chuàng)建線程失敗。修改配置文件,將max_connections改小,比較改為128或200。

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2009-02-24 09:15 |只看該作者

回復(fù) #5 happy_fish100 的帖子

出問題的物理內(nèi)存是1.5G
[root@localhost data]# free -m
             total       used       free     shared    buffers     cached
Mem:          1511       1447         63          0        399        571
-/+ buffers/cache:        476       1034
Swap:         2047         15       2032

其它正常的機(jī)子的內(nèi)存比它小多了.128*3
[root@slave mysql]# free -m
             total       used       free     shared    buffers     cached
Mem:           376        306         69          0        107         59
-/+ buffers/cache:        139        236
Swap:         1027          0       1027

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
7 [報(bào)告]
發(fā)表于 2009-02-24 09:19 |只看該作者

回復(fù) #6 todayhero 的帖子

那就是操作系統(tǒng)的限制了。一個(gè)進(jìn)程創(chuàng)建的線程數(shù),操作系統(tǒng)是有上限的,應(yīng)該和創(chuàng)建的子進(jìn)程數(shù)有直接關(guān)系吧。你要么修改操作系統(tǒng)的相關(guān)參數(shù),要么修改FastDFS的max_connections。

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2009-02-24 09:34 |只看該作者
反正是一臺(tái)RH9.這輩子也很難再主動(dòng)去安裝一臺(tái)RH9了.都落后的東西.沒必須研究那個(gè)舊系統(tǒng).

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2009-03-13 19:04 |只看該作者

回復(fù) #1 todayhero 的帖子

:wink:
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP