buat yang mau caching video kaya youtube dll dengan squid
monggo dimanfaatkan juragan...
kalo mentok call aja hehehe![]()
Last edited by mattnux; 22-12-2009 at 00:22.
iya udah lama berhasil bos... tapi yang belum nyoba bisa juga sebagai referensi tuh.
tentu saja boleh dicoba...
jangan lupa pake yang latest.
mayan koq.
kalo gw salah satu senengnya, ga perlu hunting koleksi bokep jauh2x...
cukup cari di cache nya. penuh sendiri hehe.
kalo dah penuh cachenya tinggal jual hehe
kalo mentingin stabilitas kerja proxy agak riskan.. di saya suka ga stabil.
ok deh bro.silahken.
Saya pake semenjak 6 april lalu, sejauh ini asik asik aje ga ada tingkah aneh. performance proxy juga tetep ok
besar video yg sudah ke cache sejauh ini:Code:HTTP/1.0 200 OK Server: squid/2.6.STABLE22 Date: Mon, 25 May 2009 14:56:21 GMT Content-Type: text/plain Expires: Mon, 25 May 2009 14:56:21 GMT Last-Modified: Mon, 25 May 2009 14:56:21 GMT X-Cache: MISS from proxy.local.net X-Cache-Lookup: MISS from proxy.local.net:3128 Via: 1.0 proxy.local.net:3128 (squid/2.6.STABLE22) Proxy-Connection: close Squid Object Cache: Version 2.6.STABLE22 Start Time: Sat, 23 May 2009 02:07:47 GMT Current Time: Mon, 25 May 2009 14:56:21 GMT Connection information for squid: Number of clients accessing cache: 19 Number of HTTP requests received: 3080229 Number of ICP messages received: 0 Number of ICP messages sent: 0 Number of queued ICP replies: 0 Request failure ratio: 0.00 Average HTTP requests per minute since start: 844.2 Average ICP messages per minute since start: 0.0 Select loop called: 42274236 times, 5.178 ms avg Cache information for squid: Request Hit Ratios: 5min: 33.7%, 60min: 39.3% Byte Hit Ratios: 5min: 47.6%, 60min: 27.2% Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0% Request Disk Hit Ratios: 5min: 60.2%, 60min: 41.5% Storage Swap size: 39968436 KB Storage Mem size: 2384 KB Mean Object Size: 25.89 KB Requests given to unlinkd: 0 Median Service Times (seconds) 5 min 60 min: HTTP Requests (All): 0.37825 0.39928 Cache Misses: 0.94847 1.11539 Cache Hits: 0.00678 0.00678 Near Hits: 0.03829 0.44492 Not-Modified Replies: 0.00286 0.00286 DNS Lookups: 0.00779 0.00573 ICP Queries: 0.00000 0.00000 Resource usage for squid: UP Time: 218914.076 seconds CPU Time: 12508.000 seconds CPU Usage: 5.71% CPU Usage, 5 minute avg: 5.65% CPU Usage, 60 minute avg: 7.69% Process Data Segment Size via sbrk(): 245560 KB Maximum Resident Size: 0 KB Page faults with physical i/o: 6 Memory usage for squid via mallinfo(): Total space in arena: 245560 KB Ordinary blocks: 234371 KB 185124 blks Small blocks: 0 KB 0 blks Holding blocks: 12508 KB 8 blks Free Small blocks: 0 KB Free Ordinary blocks: 11188 KB Total in use: 246879 KB 96% Total free: 11188 KB 4% Total size: 258068 KB Memory accounted for: Total accounted: 165945 KB memPoolAlloc calls: 440322971 memPoolFree calls: 436706627 File descriptor usage for squid: Maximum number of file descriptors: 8192 Largest file desc currently in use: 664 Number of file desc currently in use: 570 Files queued for open: 0 Available number of file descriptors: 7622 Reserved number of file descriptors: 100 Store Disk files open: 4 IO loop method: epoll Internal Data Structures: 1543966 StoreEntries 129 StoreEntries with MemObjects 33 Hot Object Cache Items 1543848 on-disk objects
Code:[root@proxy ~]# du -sh /disk2/videocache/ 72G /disk2/videocache/ [root@proxy ~]#mayan lah buat iseng² nontonin hasil streamingnya userCode:[root@proxy videocache]# du -h 4.0K ./google 3.7G ./tmp 4.0K ./vimeo 4.0K ./tvuol 9.5G ./tube8 137M ./wrzuta 369M ./metacafe 52G ./youtube 4.0K ./soapbox 1.6G ./youporn 393M ./dailymotion 4.0G ./redtube 6.7M ./bliptv 4.0K ./xtube 4.0K ./break 72G . [root@proxy videocache]#![]()
Last edited by clovanzo; 25-05-2009 at 23:01.
ini cache di MT... ckup gak kyk gini aja???Code:/ ip web-proxy cache add url=":cgi-bin \\?" action=allow comment="don't cache dynamic http pages" \ disabled=no add url=":\\.flv\$.zip\$.jpg\$.gif\$.bmp\$.tiff\$.png\$.wmv\$.avi\$.rar\$.bin\$\ " action=allow comment="Simpan Cache File" disabled=no add url="http*youtube*get_video*" action=allow comment="Simpan Cache Pages" \ disabled=no![]()
@clovanzo & mattnux : videocache di combine sama adzapper & squidguard,
mungkin masalahnya disitu. squid di dualcore,mem 2 gb saya bisa 100% utilitisasinya.
videocache untuk caching video, adzapper atau squidguard untuk filtering.
nanti kalo ada waktu coba saya troubleshoot lagi.
Last edited by kdebugx86; 26-05-2009 at 17:41.
di test langsung.........thanks gan
There are currently 1 users browsing this thread. (0 members and 1 guests)