프로그램 사용/squid2019. 3. 1. 10:16

결과 코드들에 대해서 좀 더 자세히 나와있는데..

그래도 HIER_DIRECT를 어떻게 할 방법이 없나..


6.7 Squid result codes

The TCP_ codes refer to requests on the HTTP port (usually 3128). The UDP_ codes refer to requests on the ICP port (usually 3130). If ICP logging was disabled using the log_icp_queries option, no ICP replies will be logged.


The following result codes were taken from a Squid-2, compare with the log_tags struct in src/access_log.c:


TCP_HIT

A valid copy of the requested object was in the cache.


TCP_MISS

The requested object was not in the cache.


TCP_IMS_HIT

The client issued an IMS request for an object which was in the cache and fresh.


TCP_SWAPFAIL_MISS

The object was believed to be in the cache, but could not be accessed.


TCP_NEGATIVE_HIT

Request for a negatively cached object, e.g. "404 not found", for which the cache believes to know that it is inaccessible. Also refer to the explainations for negative_ttl in your squid.conf file.


TCP_MEM_HIT

A valid copy of the requested object was in the cache and it was in memory, thus avoiding disk accesses.


TCP_DENIED

Access was denied for this request.


TCP_OFFLINE_HIT

The requested object was retrieved from the cache during offline mode. The offline mode never validates any object, see offline_mode in squid.conf file. 

[링크 : http://www.comfsm.fm/computing/squid/FAQ-6.html#ss6.7]


6.10 Hierarchy Codes

The following hierarchy codes are used with Squid-2:


NONE

For TCP HIT, TCP failures, cachemgr requests and all UDP requests, there is no hierarchy information.


DIRECT

The object was fetched from the origin server. 

[링크 : http://www.comfsm.fm/computing/squid/FAQ-6.html#ss6.10]

'프로그램 사용 > squid' 카테고리의 다른 글

squid hierarchy  (0) 2019.03.14
squid url_rewrite_program  (0) 2019.03.14
squid hier/none direct 관련 설정  (0) 2019.02.27
squid용 인증서 관련 (인증서 변환하기)  (0) 2019.02.25
HSTS-HTTP Strict Transport Security / squid  (0) 2019.02.25
Posted by 구차니
파일방2019. 2. 28. 22:52

2cpu에 문의 해서 얻은 키워드

네트워크 분산 스토리지로, 단일 네임스페이스로 볼륨을 제공한다. 라고 하면 복잡하고

NAS가 여러개 있을때

NFS 등으로 묶으면 디렉토리 단위로 되는데 반해

이걸 쓰면 하나의 단일 볼륨으로 인식을 시킬수 있다고 한다.

[링크 : https://harryp.tistory.com/738]


+

[링크 : https://www.gluster.org/]

[링크 : https://wiki.centos.org/HowTos/GlusterFSonCentOS]

'파일방' 카테고리의 다른 글

hdsentinel  (0) 2019.03.15
무료 웹 위지윅 에디터  (4) 2019.03.08
extplorer  (0) 2019.02.28
pydio 대체할 녀석들..  (0) 2019.02.25
iptable rest api  (0) 2019.02.01
Posted by 구차니
파일방2019. 2. 28. 22:44

pydio 구버전 같은거 찾는데 눈에 잘 안띄네..


[링크 : https://extplorer.net/]

'파일방' 카테고리의 다른 글

무료 웹 위지윅 에디터  (4) 2019.03.08
glusterFS  (0) 2019.02.28
pydio 대체할 녀석들..  (0) 2019.02.25
iptable rest api  (0) 2019.02.01
git sourcetree  (0) 2019.01.30
Posted by 구차니
하드웨어/Storage2019. 2. 28. 20:43

직구 만세를 외칠수 밖에 없는건가!!

와.. 이 가격차이는 너무 사기 아니냐 -_-


24800원

[링크 : http://itempage3.auction.co.kr/DetailView.aspx?itemno=B268590180]


3.98$

[링크 : https://www.ebay.com/...hash=item2ab5c97cbf:g:hCAAAOSw6VRbHeHe:rk:13:pf:0]

'하드웨어 > Storage' 카테고리의 다른 글

시놀로지 로그인 시도 차단하기  (2) 2019.07.30
disk error recovery - TLER(WD)  (0) 2019.03.13
시게이트 SSHD 스펙  (0) 2019.01.16
synology 로그..  (0) 2018.09.18
synology 기분 탓인가.. 늦게 켜지네  (0) 2018.07.27
Posted by 구차니

오늘 보면서 궁금했던 2번이 정말 그래픽 카드 파워인가 궁금했는데 맞긴 하네


16 베이 백플레인 인데.. 꽂히는건 8 베이랑 동일하다?

반대로 생각하면.. 백 플레인이 바뀌지 않으면 현재 시스템에서는 확장이 불가능 하다는 건데..


요건 8 베이 SAS 케이블 위치가 다르단걸 제외하면 2개인건 동일하다.

[링크 : https://topics-cdn.dell.com/pdf/poweredge-r730_owners-manual_en-us.pdf]

'하드웨어 > Server Case & board' 카테고리의 다른 글

서버 (리던던시) 파워  (0) 2019.05.02
idrac 재시작 하기  (0) 2019.03.12
iDRAC 에러 메시지 제거  (0) 2019.02.26
dell cable management  (0) 2019.02.25
idrac update via FTP  (0) 2019.02.14
Posted by 구차니

webalizer를 보다보니..

이 태그는 재생이 끝나면 또 다시 서버에 요청해서 비디오를 다운로드 받아서 또 재생한다.

그냥 브라우저의 캐시에 저장된걸 다시 재생하는 줄 알았는데


트래픽 문제가 있거나 모바일일 경우에는 video loop에 대해서는 고민을 좀 해봐야 할 듯..

[링크 : https://www.w3schools.com/tags/att_video_loop.asp]

'Programming > javascript & HTML' 카테고리의 다른 글

javascript 배열 초기화(벤치마크)  (0) 2019.04.12
js 난독화  (0) 2019.03.14
자바 스크립트 다시 공부 - 이벤트 관련  (0) 2019.02.28
js import babel transpiler  (0) 2019.01.10
js class extend  (0) 2019.01.10
Posted by 구차니

'Programming > javascript & HTML' 카테고리의 다른 글

js 난독화  (0) 2019.03.14
HTML video 태그 loop 와 webalizer hit  (0) 2019.02.28
js import babel transpiler  (0) 2019.01.10
js class extend  (0) 2019.01.10
img vertical-align  (0) 2018.12.28
Posted by 구차니
프로그램 사용/docker2019. 2. 28. 15:51

현재 컨테이너의 상세 정보를 확인하는 용도

(컨테이너에 할당된 볼륨의 경로라던가)


[링크 : https://www.joinc.co.kr/w/man/12/docker/Guide/DataWithContainer]

[링크 : https://docs.docker.com/engine/reference/commandline/inspect/]

[링크 : http://pyrasis.com/book/DockerForTheReallyImpatient/Chapter20/14]

'프로그램 사용 > docker' 카테고리의 다른 글

docker cassandra selinux  (0) 2019.03.20
centos docker compose iptable error  (2) 2019.03.20
docker 복원하기  (2) 2019.02.27
docker 개념 다시 조사..  (0) 2019.02.01
docker 설명..  (0) 2019.02.01
Posted by 구차니
하드웨어/RAID2019. 2. 28. 14:11

심심해서 어떻게 날리면 재미있을까? 라고 고민하다가

켠채로 RAID 볼륨 날리는걸로 결정 ㅋㅋㅋ


두근두근 하면서 눌렀고

초기화 되는 중에 후다닥 콘솔 열어서 명령어 쳐보니

실행이 되다가 어느정도 날아가고 나서는 실행이 되지 않게 된다.

(init이나 shutdown reboot 모두 명령어라 안 먹어서 끌수도 없다 ㅋㅋ)

# dmesg

[112092.188419] megasas:span 0 rowDataSize 2

[112092.188420] megasas:span 0 rowDataSize 2

[112092.188422] megasas:span 0 rowDataSize 2

[178173.500160] XFS (sda1): Unmounting Filesystem

[178173.500621] XFS (sda1): metadata I/O error: block 0x7de89 ("xlog_iodone") error 19 numblks 64

[178173.500627] XFS (sda1): xfs_do_force_shutdown(0x2) called from line 1180 of file fs/xfs/xfs_log.c.  Return address = 0xffffffffa036fb1e

[178173.500637] XFS (sda1): Log I/O Error Detected.  Shutting down filesystem

[178173.500639] XFS (sda1): Please umount the filesystem and rectify the problem(s)

[178173.500667] XFS (sda1): Unable to update superblock counters. Freespace may not be correct on next mount.

[178173.500675] XFS (sda1): xfs_log_force: error -5 returned. 


pwd나 cd는 bash 내장 명령어니까 메모리에 올라가 있어서 작동은 하지만

반대로 생각하면 파일 시스템의 디렉토리 테이블(inode)는 어느정도 메모리에 올려져 있다는 건가?

[root@localhost ~]# dmesg

-bash: /usr/bin/dmesg: Input/output error

[root@localhost ~]# pwd

/root

[root@localhost ~]# cd ..

[root@localhost /]# pwd

/

[root@localhost /]# ll

-bash: /usr/bin/ls: Input/output error 


초기화 되고 나서 보니 이제 모두 Ready~

'하드웨어 > RAID' 카테고리의 다른 글

RAID6 라서 오래 걸리나.. 백그라운드 초기화라 오래 걸리나?  (0) 2019.03.06
raid5 vs raid6 vs raid10  (0) 2019.03.04
PERC foreign RAID import  (0) 2019.02.26
foreign, degraded  (0) 2019.02.25
raid 복구?  (0) 2019.02.25
Posted by 구차니
프로그램 사용/docker2019. 2. 27. 22:20

container의 내용을 저장하고 복구하는 방법


commit 으로 저장하고

save로 파일로 저장하고

load로 파일에서 불러와 복원한다


라는데 db도 되려나?


[링크 : https://blog.naver.com/chandong83/221006388637]

'프로그램 사용 > docker' 카테고리의 다른 글

centos docker compose iptable error  (2) 2019.03.20
docker inspect  (0) 2019.02.28
docker 개념 다시 조사..  (0) 2019.02.01
docker 설명..  (0) 2019.02.01
docker run = create + start  (0) 2019.02.01
Posted by 구차니