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

  免費(fèi)注冊 查看新帖 |

Chinaunix

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

/var/log/messages。希望大家?guī)兔鉀Q下。。已經(jīng)找了很多的原因都沒有攻破。 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2010-12-24 16:40 |只看該作者 |倒序?yàn)g覽
Dec 24 03:04:26 202 kernel: httpd[22665]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 03:05:26 202 kernel: httpd[22662]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 03:07:26 202 kernel: httpd[23017]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 03:11:26 202 kernel: httpd[22993]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 03:19:26 202 kernel: httpd[23333]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 03:35:26 202 kernel: httpd[23018]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 04:07:26 202 kernel: httpd[22924]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:07:46 202 kernel: httpd[24020]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:08:46 202 kernel: httpd[24053]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:10:46 202 kernel: httpd[23387]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:14:46 202 kernel: httpd[23341]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:22:47 202 kernel: httpd[24197]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:38:58 202 kernel: httpd[23357]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:39:57 202 kernel: httpd[24191]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:41:58 202 kernel: httpd[24214]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:45:58 202 kernel: httpd[24245]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:54:19 202 kernel: httpd[24258]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:55:19 202 kernel: httpd[23371]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 05:57:19 202 kernel: httpd[24185]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 06:01:19 202 kernel: httpd[24257]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 06:09:19 202 kernel: httpd[23100]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 06:25:19 202 kernel: httpd[24364]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 06:57:25 202 kernel: httpd[24282]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 07:57:55 202 kernel: httpd[24278]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 07:58:56 202 kernel: httpd[24242]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 08:00:57 202 kernel: httpd[24542]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 08:04:56 202 kernel: httpd[24545]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 08:12:56 202 kernel: httpd[24304]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 08:28:56 202 kernel: httpd[24544]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 09:00:57 202 kernel: httpd[24392]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 10:00:58 202 kernel: httpd[24917]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 10:01:00 202 kernel: httpd[25629]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 10:20:35 202 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Dec 24 10:20:59 202 kernel: Netfilter messages via NETLINK v0.30.
Dec 24 10:20:59 202 kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack
Dec 24 11:00:59 202 kernel: httpd[27212]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 12:01:20 202 kernel: httpd[28623]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 12:02:20 202 kernel: httpd[28522]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 12:04:20 202 kernel: httpd[28564]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 12:08:20 202 kernel: httpd[29014]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 12:16:20 202 kernel: httpd[28742]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 12:32:20 202 kernel: httpd[29666]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 13:04:20 202 kernel: httpd[30508]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 14:04:20 202 kernel: httpd[29425]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 15:04:20 202 kernel: httpd[1789]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 16:04:40 202 kernel: httpd[3220]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 16:05:40 202 kernel: httpd[3463]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 16:07:40 202 kernel: httpd[3512]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 16:11:42 202 kernel: httpd[3517]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 16:19:51 202 kernel: httpd[3821]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 16:20:52 202 kernel: httpd[3522]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 16:22:51 202 kernel: httpd[3834]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6
Dec 24 16:26:52 202 kernel: httpd[3818]: segfault at 00007fffe5422fe8 rip 00002ab9506f737f rsp 00007fffe5422ff0 error 6

論壇徽章:
0
2 [報告]
發(fā)表于 2010-12-24 17:28 |只看該作者
應(yīng)該是程序代碼問題引起的

論壇徽章:
0
3 [報告]
發(fā)表于 2010-12-24 17:53 |只看該作者
你把php程序先關(guān)了嘛

論壇徽章:
0
4 [報告]
發(fā)表于 2010-12-24 18:02 |只看該作者
這種信息一般都是由內(nèi)存訪問越界造成的,不管是用戶態(tài)程序還是內(nèi)核態(tài)程序訪問越界都會出core, 并在系統(tǒng)日志里面輸出一條這樣的信息。這條信息的前面分別是訪問越界的程序名,進(jìn)程ID號,訪問越界的地址以及當(dāng)時進(jìn)程堆棧地址等信息,比較有用的信息是 最后的error number.
在上面的例子中,error number是6, 轉(zhuǎn)成二進(jìn)制就是110, 即bit2=1, bit1=1, bit0=0, 按照上面的解釋,我們可以得出這條信息是由于用戶態(tài)程序讀操作訪問越界造成的。
error number是由三個字位組成的,從高到底分別為bit2 bit1和bit0,所以它的取值范圍是0~7.
bit2: 值為1表示是用戶態(tài)程序內(nèi)存訪問越界,值為0表示是內(nèi)核態(tài)程序內(nèi)存訪問越界
bit1: 值為1表示是寫操作導(dǎo)致內(nèi)存訪問越界,值為0表示是讀操作導(dǎo)致內(nèi)存訪問越界
bit0: 值為1表示沒有足夠的權(quán)限訪問非法地址的內(nèi)容,值為0表示訪問的非法地址根本沒有對應(yīng)的頁面,也就是無效地址
根據(jù)segfault信息調(diào)試定位程序bug:
#include<stdio.h>int main(){        int *p;        *p=12;        return 1;}
1. gcc testseg.c -o testseg -g,運(yùn)行./testseg查看dmesg信息如下:
testseg[26063]: segfault at 0000000000000000 rip 0000000000400470 rsp 0000007fbffff8a0 error 6
2. 運(yùn)行addr2line -e testseg 0000000000400470,輸出如下:
/home/xxx/xxx/c/testseg.c:5 [...]

***********************

內(nèi)存不足不會引起段錯誤。段錯誤通常出現(xiàn)在訪問了非法的地址后,非法地址分為3類:
1. 訪問的地址沒有對應(yīng)的物理內(nèi)存。這類錯誤主要出現(xiàn)在越界訪問,例如棧越界。比如說當(dāng)前進(jìn)程的棧只有5個頁和它對應(yīng),共20k大小(x86平臺),你訪問的地址超過了這個范圍,就會發(fā)生segmentation fault。

2.對地址的操作與該地址的屬性不符合。例如該地址對應(yīng)的內(nèi)存是只讀的,如文本段,你卻試圖進(jìn)行寫操作。

3.低權(quán)限訪問高權(quán)限地址。這類情況發(fā)生在用戶進(jìn)程試圖訪問內(nèi)核空間。例如x86中,TASK_SIZE以上的地址為內(nèi)核空間,當(dāng)用戶態(tài)進(jìn)程試圖訪問這些地址時,segmentation fault。********************

論壇徽章:
0
5 [報告]
發(fā)表于 2010-12-24 18:05 |只看該作者
把iptable 關(guān)了。

論壇徽章:
0
6 [報告]
發(fā)表于 2010-12-24 18:11 |只看該作者
1.) Segfault = segmentation fault = the application is trying to access a memory area that belongs to the OS or some other program. The memory management unit in the CPU stops the operation and triggers an exception. The standard segfault exception handler in the kernel kills the program.

As the message is "segfault at 0000000000000000", I'd guess the program probably tried to use an uninitialized pointer, which has a value NULL. It is very likely that your application has a fairly serious bug in it.

The "rip" value is the Instruction Pointer: the program location the CPU was running at the time of the error. It seems it is always exactly the same, so the error is repeatable - that is good.

The "rsp" is the Stack Pointer. Its value seems to vary just a little. If your developer is good, s/he will know whether this is important or not.

2.) Not strange at all. After receiving a segfault, the program cannot continue.

3.) Without having the program source code, this is impossible. Your application developer will have to fix it him/herself.

However, there are some things you can do:

If possible, have your application developer produce a version of the application that includes debug information. If the application is compiled using gcc, this is as simple as adding the "-g" option to the compilation commands.

Before starting the application, run "ulimit -c unlimited". This allows the segfault handler to produce a core dump file when the segfault handler is triggered. This file contains all the memory used by the application, so it might be very big.

Then your application developer needs to run a debugger program on the application and the core file. If the application was compiled with debug information, the debugger can identify exactly on what line of the source code the error happened. The developer can also use the debugger to examine the values of any variables at the time of the error. The debugger has many other features which might be useful too. If your developer does not know how to use a debugger, he/she should definitely learn it.

For Linux, the most common debugger program is named "gdb" and it is available in most Linux distributions. It is usually in the "development tools" category of the distribution's package collection.

論壇徽章:
0
7 [報告]
發(fā)表于 2010-12-24 18:13 |只看該作者
確定是程序的問題, 。。。。 找開發(fā)呀

論壇徽章:
0
8 [報告]
發(fā)表于 2010-12-24 18:15 |只看該作者
ulimit 65535 試試,

論壇徽章:
0
9 [報告]
發(fā)表于 2010-12-24 18:18 |只看該作者
可能你的程序打開太多文件了,估計ulimit 65535有用,

另你這個是不是生產(chǎn)問題阿?,表說是 vmware阿, 最討厭virtual machine了。

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
10 [報告]
發(fā)表于 2010-12-26 12:20 |只看該作者
可能你的程序打開太多文件了,估計ulimit 65535有用,

另你這個是不是生產(chǎn)問題阿?,表說是 vmware阿, ...
owenhappy 發(fā)表于 2010-12-24 18:18



    他給出的信息似乎找不到關(guān)於vm的?不是vm吧?
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(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