0
回答
这种错误是什么引起的kernel: jsvc: page allocation failure. order:2, mode:0x20
滴滴云服务器,限时包月0.9元,为开发者而生>>>   

线上的一台服务器经常会报这种错误,kernel确实看得不是很了解,yum也更更新过系统,重启过机器,后面还是有这个错误,而且很频繁,麻烦各位给下意见或者建议,有处理错误更好,万分感谢。

Jul 31 16:37:16 service407 kernel: jsvc: page allocation failure. order:2, mode:0x20

Jul 31 16:37:16 service407 kernel: Pid: 21128, comm: jsvc Not tainted 2.6.32-358.el6.x86_64 #1
Jul 31 16:37:16 service407 kernel: Call Trace:
Jul 31 16:37:16 service407 kernel: [<ffffffff8112c127>] ? __alloc_pages_nodemask+0x757/0x8d0
Jul 31 16:37:16 service407 kernel: [<ffffffffa01290d5>] ? ipt_do_table+0x295/0x678 [ip_tables]
Jul 31 16:37:16 service407 kernel: [<ffffffff811669d2>] ? kmem_getpages+0x62/0x170
Jul 31 16:37:16 service407 kernel: [<ffffffff811675ea>] ? fallback_alloc+0x1ba/0x270
Jul 31 16:37:16 service407 kernel: [<ffffffff8116703f>] ? cache_grow+0x2cf/0x320
Jul 31 16:37:16 service407 kernel: [<ffffffff81167369>] ? ____cache_alloc_node+0x99/0x160
Jul 31 16:37:16 service407 kernel: [<ffffffff81168530>] ? kmem_cache_alloc_node_trace+0x90/0x200
Jul 31 16:37:16 service407 kernel: [<ffffffff8116874d>] ? __kmalloc_node+0x4d/0x60
Jul 31 16:37:16 service407 kernel: [<ffffffff8143d6ad>] ? __alloc_skb+0x6d/0x190
Jul 31 16:37:16 service407 kernel: [<ffffffff8143e7c6>] ? skb_copy+0x36/0xa0
Jul 31 16:37:16 service407 kernel: [<ffffffffa010b6cc>] ? tg3_start_xmit+0xa8c/0xd50 [tg3]
Jul 31 16:37:16 service407 kernel: [<ffffffff81448ca8>] ? dev_hard_start_xmit+0x308/0x530
Jul 31 16:37:16 service407 kernel: [<ffffffff81466fca>] ? sch_direct_xmit+0x15a/0x1c0
Jul 31 16:37:16 service407 kernel: [<ffffffff8144c9b0>] ? dev_queue_xmit+0x3b0/0x550
Jul 31 16:37:16 service407 kernel: [<ffffffff8148507c>] ? ip_finish_output+0x13c/0x310
Jul 31 16:37:16 service407 kernel: [<ffffffff81485308>] ? ip_output+0xb8/0xc0
Jul 31 16:37:16 service407 kernel: [<ffffffff814845cf>] ? __ip_local_out+0x9f/0xb0
Jul 31 16:37:16 service407 kernel: [<ffffffff81484605>] ? ip_local_out+0x25/0x30
Jul 31 16:37:16 service407 kernel: [<ffffffff81484ae0>] ? ip_queue_xmit+0x190/0x420
Jul 31 16:37:16 service407 kernel: [<ffffffff814997ce>] ? tcp_transmit_skb+0x3fe/0x7b0
Jul 31 16:37:16 service407 kernel: [<ffffffff8149bb8b>] ? tcp_write_xmit+0x1fb/0xa20
Jul 31 16:37:16 service407 kernel: [<ffffffff8149c540>] ? __tcp_push_pending_frames+0x30/0xe0
Jul 31 16:37:16 service407 kernel: [<ffffffff8148bdbe>] ? tcp_push+0x6e/0x90
Jul 31 16:37:16 service407 kernel: [<ffffffff8148cdbc>] ? tcp_sendmsg+0x64c/0xa20
Jul 31 16:37:16 service407 kernel: [<ffffffff814357c3>] ? sock_sendmsg+0x123/0x150
Jul 31 16:37:16 service407 kernel: [<ffffffff81096c80>] ? autoremove_wake_function+0x0/0x40
Jul 31 16:37:16 service407 kernel: [<ffffffff81063340>] ? wake_up_state+0x10/0x20
Jul 31 16:37:16 service407 kernel: [<ffffffff8105e203>] ? perf_event_task_sched_out+0x33/0x80
Jul 31 16:37:16 service407 kernel: [<ffffffff8100b9ce>] ? common_interrupt+0xe/0x13
Jul 31 16:37:16 service407 kernel: [<ffffffff81435ad9>] ? sys_sendto+0x139/0x190
Jul 31 16:37:16 service407 kernel: [<ffffffff8100988e>] ? __switch_to+0x26e/0x320
Jul 31 16:37:16 service407 kernel: [<ffffffff8150d6e0>] ? thread_return+0x4e/0x76e
Jul 31 16:37:16 service407 kernel: [<ffffffff810dc817>] ? audit_syscall_entry+0x1d7/0x200

Jul 31 16:37:16 service407 kernel: [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b

-------------------------------

top - 16:42:34 up 55 days, 19:16,  5 users,  load average: 9.59, 9.43, 9.35
Tasks: 630 total,   2 running, 628 sleeping,   0 stopped,   0 zombie
Cpu(s): 27.0%us,  0.6%sy,  0.0%ni, 71.3%id,  1.0%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  32829400k total, 32538304k used,   291096k free,    28208k buffers
Swap: 33554424k total,  2230668k used, 31323756k free, 10384120k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                      
21024 root       20   0 21.4g  11g 2780 S 617.2 38.2  14800:04 tomcat111 -server -cwd /cache1/analyzer -cp ./:analyzer-1.0.jar:/opt/lib/*
28636 root       20   0 19.1g 5.9g 2076 S 37.6 18.8   8044:29 tomcat222 -server -cwd /cache1/collector -cp ./:collector-1.0.jar:/opt/lib
13362 root       20   0 15436 1288  596 S  3.0  0.0   3226:34 top                                                                           
  274 root      20   0     0    0    0 S  1.0  0.0 180:30.55 [kswapd0]                                                                     
  275 root      20   0     0    0    0 S  0.7  0.0  99:05.25 [kswapd1]                                                                     
23402 root       20   0 16.5g 361m 2152 S  0.7  1.1 307:55.39 sdk-loader -server -cwd /cache1/sdk-loader -cp ./:sdk-loader-1.0.jar:/opt/
 2484 root      20   0 10940  456  304 S  0.3  0.0  13:11.19 irqbalance                                                                    
 3159 root       20   0  225m  24m  680 S  0.3  0.1 212:43.07 tmux -2                                                                       
 3206 root       20   0  183m  10m  732 S  0.3  0.0   1326:41 redis-server                                                                  
 4278 root      20   0     0    0    0 S  0.3  0.0 128:43.74 [flush-8:96]                                                                  
20861 root       20   0 9867m 2.1g 4368 S  0.3  6.7  10:15.20 /usr/java/default/bin/java -Djava.util.logging.config.file=/home/root/portal

--------------------

系统是centos 6.4 final 内核 2.6.32-358.el6.x86_64

# free -m
             total       used       free     shared    buffers     cached
Mem:         32059      31830        229          0         31      10208
-/+ buffers/cache:      21589      10470
Swap:        32767       2190      30576
-------------------------------

# java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
--------------

tomcat版本apache-tomcat-6.0.41

数据库版本是postgresql 9.1.8

----------------

举报
kindofu
发帖于3年前 0回/1K+阅
顶部