You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ra...@yahoo.co.in on 2009/04/01 14:45:19 UTC

[users@httpd] multi threaded apache with thread safe disable php - will this be an issue?

Hi,

we have a multi threaded apache with 'thread safe' DISABLED php on our production server. we used to have a good amount of traffic to our application. 

will this be an issue and do you guys have any idea? actually we see lots of segfaults in our /var/log/messages.


--rats




________________________________
From: Lincoln Zuljewic Silva - Claro SP - <Li...@claro.com.br>
To: "users@httpd.apache.org" <us...@httpd.apache.org>
Sent: Wednesday, 1 April, 2009 5:59:53 PM
Subject: [users@httpd] mod_status "404 Not Found"

Good morning to all,

I have a apache with SSL and the mod_status is not working. The config I made was:

<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from all <- the "all" is just for tests propose!
</Location>
ExtendedStatus On


After a "kill -HUP `cat /opt/apache22/logs/httpd.pid`, I still get "404 page not found". The strange point is that I configured the same way another server and it's working fine.

Does anybody have any clue?

MODULES:
./apachectl -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_include.c
  mod_filter.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  mod_proxy.c
  mod_proxy_connect.c
  mod_proxy_ftp.c
  mod_proxy_http.c
  mod_proxy_ajp.c
  mod_proxy_balancer.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c

VERSION:
Server version: Apache/2.2.3
Server built:   Aug 10 2006 12:43:07
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="/opt/apache22"
-D SUEXEC_BIN="/opt/apache22/bin/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"

Regards

Lincoln Zuljewic Silva


Esta mensagem, incluindo seus eventuais anexos, pode conter informa??es confidenciais, de uso restrito e/ou legalmente protegidas. Se voc? recebeu esta mensagem por engano, n?o deve usar, copiar, divulgar, distribuir ou tomar qualquer atitude com base nestas informa??es. Solicitamos que voc? elimine a mensagem imediatamente de seu sistema e avise-nos, enviando uma mensagem diretamente para o remetente e para postmaster@claro.com.br. Todas as opini?es, conclus?es ou informa??es contidas nesta mensagem somente ser?o consideradas como provenientes da Claro ou de suas subsidi?rias quando efetivamente confirmadas, formalmente, por um de seus representantes legais, devidamente autorizados para tanto.
------------------------------------------------------------------------------
Este mensaje, incluyendo sus eventuales archivos adjuntos, puede contener informaciones confidenciales, de uso restringido y/o legalmente protegidas. Si usted ha recibido este mensaje por error, no debe utilizar, copiar, divulgar, distribuir o tomar cualquier actitud basada en estas informaciones. Solicitamos la inmediata eliminaci?n del mensaje de su sistema y el env?o de un informe en forma directa al remitente y a postmaster@claro.com.br. Todas las opiniones, conclusiones o informaciones contenidas en este mensaje solamente ser?n consideradas como provenientes de Claro o de sus subsidiarias cuando sean efectivamente confirmadas, formalmente, a trav?s de uno de sus representantes legales debidamente autorizados a tal fin.
------------------------------------------------------------------------------
This message, including all attachments transmitted with it may include restricted, legally privileged, and/or confidential information. If you received this message by mistake or in error you are hereby notified that you must not use, publicize, copy, distribute, resend, or take any action based on the information contained in the message. We ask you to delete the message immediately from your system and advise us by sending a message directly

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


      Bollywood news, movie reviews, film trailers and more! Go to http://in.movies.yahoo.com/

Re: [users@httpd] multi threaded apache with thread safe disable php - will this be an issue?

Posted by Eric Covener <co...@gmail.com>.
On Wed, Apr 1, 2009 at 8:45 AM,  <ra...@yahoo.co.in> wrote:
> Hi,
>
> we have a multi threaded apache with 'thread safe' DISABLED php on our
> production server. we used to have a good amount of traffic to our
> application.
>
> will this be an issue and do you guys have any idea? actually we see lots of
> segfaults in our /var/log/messages.


I think it's an issue even with the "threadsafe" build.  Use a
single-threaded webserver with mod_php, or use fastcgi.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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