http problem

http problem

am 11.09.2009 17:51:58 von raliste

--000e0cd63988fdbbc204734f4c91
Content-Type: text/plain; charset=ISO-8859-1

Hi

I know this is no a support forum, but I'm having troubles with Apache and I
don't know what could it be!

The problem is that sometimes the Httpd child pids start to segfault without
any reason, memory is good, cpu is good, is all good!
I've stacktraced a segfault and it shows me nothing. The only thing I get is
rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],
SA_RESETHAND}, 8) = 0. I'm running the httpd under gdb to get more readable
detail when segfaults again. And I'll post the result here.

Any ideas?


The machine is a HP Proliant DL 320 G5 with Intel Xeon X3320 and 2GB Ram
with Centos 5 i386.
PHP 5.2.5 with Xcache
Mysql 5.0.45 (php-mysql api versions match)
Apache 2.2.3

# httpd -V
Server version: Apache/2.2.3
Server built: Jul 14 2009 06:04:04
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

Loaded modules are http://pastebin.ca/1562241
--
Rodrigo Aliste P.

--000e0cd63988fdbbc204734f4c91
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi



I know this is no a support forum, but I'm having troubles with Apache =
and I don't know what could it be!




The problem is that sometimes the Httpd child pids start to segfault
without any reason, memory is good, cpu is good, is all good!

I've stacktraced a segfault and it shows me nothing. The only thing I
get is rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],
SA_RESETHAND}, 8) =3D 0. I'm running the httpd under gdb to get more
readable detail when segfaults again. And I'll post the result here. >


Any ideas?


The machine is a HP Proliant DL 320 G5 with Intel Xeo=
n X3320 and 2GB Ram with Centos 5 i386.


PHP 5.2.5 with Xcache


Mysql 5.0.45 (php-mysql api versions match)


Apache 2.2.3

# httpd -V
Server version: Apache/2.2.3
Server bu=
ilt:   Jul 14 2009 06:04:04
Server's Module Magic Number: 200511=
15:3
Server loaded:=A0 APR 1.2.7, APR-Util 1.2.7
Compiled using: APR =
1.2.7, APR-Util 1.2.7


Architecture:   32-bit
Server MPM:     Prefork
=A0 thread=
ed:     no
  =A0 forked:     yes (variable process c=
ount)
Server compiled with....
=A0-D APACHE_MPM_DIR=3D"server/mp=
m/prefork"
=A0-D APR_HAS_SENDFILE


=A0-D APR_HAS_MMAP
=A0-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) r>=A0-D APR_USE_SYSVSEM_SERIALIZE
=A0-D APR_USE_PTHREAD_SERIALIZE
=A0=
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
=A0-D APR_HAS_OTHER_CHILD
=A0-D =
AP_HAVE_RELIABLE_PIPED_LOGS


=A0-D DYNAMIC_MODULE_LIMIT=3D128
=A0-D HTTPD_ROOT=3D"/etc/httpd&quo=
t;
=A0-D SUEXEC_BIN=3D"/usr/sbin/suexec"
=A0-D DEFAULT_PIDL=
OG=3D"logs/httpd.pid"
=A0-D DEFAULT_SCOREBOARD=3D"logs/ap=
ache_runtime_status"


=A0-D DEFAULT_LOCKFILE=3D"logs/accept.lock"
=A0-D DEFAULT_ERRO=
RLOG=3D"logs/error_log"
=A0-D AP_TYPES_CONFIG_FILE=3D"con=
f/mime.types"
=A0-D SERVER_CONFIG_FILE=3D"conf/httpd.conf"=
;


Loaded modules are http://pasteb=
in.ca/1562241


--
Rodrigo Aliste P.



--000e0cd63988fdbbc204734f4c91--

Re: http problem

am 11.09.2009 18:43:18 von raliste

--000feaeebad494d70e0473500461
Content-Type: text/plain; charset=ISO-8859-1

Another strace:

write(15, "/\0\0\0\3SELECT * FROM wp_users WHER"..., 51) = 51
read(15, "\1\0\0\1\f8\0\0\2\3def\16wp_taconeras_a\10wp_"..., 16384) = 1053
poll([{fd=15, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(15, "B\0\0\0\3SELECT meta_key, meta_value"..., 70) = 70
read(15, "\1\0\0\1\2J\0\0\2\3def\16wp_taconeras_a\vwp_"..., 16384) = 330
poll([{fd=15, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(15, "T\0\0\0\3SELECT meta_value FROM wp_s"..., 88) = 88
read(15, "\1\0\0\1\1N\0\0\2\3def\16wp_taconeras_a\vwp_"..., 16384) = 132
time(NULL) = 1252687225
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
chdir("/etc/httpd") = 0
rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],
SA_RESETHAND}, 8) = 0
kill(1946, SIGSEGV) = 0
sigreturn() = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

2009/9/11 Rodrigo Aliste P.

> Hi
>
> I know this is no a support forum, but I'm having troubles with Apache and
> I don't know what could it be!
>
> The problem is that sometimes the Httpd child pids start to segfault
> without any reason, memory is good, cpu is good, is all good!
> I've stacktraced a segfault and it shows me nothing. The only thing I get
> is rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],
> SA_RESETHAND}, 8) = 0. I'm running the httpd under gdb to get more readable
> detail when segfaults again. And I'll post the result here.
>
> Any ideas?
>
>
> The machine is a HP Proliant DL 320 G5 with Intel Xeon X3320 and 2GB Ram
> with Centos 5 i386.
> PHP 5.2.5 with Xcache
> Mysql 5.0.45 (php-mysql api versions match)
> Apache 2.2.3
>
> # httpd -V
> Server version: Apache/2.2.3
> Server built: Jul 14 2009 06:04:04
> Server's Module Magic Number: 20051115:3
> Server loaded: APR 1.2.7, APR-Util 1.2.7
> Compiled using: APR 1.2.7, APR-Util 1.2.7
> Architecture: 32-bit
> Server MPM: Prefork
> threaded: no
> forked: yes (variable process count)
> Server compiled with....
> -D APACHE_MPM_DIR="server/mpm/prefork"
> -D APR_HAS_SENDFILE
> -D APR_HAS_MMAP
> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
> -D APR_USE_SYSVSEM_SERIALIZE
> -D APR_USE_PTHREAD_SERIALIZE
> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
> -D APR_HAS_OTHER_CHILD
> -D AP_HAVE_RELIABLE_PIPED_LOGS
> -D DYNAMIC_MODULE_LIMIT=128
> -D HTTPD_ROOT="/etc/httpd"
> -D SUEXEC_BIN="/usr/sbin/suexec"
> -D DEFAULT_PIDLOG="logs/httpd.pid"
> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
> -D DEFAULT_LOCKFILE="logs/accept.lock"
> -D DEFAULT_ERRORLOG="logs/error_log"
> -D AP_TYPES_CONFIG_FILE="conf/mime.types"
> -D SERVER_CONFIG_FILE="conf/httpd.conf"
>
> Loaded modules are http://pastebin.ca/1562241
> --
> Rodrigo Aliste P.
>
>


--
Rodrigo Aliste P.

--000feaeebad494d70e0473500461
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Another strace:

write(15, "/\0\0\0\3SELECT * FROM wp_users WHER=
"..., 51) =3D 51
read(15, "\1\0\0\1\f8\0\0\2\3def\16wp_taconer=
as_a\10wp_"..., 16384) =3D 1053
poll([{fd=3D15, events=3DPOLLIN|POL=
LPRI}], 1, 0) =3D 0 (Timeout)


write(15, "B\0\0\0\3SELECT meta_key, meta_value"..., 70) =3D 70 r>read(15, "\1\0\0\1\2J\0\0\2\3def\16wp_taconeras_a\vwp_"..., 163=
84) =3D 330
poll([{fd=3D15, events=3DPOLLIN|POLLPRI}], 1, 0) =3D 0 (Time=
out)


write(15, "T\0\0\0\3SELECT meta_value FROM wp_s"..., 88) =3D 88 r>read(15, "\1\0\0\1\1N\0\0\2\3def\16wp_taconeras_a\vwp_"..., 163=
84) =3D 132
time(NULL)                =
            =A0 =3D 1252687225
--- SIGSEGV (Segm=
entation fault) @ 0 (0) ---


chdir("/etc/httpd")              =A0=
    =A0 =3D 0
rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT},=
{SIG_DFL, [], SA_RESETHAND}, 8) =3D 0
kill(1946, SIGSEGV)    =
                 =3D 0
sigreturn()  =
                         =A0=
=A0 =3D ? (mask now [])


--- SIGSEGV (Segmentation fault) @ 0 (0) ---

te">2009/9/11 Rodrigo Aliste P. < iste@gmail.com">raliste@gmail.com>
ail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt =
0pt 0pt 0.8ex; padding-left: 1ex;">

Hi



I know this is no a support forum, but I'm having troubles with Apache =
and I don't know what could it be!




The problem is that sometimes the Httpd child pids start to segfault
without any reason, memory is good, cpu is good, is all good!

I've stacktraced a segfault and it shows me nothing. The only thing I
get is rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],
SA_RESETHAND}, 8) =3D 0. I'm running the httpd under gdb to get more
readable detail when segfaults again. And I'll post the result here. >


Any ideas?


The machine is a HP Proliant DL 320 G5 with Intel Xeo=
n X3320 and 2GB Ram with Centos 5 i386.


PHP 5.2.5 with Xcache


Mysql 5.0.45 (php-mysql api versions match)


Apache 2.2.3

# httpd -V
Server version: Apache/2.2.3
Server bu=
ilt:   Jul 14 2009 06:04:04
Server's Module Magic Number: 200511=
15:3
Server loaded:=A0 APR 1.2.7, APR-Util 1.2.7
Compiled using: APR =
1.2.7, APR-Util 1.2.7



Architecture:   32-bit
Server MPM:     Prefork
=A0 thread=
ed:     no
  =A0 forked:     yes (variable process c=
ount)
Server compiled with....
=A0-D APACHE_MPM_DIR=3D"server/mp=
m/prefork"
=A0-D APR_HAS_SENDFILE



=A0-D APR_HAS_MMAP
=A0-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) r>=A0-D APR_USE_SYSVSEM_SERIALIZE
=A0-D APR_USE_PTHREAD_SERIALIZE
=A0=
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
=A0-D APR_HAS_OTHER_CHILD
=A0-D =
AP_HAVE_RELIABLE_PIPED_LOGS



=A0-D DYNAMIC_MODULE_LIMIT=3D128
=A0-D HTTPD_ROOT=3D"/etc/httpd&quo=
t;
=A0-D SUEXEC_BIN=3D"/usr/sbin/suexec"
=A0-D DEFAULT_PIDL=
OG=3D"logs/httpd.pid"
=A0-D DEFAULT_SCOREBOARD=3D"logs/ap=
ache_runtime_status"



=A0-D DEFAULT_LOCKFILE=3D"logs/accept.lock"
=A0-D DEFAULT_ERRO=
RLOG=3D"logs/error_log"
=A0-D AP_TYPES_CONFIG_FILE=3D"con=
f/mime.types"
=A0-D SERVER_CONFIG_FILE=3D"conf/httpd.conf"=
;


Loaded modules are ank">http://pastebin.ca/1562241

--
Rodrigo Aliste P.





--
Rodrigo Aliste P=
..



--000feaeebad494d70e0473500461--

Re: http problem

am 11.09.2009 18:56:39 von Eric Covener

On Fri, Sep 11, 2009 at 11:51 AM, Rodrigo Aliste P. wrote:
> Hi
>
> I know this is no a support forum, but I'm having troubles with Apache and I
> don't know what could it be!

This is a support forum!

>
> The problem is that sometimes the Httpd child pids start to segfault without
> any reason, memory is good, cpu is good, is all good!
> I've stacktraced a segfault and it shows me nothing. The only thing I get is
> rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],
> SA_RESETHAND}, 8) = 0. I'm running the httpd under gdb to get more readable
> detail when segfaults again. And I'll post the result here.

The backtrace from gdb is what's needed.
--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: http problem

am 11.09.2009 19:02:42 von raliste

--00151750eaeafcae0e047350494d
Content-Type: text/plain; charset=ISO-8859-1

2009/9/11 Eric Covener

> On Fri, Sep 11, 2009 at 11:51 AM, Rodrigo Aliste P.
> wrote:
> > Hi
> >
> > I know this is no a support forum, but I'm having troubles with Apache
> and I
> > don't know what could it be!
>
> This is a support forum!
>

Oh, so even better!!


>
> >
> > The problem is that sometimes the Httpd child pids start to segfault
> without
> > any reason, memory is good, cpu is good, is all good!
> > I've stacktraced a segfault and it shows me nothing. The only thing I get
> is
> > rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],
> > SA_RESETHAND}, 8) = 0. I'm running the httpd under gdb to get more
> readable
> > detail when segfaults again. And I'll post the result here.
>
> The backtrace from gdb is what's needed.
>

I'm waiting for the gdb.


> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


--
Rodrigo Aliste P.

--00151750eaeafcae0e047350494d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



2009/9/11 Eric Covener ><><=
br>
4, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Fri, Sep 11, 2009 at 11:51 AM, Rodrigo Aliste P. <<=
a href=3D"mailto:raliste@gmail.com">raliste@gmail.com> wrote:

> Hi

>

> I know this is no a support forum, but I'm having troubles with Ap=
ache and I

> don't know what could it be!



This is a support forum!

Oh, so even better!=
!
=A0
px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"=
>




>

> The problem is that sometimes the Httpd child pids start to segfault w=
ithout

> any reason, memory is good, cpu is good, is all good!

> I've stacktraced a segfault and it shows me nothing. The only thin=
g I get is

> rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],

> SA_RESETHAND}, 8) =3D 0. I'm running the httpd under gdb to get mo=
re readable

> detail when segfaults again. And I'll post the result here.



The backtrace from gdb is what's needed.
>I'm waiting for the gdb.
=A0
ote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0p=
t 0.8ex; padding-left: 1ex;">


--

Eric Covener





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--
Rodrigo Aliste P.
r>

--00151750eaeafcae0e047350494d--

Re: http problem

am 16.09.2009 22:43:43 von raliste

--00c09f88ce2e92b7cb0473b7f536
Content-Type: text/plain; charset=ISO-8859-1

The problem was, finally, X-Cache! I disable it and everythig works fine
now.
It seems that xcache had problems managing the memory when there was a lot
of load.

thanks!

2009/9/11 Rodrigo Aliste P.

>
>
> 2009/9/11 Eric Covener
>
>> On Fri, Sep 11, 2009 at 11:51 AM, Rodrigo Aliste P.
>> wrote:
>> > Hi
>> >
>> > I know this is no a support forum, but I'm having troubles with Apache
>> and I
>> > don't know what could it be!
>>
>> This is a support forum!
>>
>
> Oh, so even better!!
>
>
>>
>> >
>> > The problem is that sometimes the Httpd child pids start to segfault
>> without
>> > any reason, memory is good, cpu is good, is all good!
>> > I've stacktraced a segfault and it shows me nothing. The only thing I
>> get is
>> > rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],
>> > SA_RESETHAND}, 8) = 0. I'm running the httpd under gdb to get more
>> readable
>> > detail when segfaults again. And I'll post the result here.
>>
>> The backtrace from gdb is what's needed.
>>
>
> I'm waiting for the gdb.
>
>
>> --
>> Eric Covener
>> covener@gmail.com
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
> --
> Rodrigo Aliste P.
>
>


--
Rodrigo Aliste P.

--00c09f88ce2e92b7cb0473b7f536
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The problem was, finally, X-Cache! I disable it and everythig works fine no=
w.
It seems that xcache had problems managing the memory when there was =
a lot of load.

thanks!

2009/9/11 R=
odrigo Aliste P. < >raliste@gmail.com>


204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

s=3D"gmail_quote">2009/9/11 Eric Covener < ailto:covener@gmail.com" target=3D"_blank">covener@gmail.com>=



04, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Sep 11, 2009 at 11:51 AM, Rodrigo Aliste P. < lto:raliste@gmail.com" target=3D"_blank">raliste@gmail.com> wrote: r>
> Hi

>

> I know this is no a support forum, but I'm having troubles with Ap=
ache and I

> don't know what could it be!



This is a support forum!

Oh, so even b=
etter!!
=A0
style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.=
8ex; padding-left: 1ex;">





>

> The problem is that sometimes the Httpd child pids start to segfault w=
ithout

> any reason, memory is good, cpu is good, is all good!

> I've stacktraced a segfault and it shows me nothing. The only thin=
g I get is

> rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [],

> SA_RESETHAND}, 8) =3D 0. I'm running the httpd under gdb to get mo=
re readable

> detail when segfaults again. And I'll post the result here.



The backtrace from gdb is what's needed.
iv>
I'm waiting for the gdb.
=A0
ail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt =
0pt 0pt 0.8ex; padding-left: 1ex;">



--



--
88888">Rodrigo Aliste P.





--
Rodrigo Aliste P=
..



--00c09f88ce2e92b7cb0473b7f536--