免费注册 查看新帖 |

Chinaunix

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

[SCO UNIX] 请教系统错误信息,急!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-03-24 09:50 |只看该作者 |倒序浏览

系统闲置出现错误提示:
Sep  8 21:09:23 dongfeng WARNING: table_grow - exec data table page limit of 25
pages (MAXEXECARGS) exceeded by 1 page
请问是什么原因,如何解决,谢谢!!!

论坛徽章:
0
2 [报告]
发表于 2003-03-24 11:32 |只看该作者

请教系统错误信息,急!!!

调整 /etc/conf/pack.d/kernal/space.c

Look for:

if BULLSEYE
  don't touch this one  maxexecargs
else
unsigned int maxexecargs = <something * 1024>;;

set to 200 or other number.

Relink the kernal and reboot.


---------------------
or read the following:

I don't remember my exact words from back then, but I know what I meant.

First, I did not mean to imply that there is any part of the shipped
operating system which, by itself, triggers these messages.  As far as I
know, you would have to be running add-on software (including programs
or scripts of your own devising).

Second, if I seemed to say that receiving this message was inevitable,
that was only in reference to some specific situation on *your* machine.

Third, the only *typical* cause that I'm aware of is in the `configure`
scripts for certain source-code software distributions (I don't know
which).  These packages have shell code that attempts to learn how big
the environment is.  They do so by breaking the limit and seeing what
happens.  Here, for example, is some Korn shell code that figures out
the limit:

  #!/bin/ksh
  unset `env | sed 's/=.*//'`
  i=0
  toohigh=2147483647
  for step in 100000 30000 10000 3000 1000 300 100 30 10 3 1; do
    len=$i
    while :; do
      ((i += step))
      [ $i -ge $toohigh ] &amp;&amp; break
      len=$(/bin/echo "$(printf "%${i}.${i}s" test)\c" 2>;/dev/null | wc -c)
      if [ $len -eq $i ]; then
        echo $i: ok
      else
        echo $i: too high
        toohigh=$i
        break
      fi
    done
    ((i -= step))
  done

  echo "Looks like we can cram a maximum of about $i bytes into the environment."

On an OpenServer system with the default configuration (maxexecargs =
100*1024), this comes up with 102375.  It also triggers 9 "WARNING ...
MAXEXECARGS" kernel messages.

Obviously, anything else that tries to jam too much into the environment
will trigger the same message.  On most systems, for instance,

  ls -l `find / -type f -print`

will generate a message, since the total length of the system's file
pathnames will be much larger than 100K.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP