Re: debugging segmentation fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2015-07-27 6:33 GMT+02:00 deva seetharam <tagsense@xxxxxxxxx.invalid>:
> hello
>
> we are running debian linux stable (Jessie) with apache 2.4.10 and mod_wsgi
> 4.3.0-1 on a x86_64 machine.
> our application is written in python 2.7 and django 1.8.
>
> the list of modules as reported by apachectl -M are:
> Loaded Modules:
[...]
> we were getting segmentation faults when rest api clients were making
> requests. the apache error log has the following messages:
>
> [Mon Jul 27 09:04:38.375433 2015] [core:notice] [pid 32693:tid
> 140315326191488] AH00052: child pid 32700 exit signal Segmentation fault
> (11)
> [Mon Jul 27 09:04:38.375556 2015] [core:notice] [pid 32693:tid
> 140315326191488] AH00052: child pid 32701 exit signal Segmentation fault
> (11)
>
> i have enabled core dumps by setting ulimit to unlimited and adding core
> dump config directive in the apache2.conf file.
>
> but the core dumps are not happening.

Does www-data have write permissions in the CoreDumpDirectory? Another method
to set the core dump directory in linux is

echo "/var/tmp/core-%e.%p" > /proc/sys/kernel/core_pattern

The ulimit is only valid for the shell (and subsequent child
processes) you're currently in,
so you should restart apache from the same shell.

You can test if your configuration works by just sending a SIGSEGV
yourself, just
kill -11 one of the apache processes.

rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux