URN Logo
UNIX Resources » BSD » FreeBSD » FreeBSD China » 初学指南 » 86 » [求助]Squid xcalloc 問題?
announcement 声明: 本页内容为FreeBSD China的内容镜像,文章的版权以及其他所有的相关权利属于FreeBSD China和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
freebsdchina.org
  中文文档计划
  Chinese Ports 讨论
  初学指南
  技术交流
  设备驱动
  WEB服务
  Proxy服务
  JAVA平台
  软件发布
  休闲话题
  静语轩
  系统编程
  脚本编程
  内核开发技术
  网络安全
  mail系统
  X-Win系统
  信息交流
  历史-文化-设计-实现
  安装-配置-优化-安全
  中文-桌面-开发-调试
   
[求助]Squid xcalloc 問題?
Subject: [求助]Squid xcalloc 問題?
Author: sendxpg    Posted: 2005-02-22 10:48:27    Length: 1372 byte(s)
[Original] [Print] [Top]
OS: FreeBSD 5.3-RELEASE-p5
Squid ver: squid 2.5.8
squid Cache space: 2GB
squid memory used: 256M
HW mem: 1 G

常常在 /var/log/messages中出現以下訊息:
代码:

Feb 18 11:01:27 proxy (squid): xmalloc: Unable to allocate 330 bytes!
Feb 18 11:01:27 proxy squid[541]: Squid Parent: child process 557 exited with status 1
Feb 18 11:01:30 proxy squid[541]: Squid Parent: child process 65290 started
Feb 21 12:23:44 proxy kernel: arp: 10.225.20.122 moved from 00:11:85:e4:cd:f1 to 00:a0:c9:78:1b:76 on bge0
Feb 21 13:08:11 proxy (squid): xcalloc: Unable to allocate 1 blocks of 4104 bytes!
Feb 21 13:08:11 proxy squid[541]: Squid Parent: child process 65290 exited with status 1
Feb 21 13:08:14 proxy squid[541]: Squid Parent: child process 34471 started

出現 xcalloc訊息後, squid就重新啟動了, 查了一下google, 似乎和ulimite有關, 但仍不知道在freebsd中如何去解決, 想請各位前輩們幫幫忙, 在此先謝了....
[Original] [Print] [Top]
Subject: (空)
Author: sendxpg    Posted: 2005-02-22 14:20:00    Length: 1383 byte(s)
[Original] [Print] [Top]
OS: FreeBSD 5.3-RELEASE-p5
Squid ver: squid 2.5.8
squid Cache space: 2GB
squid memory used: 256M
HW mem: 1 G

常常在 /var/log/messages中出现以下讯息:

代码:

Feb 18 11:01:27 proxy (squid): xmalloc: Unable to allocate 330 bytes!
Feb 18 11:01:27 proxy squid[541]: Squid Parent: child process 557 exited with status 1
Feb 18 11:01:30 proxy squid[541]: Squid Parent: child process 65290 started
Feb 21 12:23:44 proxy kernel: arp: 10.225.20.122 moved from 00:11:85:e4:cd:f1 to 00:a0:c9:78:1b:76 on bge0
Feb 21 13:08:11 proxy (squid): xcalloc: Unable to allocate 1 blocks of 4104 bytes!
Feb 21 13:08:11 proxy squid[541]: Squid Parent: child process 65290 exited with status 1
Feb 21 13:08:14 proxy squid[541]: Squid Parent: child process 34471 started

出现 xcalloc讯息后, squid就重新启动了, 查了一下google, 似乎和ulimite有关, 但仍不知道在freebsd中如何去解决, 想请各位前辈们帮帮忙, 在此先谢了....
[Original] [Print] [Top]
Subject: (空)
Author: sendxpg    Posted: 2005-02-23 14:00:21    Length: 61 byte(s)
[Original] [Print] [Top]
似乎沒有前輩碰到相同的問題, 怎麼辦呢?
難道要換成Linux嗎?
[Original] [Print] [Top]
« Previous thread
请问FreeBSD如何修改bash的提示符?
初学指南
86
Next thread »
一台PIII的服务器,装5.3最高负载可以多大?
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
备案序号: 京ICP备05006143    webmaster: webmaster@unixresources.net
This page created on 2007-07-26 13:31:47, cost 0.014548063278198 ms.