歡迎您光臨本站 註冊首頁

squid3運行錯誤 高手幫看看啊

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

squid3運行錯誤 高手幫看看啊

在arm上移植了squid3,

kernel: 2.6.13
squid3-STABLE5

使用 squid -N
出現如下錯誤:

---------------------------------------
The Squid Cache (version 3.0.STABLE5) died.

You've encountered a fatal error in the Squid Cache version 3.0.STABLE5.
If a core file was created (possibly in the swap directory),
please execute 'gdb squid core' or 'dbx squid core', then type 'where',
and report the trace back to squid-bugs@squid-cache.org.

Thanks!
----------------------------------------
log信息如下:

1969/12/31 19:03:19| Starting Squid Cache version 3.0.STABLE5 for arm-unknown-li
1969/12/31 19:03:19| Process ID 411                                             
1969/12/31 19:03:19| With 256 file descriptors available                        
1969/12/31 19:03:19| Performing DNS Tests...                                    
1969/12/31 19:03:19| Successful DNS name lookup tests...                        
1969/12/31 19:03:19| DNS Socket created at 0.0.0.0, port 1024, FD 4            
1969/12/31 19:03:19| Adding nameserver 219.141.140.10 from /etc/resolv.conf     
1969/12/31 19:03:19| Adding nameserver 192.168.0.1 from /etc/resolv.conf        
1969/12/31 19:03:19| Unlinkd pipe opened on FD 9                                
1969/12/31 19:03:20| Swap maxSize 102400 KB, estimated 7876 objects            
1969/12/31 19:03:20| Target number of buckets: 393                              
1969/12/31 19:03:20| Using 8192 Store buckets                                   
1969/12/31 19:03:20| Max Mem  size: 8192 KB                                    
1969/12/31 19:03:20| Max Swap size: 102400 KB                                   
1969/12/31 19:03:20| Rebuilding storage in /home/shiming/3.3.2/squid3/var/cache
1969/12/31 19:03:20| Using Least Load store dir selection                       
1969/12/31 19:03:20| Set Current Directory to /home/shiming/3.3.2/squid3/var/cache
1969/12/31 19:03:20| Loaded Icons.                                             
1969/12/31 19:03:20| Accepting  HTTP connections at 0.0.0.0, port 3128, FD 10.  
1969/12/31 19:03:20| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.      
1969/12/31 19:03:20| HTCP Disabled.                                             
1969/12/31 19:03:20| Ready to serve requests.                                   
FATAL: Received Segment Violation...dying.                                      
1969/12/31 19:03:20| Not currently OK to rewrite swap log.                     
1969/12/31 19:03:20| storeDirWriteCleanLogs: Operation aborted.                 
CPU Usage: 1.120 seconds = 0.325 user + 0.795 sys                              
Maximum Resident Size: 0 KB                                                     
Page faults with physical i/o: 0                                                
Memory usage for squid via mallinfo():                                          
        total space in arena:    2704 KB                                       
        Ordinary blocks:         2697 KB      4 blks                           
        Small blocks:               0 KB      0 blks                           
        Holding blocks:          1048 KB      5 blks                           
        Free Small blocks:          0 KB                                       
        Free Ordinary blocks:       6 KB                                       
        Total in use:            3745 KB 139%                                   
        Total free:                 6 KB 0%  


請大家幫我看看啊@~~
《解決方案》

原帖由 _mystic 於 2008-12-19 12:10 發表 http://bbs.chinaunix.net/images/common/back.gif
在arm上移植了squid3,

kernel: 2.6.13
squid3-STABLE5

使用 squid -N
出現如下錯誤:

---------------------------------------
The Squid Cache (versio ...
That is an "limitation" of the OS used, and not Squid. Some OS:es
refuses to dump core on daemon processes that have changed user id
(started as root, then switched to another user id). Some strict ones
even refuses to dump core if there is no associated terminal.
http://www.squid-cache.org/mail-archive/squid-users/199902/0064.html
《解決方案》

回復 #2 ziggler 的帖子

如果通過重新編譯內核,有解決這個問題的可能嗎?
《解決方案》

最終還是放棄了squid3,該用了tinyproxy代理伺服器,一個小型的。只有7M。已經完全可以勝任,我所要使用的功能。
squid3的要跑起來,許可權是個很大的問題。如果把解決的好,AMR上跑squid3應該沒有問題。
《解決方案》

把這個公網的IP去掉吧
Adding nameserver 219.141.140.10 from /etc/resolv.conf

[火星人 ] squid3運行錯誤 高手幫看看啊已經有654次圍觀

http://coctec.com/docs/service/show-post-25032.html