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
4
votes
1 answer

Apache is not using SWAP and it's reporting page allocation failure

Check the logs: httpd: page allocation failure. order:4, mode:0xd0 Call Trace: [] __alloc_pages+0x2ef/0x308 [] cache_grow+0x139/0x3c7 [] cache_alloc_refill+0x138/0x188 []…
Spacedust
  • 568
  • 5
  • 13
  • 28
4
votes
3 answers

why are there many httpd process on the machine while i only started one apache httpd service?

on a linux machine with apache installed, i did a search for httpd by ps -ef | grep httpd, i saw about 10 httpd processes, why is that? myuser 14732 1 0 Jan12 ? 00:00:10 /home/myuser/webserver/bin/httpd -k start myuser 14736 14732 0…
hetaoblog
  • 249
  • 1
  • 3
  • 14
4
votes
1 answer

How to SetEnv for an Alias

I have several Aliasses configured in apache configuration. I would like to set an environmental variables for each of them. How? I have this /alias1 /mapped/to/a/path /alias2 /mapped/to/a/path /alias3 /mapped/to/a/path /alias4…
Pentium10
  • 444
  • 1
  • 9
  • 23
4
votes
1 answer

Apache - httpd.conf redirect with X-Forward-For - Not working?

I'm having an a-hole of a problem redirecting traffic. Basically, I'm building a new web server and it's on another version of my domain, so I want to redirect traffic not from this IP. Problem is Amazon's ELB Load Balancer is in the way, so it…
waxical
  • 344
  • 2
  • 5
  • 12
4
votes
5 answers

Apache 1 virtual host definition listening on 2 ips - how?

We have a couple of complex virtual host definitions in our httpd.conf file. What I mean by that is: .... What I mean by complex is that they are full of rewrite rules and such. We would like to bind this virtual…
anonymous-one
  • 1,018
  • 7
  • 27
  • 43
4
votes
2 answers

What is the impact of increasing the httpd process priority (negative nice)?

Renicing a process to a negative nice level increases the process's scheduling priority. High priority processes are run before low-priority processes. They are also allowed to run longer before being pre-empted (they get longer time-slices). On a…
Daniel S. Sterling
  • 1,584
  • 2
  • 11
  • 13
4
votes
2 answers

how to find out all the PID of Apache httpd processes that are in reading state?

The Apache web server in my RHEL shows many requests in R (..reading..) state. I want to find the client IPs that are making Apache wait in reading state. Specifically: I want to find out all the client IPs that are spending too long to send the…
Sabya
  • 756
  • 3
  • 9
  • 22
4
votes
1 answer

How to use apache-status if the http connection table is full?

I am currently faced with a comical situation: I am testing DOS tools against a test server, and I cannot monitor the server with the http status scoreboard, as all connection threads are used up! Is there any other way to monitor the connection…
James
  • 133
  • 1
  • 1
  • 3
4
votes
6 answers

How to disable SELinux for Apache httpd only on my Fedora 14?

By following this link I am able to just turn SELinux off completely from my Fedora 14. But I wonder how could I disable SELinux only for the httpd daemon? I don't have system-config-selinux installed and due to company firewall policy I have got to…
Michael Mao
  • 215
  • 1
  • 5
  • 12
4
votes
1 answer

How to troubleshoot Apache httpd that just went silent?

I had one of our Apache httpd servers "die" in a weird way overnight. I have looked at all relevant logs and cannot find anything out of the ordinary. This happened in our development environment thankfully, but I am rather concerned because our…
hobodave
  • 2,840
  • 2
  • 24
  • 34
4
votes
4 answers

High CPU from httpd process

I am currently getting high CPU on a server that is just running a couple of sites with very low traffic. One of the sites is in still development going live soon. However, this site is very very slow...When browsing through its pages I can see that…
KHWeb
  • 39
  • 1
  • 1
  • 2
4
votes
3 answers

Why does apache log requests to GET http://www.google.com with code 200?

I was recently asked 'What causes a line like this in our access.log?' 59.56.109.181 - - [22/Feb/2010:16:03:35 -0800] "GET http://www.google.com/ HTTP/1.1" 200 295 "-" "Mozilla/5.0 (compatible; MSIE 5.01; Win2000)" My immediate answer is that's…
Paul
  • 1,634
  • 15
  • 19
4
votes
1 answer

Linux Server HTTP Processes hang server on daily basis

I rent a Linux VM from LayeredTech which is a guest on the Xen Hypervisor. The OS is CentOS 5.3, running Apache2. Nearly every day my server behaves in such a way that leads me to believe I am being DDoS'd, but I cannot find any evidence as such. I…
WerkkreW
  • 5,969
  • 3
  • 24
  • 32
4
votes
4 answers

How can I see the httpd log for outbound connections?

The access log specified in httpd.conf for a website only shows the information for incoming connections. For outbound connections such as those issued by php file_get_contents function, how can I get the log?
peter
  • 93
  • 13
4
votes
6 answers

Permissions of /run/php-fpm/www.sock getting reset to root when php-fpm restarts after fixing AH02454 permission denied error

I am migrating to a new server to upgrade my internals and I have encountered this error when standing up my apache and PHP [Fri Apr 09 16:51:26.243820 2021] [proxy:error] [pid 31179:tid 140021109556992] (13)Permission denied: AH02454: FCGI: attempt…