Software :: Analyze Core File Using Pmap And Pstack
Jun 11, 2010I am facing customer issue. Customer has got core file while running the server. Customer had sent core file and details from pstack, pmap and pldd commands.
View 1 RepliesI am facing customer issue. Customer has got core file while running the server. Customer had sent core file and details from pstack, pmap and pldd commands.
View 1 RepliesI need to analyze the squid access log file for the purpose of my research.For that I need to obtain some correlation among time and the web site visited, machine ip and the web site name etc.It's better if I can draw a graph by analyzing the log file . I found some log analyzers but it didnt provide this.I need to obtain some cor-relation from this log file .
View 1 Replies View RelatedGiven the following output:
1) Hex Decimal
080b0fff = 134942719
08048000 = 134512640
Diff = 430079
Why does pmap indicate the size as 420k?
2) What's the purpose of the Offset column when the whole address range is shown?
3) The "rwxpc" column indicates that this segment is readable, executable, private, and the + sign indicates that COW is required.
If there has been 3 forks (ie 1 parent and 3 child processes), and only of these three child processes has attempted to write to the segment, is this enough to cause this + sign to change to a - sign? Or all 3 child processes needs to have attempted to write to the segment, and all 3 has a COW, before the - sign will appear?
4) What does the I/W/A column indicate?
Code:
$ pmap -a
Start End Size Offset rwxpc RWX I/W/A ...
08048000-080b0fff 420k 00000000 r-xp+ (rwx) 1/0/0 ...
I want to generate core dump files from my program when it crashes. Its a pretty big process and has about 10-11 threads in it.I have followed the documentation to enable core dump by setting ulimit to unlimited etc. I quickly tried "A demo program creating a core dump" from the following webpage, which succeeds in Segfault and dumping a core file in the directory that I configured.However, I tried running my original program and caused it to crash. I did this by making calls to kill(), raise() or the same null pointer access as shown in the webpage above. In each case, my program crashed but did not generate a core dump file. Am I missing something?My program is in C++ and my environment is Redhat 9.0 (kernel 2.4.20)
Going through the "Why do I NOT get a core dump?" section on the same webpage as above, I can see two potential problems. One - there are issues with the suid/sgid (bullet # 6). I am not able to change any settings with suid because my system does not contain either /proc/sys/fs/suid_dumpable or /proc/sys/kernel/suid_dumpableTwo, my program has threads in it and the bullet # 8 is the problem.
i am running gigabyte GA-M68M-S2P and AMD sempron 2.7. the problem is when i try to run dual core. it will boot and run for 2mins then it crashes. single core runs perfect.
View 6 Replies View RelatedI need to know what this means and what to do to fix this. code...
View 9 Replies View RelatedI am getting a segmentation fault with a core dump,running a new C program, but the core file size is set to zero ("ulimit -a") so no core file to use with gdb. I tried "ulimit -c unlimited" both as me and as root, but it doesn't change. Still zero..
View 4 Replies View RelatedI have a multi-threaded application using pthreads. On application crash or when signalling with 'kill -s 6' the core file created by the 2.6.18-128 kernel on CentOS 5.3 shows only one single thread. Core file saved with gcore in gdb shows all running threads properly so the problem is clearly in the kernel. I tested CentOS 5.2 (kernel 2.6.28-92) and it works correctly.
what's wrong with CentOS 5.3 kernels?
I just loaded F14 on an old Dell Dimension 3000 with a dual core processor but only one is showing. Here's the output from top:
processor: 0
vendor_id: GenuineIntel
cpu family: 15
model: 4
[Code]....
I have a command line OCR program called OCR Shop XTR (Vividata corp) that I am using on a system with a 6-core AMD chip. I changed the bios so that the 6-cores were activated, but htop shows me that while the program is running, I am only getting activity on one core (the program maxes out the one core with consistent usage between 97% and 100%).
I have read that many programs are not written to take advantage of multiple core cpu's. However, I am just hoping that there is some way to get this program to take advantage of the extra cores. Does anyone know of a way to invoke programs from the command line which would spread the workload out among additional cores?
Here is the output of uname -a:Linux linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686 athlon i386 GNU/LinuxAnd here is the output for one of the cores from cat /proc/cpuinfo:processor : 5
vendor_id : AuthenticAMD
cpu family : 16
model : 10
model name : AMD Phenom(tm) II X6 1100T Processor
stepping : 0
[Code].....
Just a quick question. Does Kubuntu Karmic support core 2 E8500 out of the box or do you need the SMP kernel?
View 3 Replies View RelatedIs there any Linux API that will let me control on what core will a thread run? If not, do I have to use assembly language?
View 2 Replies View RelatedI need a tool to analyse the output of sar command. just like sarg which analyses the log files for http , squid etc . I need a similar tool for sar output analysis.
View 3 Replies View RelatedI use Fedora Core version 13 on laptop. my friend usually use windows OS, and send to me more *.rar I can't extract file *.rar on FC 13.
If use know, how to install WinRar on FC 13
A process from some software I am running keeps crashing with seemingly no real pattern. I ahve tried using ddd/gdb to run the process in question but everytime it crashes no useful information is returned. I also tried getting a core file with the same result. It seems as though according to linux the program has exited normally.
This obviously points towards the process itself having a bug but there are other instances of the same program running on other machines in the network with no problems at all.
I have made comaprisons of hardware/drivers (lspci etc) installed on various machines and all are exactly the same as the machine in question so my question is (at long last): What else should I be looking for?
I have now installed Wheezy on two different hard drives and in each case it seems only one CPU of my dual core CPU computer is recognized. System Monitor, Gkrellm and lscpu show just one when prior to the new install the old Wheezy showed both CPU's. I have put the hard drive into two other computers with dual core CPU's and all show just one CPU.
Interestingly System Profiler and Benchmark (hardinfo?) > Devices > Processors now show a large amount of processor infomation when with the old Wheezy I would only see both CPU's listed and nothing else.
I've a Compaq CQ61 laptop, and i noticed that one of the cores is always at 100%.
I didn't check the duration of the battery but surely it will "eat" my battery in a hurry
I recently read in a forum that by default the Linux kernel only activates one of two cores in a dual core processor. Searching online gave one option to find out and that was the mpstat command. I therefore ran the command and got the following output.As the result says, it shows only 1 cpu. I was wondering what I could do to activate both cores in my machine, and whether doing so was going to cause me any problems.
View 14 Replies View RelatedAssume someone bind a particular process to a particular CPU core(In multi core machine) by using sched_setaffinity() like functions. Then how we can get that process running core id and CPU core utilisation of that process on that running CPU core(Pragmatically or by a Linux command)?.
View 5 Replies View RelatedUsing getrlimit I am setting the core file size to be RLIM_INFINITY. But still the core file is not being generated,although in /var/log/messages it says a core is being generated
View 3 Replies View RelatedWe have seen with the release of Fedora 15, systemd is the new start-up services, which will replace SysVinit and Upstart on most Linux distributions. Here are some tips based on the order systemd-analyze, for analyzing the startup time of your OS.On commence avec l'option time, qui affiche le temps total de d�marrage de votre syst�me : (One starts with l' option time, which posts the total time of starting of your system: )
Code:
$ systemd-analyze time
Startup finished in 6385ms (kernel) + 3228ms (initrd) + 49335ms (userspace) = 58949ms
[code]....
For those with IT jobs, how do you handle security monitoring for your company?
1.How do you determine what to monitor-- The most vulnerable assets, most critical or something else?
2.What kind of data do you collect for security monitoring purposes?
3.What tools and techniques do you use to analyze the data?
I have created a virtual machine of a system running Fedora Core 4 and I need to upgrade it to Fedora Core 10. Based on what I have read, it iis possible so I started theupgrade process. I get an error message saying that /dev/hda6 (my root paritition does not exist) even though it does.
Does the installer need to read a label from /etc/fstab? I executed tune2fs -L / /dev/hda6 amd ,and added LABEL=/ for the corresponding entry for fstab. but the FEDORA CORE 10 is still giving the same problems for the installation process. Should I upgrade to an intermediate verson like Fedora Core 7 first?
I've a program that launches new processes, and wait for them to die before it exits. So, for example, my program is a process, and it launches 3 more processes, and when the 3 child processes end, it will exit.
As you see, at end of the example, the program used a total number of 4 processes.
1 - Now, I'm running this program in a CPU with 4 cores. This means that the program used each core for each process?
2 - How can I know which core the program used?
Some of my files and directories were mysteriously disappearing and some of my shell scripts were failing after the upgrade to Fedora Core 12. After some debugging I found out that file name globbing is no longer case sensitive in Fedora Core 12, that is
rm -rf [a-z]*
now also trashes all files and directories starting with [A-Z], which explains the removed files and directories
and
ls [a-z]*
now also includes files and directories starting with [A-Z], which caused my shell scripts to fail.
Is this a bug or a 'feature'?
as my laptop is getting older and slower, I deactivated the nice window effects. System -> propieries -> appereance -> no effects.But Ubuntu reactives them after the next reboot!Is there any configuration file or do I have to uninstall compiz-core complete?
View 8 Replies View Relatedi just touch linux, may i know how can i convert the core dump file to a readable textfile, which include all the information, which is in core dump, such as all variables, threads information, call trace for each tasks, and so on. i know use the GDB can view this, but it won't dump all the informations to one text file. but sometimes, people want to view the core dump reason without Linux environment.
View 2 Replies View RelatedI'm trying to setup apache2 to drop a core file when it crashes. I know that you need to set the CoreDumpDirectory directive in /etc/apache2/apache2.conf and run "ulimit -c unlimited" from the command line (and restart apache after the ulimit command). But, on a reboot, even though the output of "ulimit -a" shows unlimited, apache2 will not create a core dump file unliess you set ulimit -c unlimited again and restart apache2. There must be a way to configure apache2.conf or something so that ulimit -c unlimited is set prior to apache2 starting, no?
View 2 Replies View Relatedrubyripper starts ripping but then it seems it stops during the analyzation.No action noticable and it does not finish.The last message in the log is: analyzing the files for not matching chunks.I left it for hours and nothing happens.It happens with all formats and with all CD's I have.No error messages or other.With opensuse 11.2. there was no problem at all.
rubyripper version 0.6.0
Kernel: Linux 2.6.34-12-desktop x86_64
Distribution: openSUSE 11.3 (x86_64)
KDE: 4.4.4 (KDE 4.4.4) "release 7"
Does anybody have an idea or need any logfiles?A similar problem I have in k3b when ripping audio cd's. It hangs up during analyzation.
Does anybody know an application that sums up the printing from the page_log file and puts the summed amounts in another simple text file? Tried phpPrintAnalyzer but could not figure out how to set it up.
Running Ubuntu Hardy LTS server.
instructions on phpPrintAnalyzer?