473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Segmentation fault (11)

Hello everybody,

As of some time ago I started seeing "exit signal Segmentation fault
(11)" in /var/log/apache2/error.log. I'm running the current stable
Debian, php4 and Apache. We have quite a few users and usually hear
about any errors. But although I see a lot of these in the error log,
no one seems to be complaining.

Now, the child dies a couple of seconds later than the last access by
that child according to /var/log/apache2/access.log. So, the page must
be served completely and several seconds later, the child dies. What's
the best way to debug this one? I've enabled core dumping but no cores
are found under /tmp -- is this where they are supposed to appear? The
pages it happens to seem to be kind of random.

I've seen a lot of discussion about "Segmentation fault (11)" but I
didn't see what the resolution was. Sorry if this has been asked
before...

Best regards,
Sergei
Apr 11 '08 #1
3 2186
On 11 Apr, 19:42, surge <gera...@gmail.comwrote:
Hello everybody,

As of some time ago I started seeing "exit signal Segmentation fault
(11)" in /var/log/apache2/error.log. I'm running the current stable
Debian, php4 and Apache. We have quite a few users and usually hear
about any errors. But although I see a lot of these in the error log,
no one seems to be complaining.

Now, the child dies a couple of seconds later than the last access by
that child according to /var/log/apache2/access.log. So, the page must
be served completely and several seconds later, the child dies. What's
the best way to debug this one? I've enabled core dumping but no cores
are found under /tmp -- is this where they are supposed to appear? The
pages it happens to seem to be kind of random.

I've seen a lot of discussion about "Segmentation fault (11)" but I
didn't see what the resolution was. Sorry if this has been asked
before...

Best regards,
Sergei
Read this:

http://aplawrence.com/Linux/limit_core_files.html

Check ulimit and permissions for webserver uid.

C.
Jun 2 '08 #2
Thanks for the reply. I've read the article and tweaked my settings.
Now I'm waiting for a core dump, which, as luck would have it, hasn't
happened all day :)
Jun 2 '08 #3
On Apr 14, 5:18 pm, surge <gera...@gmail.comwrote:
Thanks for the reply. I've read the article and tweaked my settings.
Now I'm waiting for a core dump, which, as luck would have it, hasn't
happened all day :)

Hmm, the cores are still not dumped even though "kill -s SIGSEGV $$"
does create a core in the right directory. Any ideas?
Jun 2 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sivignon | last post by:
Hi, I'm writing a php script which deals with 3 ORACLE databases. This script is launch by a script shell on an linux machine like this : /../php/bin/php ./MySript.php (PHP 4.3.3) My script...
1
by: Justin Tang | last post by:
Hi I am wondering about the segmentation fault in PHP. Namely, I'm running PHP version 4.6.9 on my server right now and when I try to process a large piece of text via textarea(3k+), the resulting...
11
by: Polar | last post by:
Hi! i'm a newbie in C language and i'm writing my first simple codes. In one of these, my purpose is to append the ascii value of an interger (example 101 --> e) at the end of a string to...
1
by: sysxperts | last post by:
Hello, Having an issue that is specific to PHP compiled with PGSQL support with versions noted in subject line. I understand that there are many variables to consider here but believe I have...
27
by: Paminu | last post by:
I have a wierd problem. In my main function I print "test" as the first thing. But if I run the call to node_alloc AFTER the printf call I get a segmentation fault and test is not printed! ...
59
by: Christian Christmann | last post by:
Hi, I'm wondering why this program does not crash with a segmentation fault: #include <malloc.h> #include <string.h> #include <stdio.h> int main()
0
by: justarrived | last post by:
Hi, I am working on a Pro-c program on Unix. It compiles/builds properly but while trying to run it I am receiving segmentation violation at- sqlcxt((void **)0, &sqlctx, &sqlstm, &sqlfpn); The...
3
by: madunix | last post by:
My Server is suffering bad lag (High Utlization) I am running on that server Oracle10g with apache_1.3.35/ php-4.4.2 Web visitors retrieve data from the web by php calls through oci cobnnection...
8
by: Bryan | last post by:
Hello all. I'm fairly new to c++. I've written several programs using std::vectors, and they've always worked just fine. Until today. The following is a snippet of my code (sorry, can't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.