CentOS 5 :: No Threads In Core File On 5.3?

Jul 8, 2009

I 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?

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Epoll - Sockets And Threads ?

May 20, 2009

There is a transient bug in my code which I just can't catch.

The basic idea is this. I have a multithreaded server and two thread pools, the IO pool and Worker pool. The main server thread listens to incoming connections. When it gets one, it dispatches a thread from the IO pool to read the socket. An IO thread reads the socket. If there is data, it invokes a thread from the Worker pool. This thread then finishes off the processing including closing the socket. The code follows.

Before I show the code, let me tell you what's happening when I am testing it. I have a client program which has about 30 threads, each opening a separate socket connection with the server. Each sends a request which the server responds to. Sometimes I have all the threads finish in a zip. Sometimes both the client and the server hangs. And yet at other times, the client gets a connection refused message.

Now the code. I have omitted some of the nitty-gritties, including possibly variable declarations. I'll post them if it's required.

View 1 Replies View Related

CentOS 5 Hardware :: Infiniband (mlx4) Works On 16-core System But (now) Fails On 32-core System

Jan 27, 2010

We have a small cluster of 20 HP systems, all running CentOS 5.3 in an NFS-root environment. Half are quad-socket, quad-core Xeon E7340 @ 2.40GHz (total 16 cores), the other half are 8-socket, quad-core Opteron 8354 (total 32 cores). All systems have a Mellanox Infiniband adapter ("Mellanox Technologies MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE] (rev a0)")

With kernel 2.6.18-128.1.6.el5, infiniband works fine on all systems.

With the update to kernel 2.6.18-164.11.1.el5 (and both types of node running the same NFS-root image), the 16-core Xeons still work fine. Infiniband no longer works on the 32-core Opterons. Specifically, either the ib0 interface fails to appear, or it does appear but when configured with an IP address, doesn't actually work. In either case, loading the IB kernel modules takes a long time, but I haven't instrumented the load script yet to see which module, if any, is at fault. More errors listed below.

However, if I tweak the BIOS of the 32-core systems to reduce the per-socket core count to 2 (so effectively 8-socket, dual-core, down to a total of 16 available cores), Infiniband starts working again. Putting it back to 32-cores makes it fail. Booting the older kernel makes it work again. In summary: old kernel, IB works on all systems. Newer kernel, IB only works on 16-core systems.

Updating the IB firmware from 2.5.0 to 2.7.0 (latest available) doesn't help. I also did a full 'yum update' to make sure that libmlx4, openibd all other associated packages were up-to-date. Doesn't help either.

Some errors that appear on 32-core nodes:

ib_query_port failed (-16) for mlx4_0
ib_query_port failed (-16) for mlx4_0
mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)
mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)

[Code]....

View 5 Replies View Related

Software :: Creating Threads Via A Cfg File?

Jan 11, 2010

I'm trying to create n number of threads, but I would like to read a cfg file at run time, I've been experimenting with ifstream but Im not having any luck.

View 1 Replies View Related

Programming :: Core Dump Issues. Program Crashes But Does Not Generate Core Dump File?

Oct 7, 2009

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.

View 1 Replies View Related

General :: Upgrading From Fedora Core 7 To CentOS 5.4

Jan 19, 2010

I need to upgrade one of our systems from its current distribution, Fedora Core 7, to the most recent version distribution, release 5.4, of the CentOS operating system. Can I do an in-place upgrade of the operating system without any adverse side-effects? Are there any issues that I should be concerned with before proceeding?

View 10 Replies View Related

CentOS 5 Hardware :: Core 2 Duo - Number Of Processors

Mar 17, 2009

Just installed centOS 52 x86_64 on a Core 2 Duo (E6750). From the /proc/cpuinfo I see that only one processor is detected. Any parameter on the BIOS to be changed?

View 2 Replies View Related

CentOS 5 :: Make Daemons Dump Core?

Oct 22, 2010

I modified the following files according to all I found after googling the net:

/etc/security/limits.conf
* soft core unlimited
/etc/profile
ulimit -c unlimited[code]....

I don't get a core file when I kill -11 <pid_of_sleep>

System is centos 5.3

View 3 Replies View Related

CentOS 5 :: VMware Server Only Detects 1 Of 2 Quad Core CPU?

Jan 22, 2010

Sadly, I google'd the heck out of this and even the vmware community has no answers. So, I decided to turn to the experts and see if you can provide a better solution than [URL]. The system sees both CPU's and all of the cores (cat /proc/cpuinfo). I have tried with HT and without HT (I never run HT anymore; seems to hurt performance in my workloads). I've tried the recent and newest kernels for CentOS 5.4 and still have no luck. There seems to be lots of people having this issue, but no real solutions.

Dell PE R710 with 2x Xeon CPU X5550
kernel 2.6.18-164.11.1.el5 #1 SMP x86_64
Fresh CentOS 5.4 install

View 2 Replies View Related

CentOS 5 Hardware :: Installing 5.4 X86_64 On Intel Core I7?

Apr 28, 2010

I'm trying to setup CentOS 5.4 x86_64 on a new machine but am running into problems. The machine is: CPU: Intel Core i7-860 RAM: 4GiB DDR3 Motherboard: Intel DQ57TM When booting from the disc, I get to the initial splash screen but almost immediately after that, I get a kernel panic.

None of the lines leading up to it mean much to me so I'm not sure what to copy here but the last line says: <0>Kernel panic - not syncing: Fatal exception

View 14 Replies View Related

CentOS 5 Hardware :: Recommend A Pre-built Core I7 Desktop?

Jun 21, 2010

Can anyone recommend a pre-built Core i7 desktop on which CentOS 5 can be easily installed ? It will not be used for gaming. We are considering the Aspire M5811 and the Vostro 430, however I heard that there is an RHEL bug with the NIC on the latter.

View 1 Replies View Related

Ubuntu :: Run Dual Core - Crash - Single Core Runs Perfect

Apr 1, 2011

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 Related

Software :: Set Core File Size?

Jul 27, 2010

I 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 Related

CentOS 5 :: Back Port The 5 USB HID Core Driver Version 2.6 Back To 4 USB HID Core Driver Version 2.0?

Nov 3, 2009

Is it possible to back port the centos5 USB HID core driver version 2.6 back to centos4 USB HID core driver version 2.0?

View 2 Replies View Related

Fedora Installation :: Dual Core Only Showing Single Core On F14?

Nov 3, 2010

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]....

View 2 Replies View Related

OpenSUSE :: Get Application To Utilize More Than One Core In Multi-core Setup?

Mar 27, 2011

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].....

View 5 Replies View Related

Ubuntu Installation :: Dual Core Support Core 2 E8500 Out Of Box?

Feb 14, 2010

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 Related

Programming :: Multi-core Support - Control On What Core Will A Thread Run

Oct 31, 2010

Is 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 Related

Software :: How To Extract File *.rar On Fedora Core Ver 13

Jan 22, 2011

I 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

View 10 Replies View Related

Software :: Process Crashing With No Core File?

May 14, 2011

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?

View 3 Replies View Related

Debian :: Wheezy Only Recognizes 1 Core Or Dual Core CPU?

Sep 7, 2011

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.

View 14 Replies View Related

Ubuntu :: Lucid Lynx - Dual Core - One Core Always At 100%

May 15, 2010

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

View 1 Replies View Related

General :: Only One Core Of Dual Core Processor Are Working

Mar 14, 2011

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 Related

Programming :: Get Process Running CPU Core And The Utilization On That Core?

Apr 27, 2010

Assume 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 Related

CentOS 5 Hardware :: No Throttling Scalling Speedstep On Xeon Quad-Core

Jun 30, 2009

System recognizes that CPU is capable of throttling, but there is no module to govern it. So Xeon always runs at full frequency.This is not convenient as my server is not always in full use, so I would like it to lower power consumption, especially for AC, with frequency scaling enabled.Can you help me is this some bug, misconfiguration in default kernel or guys who writes kernel think that scaling is not necessary for servers processors?

From my analysis so far, I think that the issue lies with the fact that module acpi-cpufreq does not support Xeons and that there is no dedicated module for this processor family (e.g. p4-clockmod) module in the default kernel.

View 5 Replies View Related

CentOS 5 Hardware :: X Server Black Screen During Install (core I5 GPU / Clarkdale)?

Mar 13, 2010

Finally i've got my new hardware! After assembling my System there was the first shock: I'm booting from DVD (CentOS 5.4 - 64bit) and everything's fine. When Anaconda attempts to start the X-Server, my Intel Clarkdale GPU is found and then there's a black Screen. Has anybody already tried this combination? Aunt Google wasn't very helpful :- /

My Hardware:
Intel Core i5 660 (integrated GPU)
ASUS P7H55-V
4 GB OCZ RAM
4 x 1TB SATA HDD
1 x 160GB IDE HDD

View 13 Replies View Related

CentOS 5 Hardware :: Launching X11 Sometimes Crashes Core I5 Clarkdale With Black Screen

Aug 23, 2010

I am having a problem with my Core i5 system running Centos 5.5. The system will lock up with a black screen on occasion when launching X11 - this could happen at any time, from the install CD the first time it's being installed or trying a live CD, or the 3rd-10th time I launch startx from tty1 or sometimes just switching from tty1 to display0 or display1. When the crash occurs, sometimes the systems fans will all turn on loud, and the reset button becomes non-responsive. Other times the screen is black and it just sits there and I have to hard power off. There's nothing in /var/log/messages.

I tried a fix from an old post for 5.4 adding the option for "DDC" "false" in the xorg.conf file, and this did not help. I also ran all the system updates, no help.

The system is totally stable so long as I don't switch between ttys and X11 or launch new X11s (it's also stable under other OSs and has passed Memtest86+ 4).

Is this an instability with the Core i5 driver? The "Video Card" in the display options is set to "intel - Experimental modesetting driver for Intel Integrated Graphics Chipsets" - the "experimental" part is a little scary. Should I try setting the driver to "i810" as the 5.5 release notes recommends (again there's no onboard "chipset" this is an embedded graphics processor on the i5 CPU).

here's the getinfo.sh dump

--glen201
== BEGIN uname -rmi ==
2.6.18-194.11.1.el5 x86_64 x86_64
== END uname -rmi ==

[Code].....

View 2 Replies View Related

Software :: Analyze Core File Using Pmap And Pstack

Jun 11, 2010

I 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 Replies View Related

Programming :: Soft Limit For Core File Size?

Jun 22, 2011

Using 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 Related

Fedora Installation :: Upgrading From Core 4 To Core 10?

May 20, 2009

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?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved