Questions tagged [httpd]

httpd is a typical process name of a web server.

httpd (for Hyper Text Transport Protocol Daemon) is a typical name of the web server process.

Apache is the most popular web server that runs using this process name. It is also the name given to the new default server for OpenBSD 5.7 and on.

1448 questions
9
votes
3 answers

Why httpd graceful restart takes such a long time?

I am checking /usr/local/apache/logs/error_log This has happened several times. Sometimes server restart is fast sometimes it's slow. What factor could possibly contribute to this mess. [Mon Dec 31 21:40:49 2012] [notice] Graceful restart…
Septiadi Agus
  • 291
  • 1
  • 4
  • 10
9
votes
2 answers

How to run PhantomJS on CentOS with SELinux?

I'm trying to make a screenshot using PhantomJS on my CentOS 5 machine, but I can't get it to work together with SELinux. It works on an identical machine with SELinux disabled, so I really suspect that SELinux is responsible for this. Here's what…
Dennis Bunskoek
  • 256
  • 2
  • 4
9
votes
2 answers

Apache "httpd" process, utilizing all my servers memory

My small ec2 instance with 1.7 GB memory, running the Amazon AMI based off of CentOS, has an issue with Apache utilizing way too much memory than it should. If you take a look at the screenshot, the memory usage will be at 90-100% until I reboot the…
Amivit
  • 195
  • 1
  • 1
  • 5
9
votes
2 answers

MaxClients in apache. How to know the size of my proccess?

From http://httpd.apache.org/docs/2.2/misc/perf-tuning.html The single biggest hardware issue affecting webserver performance is RAM. A webserver should never ever have to swap, as swapping increases the latency of each request beyond a point…
Larry
  • 91
  • 1
  • 1
  • 2
9
votes
1 answer

Directory inside or outside VirtualHosts?

Is there a difference between putting Directory tags inside or outside VirtualHosts? I found a configuration file that has several VirtualHosts all with the same Directory tag inside, and the same outside; so I'm thinking of getting rid of this…
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
9
votes
8 answers

httpd dead but subsys locked

I modified today max_execution_time in php.ini, when I restarted the server, I get this error : Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address…
Hamza
  • 264
  • 1
  • 5
  • 15
9
votes
1 answer

Authenticate http requests EXCEPT for from this IP

I've got Nagios running on a server here (CentOS 5.3 w/ Apache 2.2.3-22.el5.centos) authenticating to my LDAP server, and all works well. However, I'd like to have some IP able to see the Nagios status page without authenticating. Nagios has this…
Bill Weiss
  • 10,979
  • 3
  • 38
  • 66
9
votes
3 answers

What's the equivalent of in .htaccess?

I'm setting up Trac, and want to password protect the login page, as suggested here. I'm on a shared hosting setup, so I can't modify the httpd.conf, I have to use .htacces. How do I restrict just the login page without restricting other pages? …
Martin C. Martin
  • 239
  • 1
  • 3
  • 5
8
votes
3 answers

"No space left on device: AH00023: Couldn't create the mpm-accept mutex" when restarting httpd

My server sometimes gets filled up with connections in apache stuck in a "Sending Reply" state, requiring me to restart apache. Most of the time this works, but sometimes I will get this error when trying to restart apache instead: Job for…
user548654
  • 81
  • 1
  • 1
  • 3
8
votes
3 answers

Catch-All HTTPS Vhost on Apache 2.4

Is it possible to configure a catch-all (default) HTTPS Vhost on Apache 2.4? I currently have 4 domains, and an HTTP catch all but as soon as I try to add any sort of configuration my other vhosts break. Here is what my config looks…
Nicolas Bouvrette
  • 211
  • 1
  • 2
  • 9
8
votes
1 answer

many graceful restarts in httpd error log?

Our server was down , and we restatred the services (nginx & httpd), and when i look at the logs, i've found these lines , there are so many Graceful restart requested, doing restart lines, whats wrong? i have 100's of lines like below [Tue Nov 10…
ɹɐqʞɐ zoɹǝɟ
  • 277
  • 1
  • 3
  • 10
8
votes
1 answer

is "ServerAdmin email@domain.tld" required in the VirtualHost in Apache?

I rather not have ServerAdmin in my VirtualHost because all it does is attract spam. has no use what so ever. can it be ignored ?
user235927
  • 83
  • 1
  • 3
8
votes
3 answers

Apache + PHP-FPM = random "Error parsing script headers" + Seg Faults

I have PHP-FPM setup with Apache 2.4 using proxy_fcgi, all works fine, but every one in 4-6 requests, Apache returns a blank page. This happens on my main site http://danielhe.com/, but not subdomain vhosts. This shows up Apache's error log, [client…
dancom96
8
votes
6 answers

Apache httpd permissions

I have created a directory /xyz/www With the following permissions: -rw-r--r--. 1 myuser developers I edited my http.conf: DocumentRoot "/xyz/www/" Options Indexes FollowSymLinks AllowOverride None Order…
DD.
  • 3,114
  • 11
  • 35
  • 50
8
votes
6 answers

CentOS Apache HTTPD Configuration (403 Forbidden)

This is what i have in my httpd.conf ServerAdmin spero78@spero78.com ServerName mcmoddr.com ServerAlias www.mcmoddr.com DocumentRoot /home/mcmoddr/www/ ErrorLog /mcmoddr/logs/error.log …
1 2
3
96 97