Server :: Apache Stops Responding To HTTP Requests Every Few Days?

Dec 28, 2010

I've had a VPS running Ubuntu 9.10 x64 server, hosting 3 websites of mine for a few months now. This problem has been happening for a while. Every once in a while, probably every 2 or 3 days, I'll wake up in the morning, and apache won't be responding, no web pages will load. /etc/init.d/apache2 status, reports that apache is functioning properly. Every time I simply have to restart the daemon and things run fine for another few days.

I thought maybe it was a memory issue, so I lowered the MaxClients in the prefork module from 50 to 30 a few days ago, but the same thing is still happening. My VPS has 512MB of ram, burstable to 1GB, and according to Virtuozzo, there was only one night of high traffic where I even came close to that soft limit. I've checked my syslog, and there's absolutely nothing in there about apache. I've checked apache's error.log as well, and there's nothing in there that would indicate a problem either.

View 3 Replies


Server :: Apache Reverse Proxy Slow In Serving HTTP Requests

Mar 18, 2010

A Linux (CentOS5.3) server is setup with apache reverse proxy. The reverse proxy server is opened to outside and an internal server is mapped to ProxyPass configuration. SSL certificate is also installed on the Apache reverse proxy server. The problem is, it is extremely slow in serving http requests through reverse proxy. There is no problem with server resources or bandwidth. When the internal server is directly accessed through Internet, there is no delay. The backend server and the reverse proxy server are also on the same switch (same subnet). When I searched the Net, there were recommendations to enable cache in Apache. I did so as follows in httpd.conf.

<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
CacheDirLevels 5
CacheDirLength 3

But still there is no progress. Do I want to enable cache in ssl.conf too? Or is there any other workaround to speed up Apache reverse proxy. Is there a way to check that caching is happening?

View 4 Replies View Related

General :: Configure Apache To Use Https Instead Of Http For Some Requests?

Mar 7, 2011

For some of the files that I share using Apache, I want to make sure that they are served ONLY via https.

How can I configure this for Apache?

View 1 Replies View Related

OpenSUSE Network :: Bootpd+xinetd Setup - Server Is Not Responding To Requests?

Jan 6, 2010

I have installed bootpd-dd2 and enabled and configured it with xinetd. 1. Made sure that their is a bootptab file and it is configured. 2. Tested the bootpd is working by runing the command /usr/sbin/bootptest cmdbfs .3. tail -f the /var/log/messages and saw the requests from the test.4. rebooted a machine that is configured to pxe boot.there is no messages by bootpd when a request is made.request is picked up by network monitor on a seperate computer on the proper udp port

View 9 Replies View Related

Server :: Squid Accepts Only HTTP Requests But Speaks FTP On The Server Side?

Apr 26, 2011

Here is my query:

Squid document says that Squid accepts only HTTP requests but speaks FTP on the server side when FTP object are requested.

We call Squid HTTP and FTP caching proxy server. Does it also caches FTP contents? Is it possible to configure FTP clients to use Squid cache? When we make an FTP request to an FTP site via Squid will it be bypassed?

View 5 Replies View Related

Server :: Redirect The Incoming Http Requests To The Appropriate Webserver?

Mar 20, 2011

We have a cisco ASA firewall at work,which redirects all http traffic to our webserver. We have to install a new website ,but it can't be installed to the same server. Setting up a squid reverse proxy can redirect the incoming http requests to the appropriate webserver? If yes, could I get some directions on howto?

View 5 Replies View Related

Server :: Automatic Rewrites Or Something To Change Http Into Https Requests?

Mar 10, 2011

For one project I use a web hosting service. I wanted the entire site to be https, so I bought a service from them in which they automatically install a trusted cert so people can access the site through https protocol. Since http is still available, though, I need to do automatic rewrites or something to change http into https requests. (I don't have access to their Apache server configuration files or anything like that.)I found on the net this code to add to my .htaccess file:

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}


View 3 Replies View Related

Ubuntu Networking :: Samba Server Stops Accepting Mount Requests?

Apr 21, 2011

I'm having an issue with a Samba server running on an Ubuntu "server". Technically, it's not a server, it's just an old desktop with Ubuntu 10.04 running it..and I have a few server processes running (ProFTP, Samba, etc.)The Ubuntu server is where I store all of my important files that get backed up to a separate hard drive. I shared folders via Samba, and I use two computers to access the shares. I access the shares with an .sh file I created that uses the mount cifs command to mount to those shares.

It has been working flawlessly for a long long time, up until recently. For the past few days to a week, I will try to mount the shares with no result. In the terminal, the commands just freeze, as if the command is trying to execute, but having network issues.The only way I can get it to work is if I reboot the Ubuntu server, then it maps flawlessly. But a day later, it's back to hanging up when trying to mount.

View 4 Replies View Related

Ubuntu Servers :: Server Stops Responding After A While?

Apr 6, 2010

I recently decided to install Ubuntu and I went through all of the steps to set up a subversion server using svnserve. It all works except for one thing: it stops responding to remote computers after a while.I have the server on a 4 port wireless router/switch in my dorm room. I set up port forwarding so that the server receives all traic over the correct ports. The subversion server AND the default http server on Ubuntu work fine always as long as I access them from a computer connected to the switch in my room.The problem is that if I try to access it from anywhere else, it won't respond at all unless it has been accessed by a computer on the switch recently (something like 30-60 minutes). So to fix it I have to go back to my room and access it from a computer on the switch. Then it will work from anywhere for another 30-60 minutes.

View 2 Replies View Related

CentOS 5 Server :: 5.3 Network Stops Responding?

Apr 24, 2009

after a update to 5.3 from 5.2 via the built in updater the system stops responding to visitors from the outside, http that is, but heres the odd part, if i say run firefox on the server the connection works also for some reason if i'm on the network with my own computer the connection seems to stay open but as soon as i stop using these the server seems to drop the conenctions, but as i said as soon as i go via my comp to the server via say ie it works right away.

this i tried yesterday:did a cold boot to see if some update had problems and actually needed a reboot even if the updater didn't say, after it started the connection seemed to be open for a good while, and not untill this morning from a outside source the connection is droped again, not been on my comp nor logged on on the server today yet.the install only has on it what i got from the dvd, and as far as i know it has all the updates on it since 5.3 came network is built up like this:



View 19 Replies View Related

Ubuntu :: 9.10 Unresponsive To Network Requests Every Couple Days?

Jan 7, 2010

I upgraded to Mythbuntu 9.10 from 8.10 and things went fairly well. No major problems during the upgrade. The system is just a mythbackend server. The only things that access it are for myth and for the smb mounts for mythtv. Every couple days, the system stops responding to network traffic. No myth connection, no smb, no pings even. All I have to do is wiggle the mouse on the system and everything comes back up instantly. I noticed that after it comes back up, the time is off by hours.

View 1 Replies View Related

Server :: Apache Incorrectly Handling Requests For Numeric PHP Filenames?

Nov 14, 2009

I'm working on a thorny mod_rewrite problem. I have a mac connected to my LAN running MAMP (Mac/Apache/MySQL/PHP). I request a non-existent file:

I see this in the mod_rewrite log file:

Code: - - [14/Nov/2009:13:46:07 --0800] [][rid#8ec850/initial] (2) init rewrite engine with requested uri /careers/db/1.html - - [14/Nov/2009:13:46:07 --0800] [][rid#8ec850/initial] (1) pass through /careers/db/1.html
Note that the requested uri is /careers/db/1.html

If I change just the file extension on my request to PHP like so:

Code: [URL]

Then the request uri is totally different now. Here's the rewrite log:

Code: - - [14/Nov/2009:13:47:23 --0800] [][rid#8fc850/initial] (2) init rewrite engine with requested uri /Applications/MAMP/htdocs/careers/ - - [14/Nov/2009:13:47:23 --0800] [][rid#8fc850/initial] (1) pass through /Applications/MAMP/htdocs/careers/
Note that the requested uri now has a full path which does not include the actual filename, /Applications/MAMP/htdocs/careers/

What the heck? More info. If I request [URL], I can actually access p1.php. The requested uri is /careers/db/p1.php. The problem appears to be because the filename starts with a number. I can also request [URL] and get thru to 1.php with requested uri /careers/db//1.php. Does mod_rewrite think /1 refers to a backreference or something? Why can apache handle the html file request properly and not the php file request?

View 8 Replies View Related

Server :: Shell Command Which Allows To Have Number Of Requests/seconds Under Apache?

Jun 26, 2010

1-Can I have the shell command which allows me to have the number of reques ts/seconds under the Apache server?

2-And the number of sons threads in service/wait?

View 3 Replies View Related

Server :: Apache Simultaneous Requests Time Out While PHP Script Is Running?

Apr 1, 2011

On my server I provide OCR file conversion service but the problem is when a user uploads a file and it's being converted then if you open another tab and try to load the site it won't respond until that conversion is completed. In other words until the PHP script finishes execution apace doesn't serve any other request to the same browser.

Here is my apache configuration:


ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/


You can check what I mean if you try to upload and convert a file and while the file is converting try opening the site in another tab.

View 2 Replies View Related

Networking :: HTTP Requests Always Go By TCP Connect Tunnel?

Aug 14, 2010

How do Http requests and responses go from a client to the server? IS a TCP Connect Tunnel always formed or is there some different mode ?

View 4 Replies View Related

Networking :: Forward All Http/https Requests ?

May 12, 2010

I have a server (Fedora 12) setup at a client's datacenter and the network is setup to allow me ssh access into the server, but prevents me from opening any connections from the server. However, I need to make http and https request from the server. What I'd like to do is forward all http/https traffic through another machine outside the network.

I've been looking at the documentation for ssh and the various options there and have gotten so far as to enable initiating an ssh connection from the client network back to my machine, but am not sure where to take it from there.

Here are some of the commands I've used so far:


I'm attempting to bind port 80 to be forwarded through the local machine. I assume I use "ssh -R" to create a dynamic tunnel to forward requests but I must be missing something.

By the way, root login via ssh is disabled.

View 5 Replies View Related

OpenSUSE Network :: Block HTTP Requests From Other Computers?

May 30, 2011

My computer shares an internet connection using an ADSL router.There are other three machines.I have set up a Apache server for learning purpose and I want it to be inaccessible from anywhere else including the PCs in the network.When I enter my ip-address assigned in the network ( from other computer,I get my ppages and I dont want that.

How can I block HTTP requests from other computers?

View 6 Replies View Related

Server :: Apache HTTP And Tomcat - How To Process Java Servlets

Jun 8, 2011

Fedora 14. I have Apache HTTP Server installed and running fine. I am interested in doing some java servlet pages. Am I correct that in addition to the above I need to install another server - for example Tomcat - that knows how to process java servlets? I see that yum has tomcat. And that Tomcat is not an add on to the HTTP Server, but an alternative to it? i.e I start one or the other?

View 2 Replies View Related

Server :: Start Download Files Through Http Protocol With Apache 2?

Jul 2, 2010

I'd like to permit to start download file when I click over some links. How can I to start download files through http protocol with apache 2?

View 5 Replies View Related

General :: Utility To Execute HTTP Requests And Examine Raw Responses

Jul 24, 2010

I'm learning about the HTTP protocol and I'd like to know if there's a tool I can use to input a HTTP request I have created myself that will output the raw response. I've had a look at cURL and wget but they don't seem to have an obvious option to do this. For example:

$ http_response < my_http_request.txt
HTTP/1.0 200 OK
Date: Sat, 24 Jul 2010 18:43:58 GMT

View 3 Replies View Related

Networking :: Forward Local HTTP Requests To Remote Proxy?

May 4, 2011

How to forward local HTTP requests to remote Proxy with IPTables ?

View 1 Replies View Related

Debian Configuration :: Both HTTP And HTTPS On Same Server? (Apache Virtual Hosts)

Oct 30, 2015

How to best manage both http and https pages on the same apache-server without conflicts. For example, if i have both 000-default.conf and 000-default-ssl.conf pointing to, and don't want users who visit without specifically type the https-prefix to be redirected to the https-page - how to handle users using browserplugins such as https-everywhere etc?

Another option would be to create a subdomain and have users who want to reach the ssl site to have to type ssl. I have tested several things with https everywhere enabled in my own browser, and it seems really hard to make this working the way i want, in one way or another i always end up getting redirected to the ssl-site automatically.

The reason i need this to work is because i run one site that i don't care much about SSL, that is the "official" part of that site, and i also host some things for friends and family on the SSL-part. This would not have been a problem if it wasn't that i use self-signed certificates for my ssl-site and the major user become afraid when a certificate-warning pops up in their browser and therefor leave the site.

View 2 Replies View Related

Server :: Send Files From A Unix Using Http / Curl To A Webserver Running Apache

Jun 9, 2010

I'm trying to send files from a Unix server using http/curl to a Linux webserver running Apache. I get the following PUT error message when and the file does not send:

<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL

View 2 Replies View Related

Fedora :: 13 Stops Responding During Session?

Jun 12, 2010

Fedora 13 stops responding during an open session. I am not able to open a terminal or any application, although the mouse still works. I able to get to the shutdown menu, although the system will not shutdown. The only option I have is to do a hard rebootfter a reboot, I am able to log on again and the system performs normal for a few minutes. After a few minutes the system freezes again except for the mouse

View 5 Replies View Related

Ubuntu :: 10.04 64bit Stops Responding?

May 2, 2010

I've been using 10.04 since just before the release candidate, currently I've installed a clean full install of 10.04 and I've been experiencing random nonresponse times with my system. I could just be sitting here reading some email or visiting a web page and suddenly the system will just stop responding.

When this happens nothing responds. No mouse, no keyboard, nothing. It's a total lockup. This problem wasn't happening with any of the Ubuntu releases before 10.04 but something with 10.04 doesn't seem to like my system. My system is an AMD X4 Phenom processor with 7GB of ram, ATI video, etc. It's a fairly nice system and this nonresponse issue is really starting to annoy me.

Is anyone else having a similar issue? I'm going to download the 32bit version and install it to see if the problem happens there too. Not sure on how to track down what could be happening as it really look like its random at this point. Pretty strange and very frustrating. I suppose if I can't figure it out, I can just reinstall 9.10 for now.

View 5 Replies View Related

Ubuntu :: 10.04 Stops Responding For A Few Seconds?

Sep 15, 2010

I know this is the kind of vague post that people hate. But I'm having a problem. Every now and then (several times a day), my computer stops responding for several seconds.

I notice it most in Firefox. If I'm typing information in a form (like this one) on a web page, everything just stops. If I keep typing, the text eventually appears, apparently having been stored in a keyboard buffer.

But it's not just in Firefox. I have had the same problem in OpenOffice applications. Things just stop. The computer apears to "think" for several seconds, and then things continue.

After several seconds, everything is okay. So some people may say that this is normal. And while I'm no guru, I have been around computers for a long time, so I remember back in the day when this happened all the time. But I haven't seen it (at least to this extent) in previous versions of Ubuntu (or in Windows).

It's a serious problem.

what I should look at? I have a feeling that there is some setting somewhere (cache, etc.) that is set wrong.

View 4 Replies View Related

Ubuntu :: Mouse Stops Responding For A Moment

Jan 10, 2010

There seems to be an issue with my mouse. This issue is present whether working in Ubuntu 9.10, or Windows 7. The mouse stops responding for a moment or two every little bit. At first I thought the problem came from power management, but that doesn't seem to be it. I tried disabling hpet, and a host of other things. Nothing works at all, and yes, I tried using another mouse. my system is nice and new

K9N6PGM2-v main
N260GTX OCv4 graphics
Phenom x3 proc
logitech nX80 mouse

View 4 Replies View Related

Ubuntu :: Evolution Mail Stops Responding?

Apr 14, 2010

resolve an issue with Evolution Mail, I normally keep in runningbut when i return in the morning almost every time it has stopped responding. I have to close, or force close, then restart to get it to check for mail and run normally

View 4 Replies View Related

Ubuntu :: 10.04 Freezes - Computer Stops Responding

Jul 5, 2010

I am using a 64 bit version of Ubuntu 10.04 on my Dell Studio. Sometimes my computer stops responding. I wouldn't say completely frozen, kinda semi-freeze. I am able to see the mouse pointer move and also when I move the mouse pointer over the Maximize, Minimize or Close buttons, the buttons get highlighted but I am unable to click on them. Alt+Tab key combination to move to another window doesn't work either. I experienced the same problem when using Ubuntu 9.10 64 bit for which reason I dumped Ubuntu then.

View 2 Replies View Related

Ubuntu :: Evolution Stops Working/responding?

Dec 6, 2010

I'm having some trouble with Evolution. I have set up two IMAP accounts and ne POP account. Whenever I leave Evolution running for a while, work with something else and then get back to check my email it won't show new emails for the IMAP accounts. In the "progress bar" at the bottom it shows:Ping server XXX (0% complete) Checking new emails (0% complete) nd this seems to go on and on, I've waited for abt.0 minutes for it to finish pinging and checking for new emails but it doesn't stop. The P account works fine. If I however close Evolution and then start it again it immediately check and show new email in the IMAP accounts. Is there any solution to this

View 1 Replies View Related

Copyrights 2005-15, All rights reserved