亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 17605 | 回復(fù): 12
打印 上一主題 下一主題

[故障求助] AIX的crontab不執(zhí)行. [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-03-02 09:25 |只看該作者 |倒序瀏覽
有一臺P570,AIX5.3 的crontab非常的怪:
需要每周重啟一次機器,要不然所有用戶的cron 任務(wù)就根本不執(zhí)行.
(用戶的環(huán)境變量沒有問題,若reboot后,不做任何修改配置,系統(tǒng)會自動去執(zhí)行cron,但3-5天后,系統(tǒng)又莫明其妙的不執(zhí)行cron了,reboot后,系統(tǒng)又恢復(fù)正常)





查看/var/adm/cron/log 文件,里面報錯信息如下:




# tail log
! 0481-095 The cron job is being rescheduled.
Fri Mar  2 09:22:00 BEIST 2007
! cron: 0481-087 The c queue maximum run limit has been reached.
Fri Mar  2 09:22:00 BEIST 2007
! 0481-095 The cron job is being rescheduled.
Fri Mar  2 09:22:00 BEIST 2007
! cron: 0481-087 The c queue maximum run limit has been reached.
Fri Mar  2 09:22:00 BEIST 2007
! 0481-095 The cron job is being rescheduled.
Fri Mar  2 09:22:00 BEIST 2007
! cron: 0481-087 The c queue maximum run limit has been reached.
Fri Mar  2 09:22:00 BEIST 2007
! 0481-095 The cron job is being rescheduled.
Fri Mar  2 09:22:00 BEIST 2007
! cron: 0481-087 The c queue maximum run limit has been reached.
Fri Mar  2 09:22:00 BEIST 2007
! 0481-095 The cron job is being rescheduled.
Fri Mar  2 09:22:00 BEIST 2007
! cron: 0481-087 The c queue maximum run limit has been reached.
Fri Mar  2 09:22:00 BEIST 2007
! 0481-095 The cron job is being rescheduled.
Fri Mar  2 09:22:00 BEIST 2007

論壇徽章:
0
2 [報告]
發(fā)表于 2007-03-02 09:27 |只看該作者
# ls -l
total 184992
prw-------   1 root     cron              0 Mar 02 09:06 FIFO
-rw-r-----   1 bin      cron              4 Jun 21 2004  at.deny
-rw-r-----   1 bin      cron              3 Jun 21 2004  cron.deny
-rw-rw-r--   1 bin      bin        94652447 Mar 02 09:25 log
-rw-r--r--   1 root     sys            1317 Jun 17 2004  queuedefs
# df -kg
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           4.00      1.42   65%     8940     3% /
/dev/hd2           3.00      2.01   34%    21787     5% /usr
/dev/hd9var        1.12      0.33   71%      350     1% /var
/dev/hd3           3.88      3.79    3%      569     1% /tmp
/dev/hd1          27.88     12.14   57%    24825     1% /home
/proc                 -         -    -         -     -  /proc
/dev/hd10opt       0.12      0.08   38%      819     5% /opt
/dev/fslv00      128.62     31.44   76%    12248     1% /backup



會不會是因為/var 的空間不夠了?

請大家?guī)椭?

論壇徽章:
0
3 [報告]
發(fā)表于 2007-03-02 09:30 |只看該作者
crontab 沒有定時執(zhí)行是因為“! cron: 0481-087 The c queue maximum run limit has been reached.”。
修改/var/adm/cron/queuedefs 文件。在里面加上這樣一句:"c.200j20n60w",然后kill  PID,其中PID為cron進程號,新的cron設(shè)置就會生效。Maximum number of jobs in the queue by default was 50. The errorc messages 0481-087, 0481-095 usually appears when this max. number
is reached. So you can increase the maximum number of jobs in /var/adm/cron/queuedefs , vi the queuedefs file  and change
the b to c and the 50 to 200.   by including this entry"c.200j20n60w"  in the file. After making the changes to the file, killcron and it will respawn again with the new settings.

[ 本帖最后由 jnpiero 于 2007-3-2 09:31 編輯 ]

論壇徽章:
0
4 [報告]
發(fā)表于 2007-03-02 09:34 |只看該作者
#
#
# here is an example of a low prority (nice 20), 50 entry batch queue
# b.50j20n60w
c.1000j2n60w

在queuedefs加以C隊列為1000就可以了.

論壇徽章:
0
5 [報告]
發(fā)表于 2007-03-02 09:49 |只看該作者
謝謝 jnpiero

論壇徽章:
0
6 [報告]
發(fā)表于 2007-03-02 09:55 |只看該作者
厲害  看報錯確實達到最大值了

論壇徽章:
0
7 [報告]
發(fā)表于 2007-03-02 14:08 |只看該作者
強!!!

論壇徽章:
0
8 [報告]
發(fā)表于 2007-03-02 15:43 |只看該作者

論壇徽章:
0
9 [報告]
發(fā)表于 2007-03-05 14:06 |只看該作者
謝謝,學(xué)習(xí)了. 能講講
c.1000j2n60w   這什么含義? 特別是j2n60w

論壇徽章:
0
10 [報告]
發(fā)表于 2008-04-11 13:14 |只看該作者
直接看queuedefs文件,里面講得很清楚了
# cron values for each queue of batch jobs:
#
#       queue.xxjxxnxxw
#
# queues:
#  a - sh jobs          d - sync event
#  b - batch jobs       e - ksh jobs
#  c - cron event       f - csh jobs
#
#  xxj - maximum number of jobs in this queue (deafult 100)
#  xxn - nice value at which these jobs will run at (default 2)
#  xxw - wait time till next execution attempt (default 60 seconds)
#
#
# here is an example of a low prority (nice 20), 50 entry batch queue
# b.50j20n60w
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP