免费注册 查看新帖 |

Chinaunix

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

死机和lo: Disabled Privacy Extensions和__ratelimit: 1 callbacks suppressed的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-07 18:49 |只看该作者 |倒序浏览
死机和lo: Disabled Privacy Extensions和__ratelimit: 1 callbacks suppressed的问题

服务器上线3天左右,ubuntu9.10,i386版本,升技848主板,CD2.4,512M,GF4显卡,SATA硬盘.
用的desktop版,但是kernel加了text参数启动,没用图形界面.apt安装了apache,php5,vsftpd,ssh,另外手动安装了mysql
启动了iptables的NAT功能
目前提供NAT,Web服务,流量很小,应该说负荷轻
昨天晚上死了一次机,今天凌晨4点竟然也死了一次.
我现在观察message,倒看不出记录,但是看到这两天很多这样的记录
Nov 5 01:42:48 myserver kernel: [17319.564270] lo: Disabled Privacy Extensions
Nov 5 01:43:23 myserver kernel: [17355.172586] lo: Disabled Privacy Extensions
Nov 5 01:43:44 myserver kernel: [17375.848898] lo: Disabled Privacy Extensions
Nov 5 01:44:25 myserver kernel: [17417.163133] lo: Disabled Privacy Extensions
Nov 5 01:44:51 myserver kernel: [17443.121835] lo: Disabled Privacy Extensions
Nov 5 01:45:16 myserver kernel: [17468.068938] lo: Disabled Privacy Extensions
Nov 5 01:47:04 myserver kernel: [17575.807276] __ratelimit: 4 callbacks suppressed
Nov 5 01:47:07 myserver kernel: [17578.302488] lo: Disabled Privacy Extensions
Nov 5 01:47:10 myserver kernel: [17582.089439] __ratelimit: 12 callbacks suppressed
Nov 5 01:47:18 myserver kernel: [17589.637043] __ratelimit: 7 callbacks suppressed
Nov 5 01:47:26 myserver kernel: [17597.780862] __ratelimit: 1 callbacks suppressed
Nov 5 01:47:32 myserver kernel: [17603.718881] __ratelimit: 3 callbacks suppressed
Nov 5 01:47:38 myserver kernel: [17609.909408] __ratelimit: 6 callbacks suppressed
Nov 5 01:47:41 myserver kernel: [17613.145323] lo: Disabled Privacy Extensions
Nov 5 01:47:45 myserver kernel: [17616.213991] __ratelimit: 4 callbacks suppressed


找遍google,似乎也没人说得清为什么,我把lsmod和top发上来大家看看

my@myserver:~$ lsmod
Module Size Used by
xt_tcpudp 2780 17
xt_limit 2176 1
ipt_MASQUERADE 2204 1
iptable_nat 5500 1
nf_nat_ftp 2652 0
nf_nat 17808 3 ipt_MASQUERADE,iptable_nat,nf_nat_ftp
nf_conntrack_ipv4 13352 3 iptable_nat,nf_nat
nf_defrag_ipv4 1756 1 nf_conntrack_ipv4
nf_conntrack_ftp 6880 1 nf_nat_ftp
nf_conntrack 67608 6 ipt_MASQUERADE,iptable_nat,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
binfmt_misc 8356 1
snd_intel8x0 30168 0
snd_ac97_codec 101216 1 snd_intel8x0
ac97_bus 1532 1 snd_ac97_codec
snd_pcm_oss 37920 0
snd_mixer_oss 16028 1 snd_pcm_oss
snd_pcm 75296 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 2656 0
snd_seq_oss 28576 0
snd_seq_midi 6432 0
snd_rawmidi 22208 1 snd_seq_midi
snd_seq_midi_event 6940 2 snd_seq_oss,snd_seq_midi
snd_seq 50224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 22276 2 snd_pcm,snd_seq
snd_seq_device 6920 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
iptable_filter 3100 1
ip_tables 11692 2 iptable_nat,iptable_filter
x_tables 16544 5 xt_tcpudp,xt_limit,ipt_MASQUERADE,iptable_nat,ip_tables
lp 8964 0
snd 59204 10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ppdev 6688 0
parport_pc 31940 1
psmouse 56180 0
soundcore 7264 1 snd
parport 35340 3 lp,ppdev,parport_pc
serio_raw 5280 0
shpchp 32272 0
snd_page_alloc 9156 2 snd_intel8x0,snd_pcm
8139too 22620 0
8139cp 19260 0
mii 5212 2 8139too,8139cp
floppy 54916 0
intel_agp 27484 1
agpgart 34988 1 intel_agp

my@myserver:~$ top

top - 10:02:28 up 4:35, 2 users, load average: 0.00, 0.00, 0.00
Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7%us, 0.0%sy, 0.0%ni, 99.0%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st

Mem: 509256k total, 415972k used, 93284k free, 75448k buffers
Swap: 3903752k total, 0k used, 3903752k free, 226692k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2647 my 20 0 2336 1148 884 R 0.7 0.2 0:00.05 top
1638 www-data 20 0 39304 8820 3952 S 0.3 1.7 0:01.76 apache2
1 root 20 0 3288 1480 1116 S 0.0 0.3 0:01.12 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
6 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
7 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 cpuset
8 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
9 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 netns
10 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 async/mgr
11 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0
12 root 15 -5 0 0 0 S 0.0 0.0 0:00.03 kblockd/0
13 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
14 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
15 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpi_hotplug
16 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
17 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux
18 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksuspend_usbd
19 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
20 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 kseriod
21 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kmmcd
22 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 bluetooth
23 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khungtaskd
24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
25 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
26 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kswapd0
27 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
28 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ecryptfs-kthrea
29 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 crypto/0
33 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
34 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
36 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kstriped


我分析了这几天的日志,发觉,只有最初装系统时没有lo: Disabled Privacy Extensions的提示,正式上线后都有.
那正式上线有原来有什么不同呢?我想了想,只有一点不同,就是外网的网卡IP变了,NAT脚本中原来是指定了新外网IP,也就是说原来NAT没真正起作用,尽管用iptables -n -L -t nat也能看到..
但是,iptables的模块不应该会出错吧?
my@myserver:~$ ifconfig
eth0 Link encap:以太网 硬件地址 00:50:8d:73:ba:48
inet 地址:218.6.200.5 广播:125.64.48.255 掩码:255.255.255.0
inet6 地址: fe80::250:8dff:fe73:ba48/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:11420814 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:9719705 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:458391682 (458.3 MB) 发送字节:2525834553 (2.5 GB)
中断:18 基本地址:0xa000

eth3 Link encap:以太网 硬件地址 00:0a:eb:66:97:98
inet 地址:192.168.0.1 广播:192.168.0.255 掩码:255.255.255.0
inet6 地址: fe80::20a:ebff:fe66:9798/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:9663920 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:11279548 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:2514128405 (2.5 GB) 发送字节:445738759 (445.7 MB)
中断:21 基本地址:0xa400

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 跃点数:1
接收数据包:4293 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:4293 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:818708 (818.7 KB) 发送字节:818708 (818.7 KB)

不过,死机并不一定是上面的问题...
今天早上,这种提示就很少,
Nov 5 05:26:54 myserver kernel: [ 8.634026] EXT4-fs: mballoc enabled
Nov 5 05:26:54 myserver kernel: [ 8.634057] EXT4-fs (sda9): mounted filesystem with ordered data mode
Nov 5 05:26:55 myserver kernel: [ 10.844327] __ratelimit: 3 callbacks suppressed
Nov 5 05:26:55 myserver kernel: [ 10.844333] type=1505 audit(1257370015.623:12): operation="profile_replace" pid=1233 name=/usr/share/gdm/guest-session/Xsession
Nov 5 05:26:55 myserver kernel: [ 10.847430] type=1505 audit(1257370015.623:13): operation="profile_replace" pid=1234 name=/sbin/dhclient3
Nov 5 05:26:55 myserver kernel: [ 10.856989] type=1505 audit(1257370015.635:14): operation="profile_replace" pid=1234 name=/usr/lib/NetworkManager/nm-dhcp-client.action
Nov 5 05:26:55 myserver kernel: [ 10.857495] type=1505 audit(1257370015.635:15): operation="profile_replace" pid=1234 name=/usr/lib/connman/scripts/dhclient-script
Nov 5 05:26:55 myserver kernel: [ 10.867350] type=1505 audit(1257370015.643:16): operation="profile_replace" pid=1237 name=/usr/bin/evince
Nov 5 05:26:55 myserver kernel: [ 10.897758] type=1505 audit(1257370015.675:17): operation="profile_replace" pid=1237 name=/usr/bin/evince-previewer
Nov 5 05:26:55 myserver kernel: [ 10.906418] type=1505 audit(1257370015.683:1: operation="profile_replace" pid=1237 name=/usr/bin/evince-thumbnailer
Nov 5 05:26:55 myserver kernel: [ 10.934651] type=1505 audit(1257370015.711:19): operation="profile_replace" pid=1244 name=/usr/lib/cups/backend/cups-pdf
Nov 5 05:26:55 myserver kernel: [ 10.935853] type=1505 audit(1257370015.711:20): operation="profile_replace" pid=1244 name=/usr/sbin/cupsd
Nov 5 05:26:55 myserver kernel: [ 10.955202] type=1505 audit(1257370015.731:21): operation="profile_replace" pid=1245 name=/usr/sbin/tcpdump
Nov 5 05:26:59 myserver kernel: [ 14.961066] nf_conntrack version 0.5.0 (8191 buckets, 32764 max)
Nov 5 05:26:59 myserver kernel: [ 14.961344] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
Nov 5 05:26:59 myserver kernel: [ 14.961349] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
Nov 5 05:26:59 myserver kernel: [ 14.961352] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Nov 5 07:44:49 myserver rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="923" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 5 08:23:14 myserver kernel: [10590.160275] lo: Disabled Privacy Extensions
Nov 5 08:23:53 myserver kernel: [10628.970531] lo: Disabled Privacy Extensions
Nov 5 09:59:37 myserver kernel: [16372.977327] lo: Disabled Privacy Extensions
Nov 5 09:59:38 myserver kernel: [16373.365851] lo: Disabled Privacy Extensions
Nov 5 10:03:05 myserver kernel: [16580.545769] lo: Disabled Privacy Extensions
Nov 5 10:03:05 myserver kernel: [16580.934296] lo: Disabled Privacy Extensions
Nov 5 10:05:02 myserver kernel: [16697.899188] lo: Disabled Privacy Extensions
Nov 5 10:05:03 myserver kernel: [16698.289214] lo: Disabled Privacy Extensions
Nov 5 10:08:35 myserver kernel: [16910.993108] lo: Disabled Privacy Extensions
Nov 5 10:08:36 myserver kernel: [16911.381703] lo: Disabled Privacy Extensions
Nov 5 10:08:51 myserver kernel: [16926.654371] lo: Disabled Privacy Extensions
Nov 5 10:08:51 myserver kernel: [16927.042785] lo: Disabled Privacy Extensions
Nov 5 10:09:10 myserver kernel: [16946.137257] lo: Disabled Privacy Extensions
Nov 5 10:09:11 myserver kernel: [16946.525427] lo: Disabled Privacy Extensions
Nov 5 10:09:20 myserver kernel: [16955.244728] lo: Disabled Privacy Extensions
Nov 5 10:09:20 myserver kernel: [16955.632732] lo: Disabled Privacy Extensions
Nov 5 10:13:40 myserver kernel: [17215.352503] lo: Disabled Privacy Extensions
Nov 5 10:13:40 myserver kernel: [17215.743937] lo: Disabled Privacy Extensions

论坛徽章:
0
2 [报告]
发表于 2013-04-13 15:32 |只看该作者
我也遇到这样的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP