免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4008 | 回复: 4
打印 上一主题 下一主题

[proxy] squid3运行错误 高手帮看看啊 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-19 12:10 |只看该作者 |倒序浏览
10可用积分
在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 bugs@squid-cache.org[/email].

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%  



请大家帮我看看啊@~~

论坛徽章:
0
2 [报告]
发表于 2008-12-19 14:45 |只看该作者
原帖由 _mystic 于 2008-12-19 12:10 发表
在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- ... rs/199902/0064.html

论坛徽章:
0
3 [报告]
发表于 2008-12-19 16:17 |只看该作者

回复 #2 ziggler 的帖子

如果通过重新编译内核,有解决这个问题的可能吗?

论坛徽章:
0
4 [报告]
发表于 2008-12-22 14:00 |只看该作者
最终还是放弃了squid3,该用了tinyproxy代理服务器,一个小型的。只有7M。已经完全可以胜任,我所要使用的功能。
squid3的要跑起来,权限是个很大的问题。如果把解决的好,AMR上跑squid3应该没有问题。

论坛徽章:
0
5 [报告]
发表于 2009-01-07 16:18 |只看该作者
把这个公网的IP去掉吧
Adding nameserver 219.141.140.10 from /etc/resolv.conf
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP