Server Slowdown/crash Due To HTTP Request

Jun 13, 2008

I have a Linux server running some reasonable setups:

Opteron 180, 4 GB RAM, running 8x 36gb 15k scsi with hardware raid 10 -- this is one of the servers from WebNX advertised here not long ago

Running CentOS 4(?), Apache2/MySql 4/PHP5.2, the normal stuff.

I have only one main site on the server, which runs a pretty old PostNuke CMS in Chinese (0.7.2.3 Phoenix) + PNphpBB2 + Gallery 1.5.7 (all integrated into PostNuke). This site is pretty light in "human" traffic, getting about 20K hits per day.

Now, the problem I have noticed with this site, is related to the many MP3 files stored in the Gallery albums. There are lots of HTTP requests to these files, most maybe from Chinese search engine bots (judging from IP), that slows the server to a crawl and even crashes Apache. This happens in the late hours here when it's day time in China. As a matter of fact I just did a reboot, and in 5 minutes there are more than 1000 HTTP requests to MP3 files resulting in a traffic of 2.1+ Gb. So within minutes, the server is brought to its knees again and I can't even get the "apache status" from CPanel now: "Unable to retrieve apache status".

The company that manages the server for me said there's no security problem here. We have installed an Apache extension to limit the number of simultaneous requests to media files to 1. However that doesn't seem to help.

View 6 Replies


ADVERTISEMENT

Apache :: Cannot Get Server To Respond To HTTP Request

May 6, 2013

I have an Xitami server and am migrating to apache httpd. I have the regular server working fine. I tried configuring ssl, but no requests are coming through. I know 443 is open on the router because it works fine under Xitami. I checked the logs and it si starting fine. I am attaching my httpd.conf and the startup log. If I try to access the website using https, it just times out and nothing goes in the log file. I replaced my domain with domain.com. I have tried many different examples, but cannot get it to work and am not sure what to do.

View 5 Replies View Related

Invalid URI In Request GET . HTTP/1.0

Jul 22, 2008

In my logs:

[Tue Jul 22 01:01:35 2008] [error] [client x.x.x.x] Invalid URI in request GET . HTTP/1.0
(yes, that is it for this entry/line)

This showed up in logwatch as:
Requests with error response codes
400 Bad Request
.: 4 Time(s)

...what was this guy trying to do?
The offending IP was banned in APF last night, if his IP is still showing up in my logs, is he using aproxy?

After adding his ip to:
/etc/apf/deny_hosts.rules

I ran:
apf -r

View 2 Replies View Related

HTTP Request For HTML Only

Aug 2, 2007

Is there a way to construct an HTML request so that only HTML text is returned (without images or rich media)? I assume search engines do this - how?

What I'm trying to do is write an Apache module that will retrieve only text from a web site. The idea is to provide a Lynx-like experience, using Apache as a proxy between my workstation and my ISP.

View 13 Replies View Related

HTTP 1.1 Request Via Telnet (hostname Issue Maybe)

Jun 8, 2008

I have a script that makes a request via telnet and it worked on my old server, but not on the new one.. Heres what I'm doing

telnet localhost 80

GET /files/downloadFLV.php HTTP/1.1
Host: www.soybe.com
I get this back:

HTTP/1.1 404 Not Found
Date: Sun, 08 Jun 2008 06:34:25 GMT
Server: Apache
Last-Modified: Tue, 18 Mar 2008 06:52:59 GMT

I know that /files/downloadFLV.php does exist, so I'm thinking it could be an issue with the Host: part of it, any ideas?

View 1 Replies View Related

Apache :: Redirect HTTP And Www Request To HTTPS

Dec 18, 2013

i want to redirect main domain http //, www request to https://

i added this code

RewriteCond %{HTTPS} off# First rewrite to HTTPS:# Don't put www. here. If it is already there it will be included, if not# the subsequent rule will catch it.RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]# Now, rewrite any request to the wrong domain to use www.RewriteCond %{HTTP_HOST} !^www.RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

View 2 Replies View Related

Fordward Specific Port Http Request To Https

Jan 17, 2007

how to catch request over http and forward them to https, I have VPS/Plesk and I was wondering how to do that.

Also, what do you think about having a sub domain on each client domain to access plesk, likes this:

[url]--> [url]

View 5 Replies View Related

How Can I Ban A Browser/client Type Http Request In Apache2 Configuration

Feb 15, 2007

How can I ban a browser/client type http request in Apache2 configuration?

For example; I would like to redirect all 'Opera' traffic to another URL or ban it altogether.

View 5 Replies View Related

Mysterious Computer Slowdown (windows 2003 Server)

Feb 15, 2008

I have a Windows 2003 Server I use as a regular computer.

It would occasionally slow down to a crawl and programs become unresponsive. The hard drive light is usually on when this happens, and it usually lasts like a minute or two, then things are back to normal again.

Sometimes I'm lucky and get to open up task manager to try and see what's causing this. However every time the CPU load is low, and memory usage is normal.

How can I figure out what is causing this, or how to get rid of it?

View 6 Replies View Related

1&1 VPS Slowdown

Jan 7, 2008

About four months ago I purchased a 1&1 VPS II for my site Crazy4Jigsaws.com. The site worked fine up until about a week ago. Now the site will become extremely slow (more than 2 minutes to load a page) for a period of 20 minutes to an hour randomly throughout the day. After this slow down period, the site will be extremely fast until the next slowdown occurs.

I contacted tech support several times and they claim that the site slow down is because my site is a php-mysql driven site and the slowdown is due to too many people visiting the site at once. My site gets only about 1,500 visitors a day and there are only simply sql queries being executed (ex: select a row out by its id key). They want me to buy a dedicated server but I can't imagine this is the problem. I have another site on a shared host that gets 10x as many visitors per day (another php-mysql driven site) and I've never had any problems with it.

So my question...am I really exceeding the VPS capacity? I've got 256 MB guaranteed RAM and I'm only using about 30% of it. If not, what could be causing the slow down? Tech support is "sure" this is the problem and has given up on my account. I mean if it can't handle my site, what type of site could it handle?

View 4 Replies View Related

Site Slowdown On VPS

Jul 24, 2007

I bought a linux (cent os 4) vps with 128MB RAM on a 5Mbps connection. I am hosting just one proxy site using lighttpd and it uses about a Gigabyte of bandwidth per day. It gets between 500-900 uniques per day. The problem I am having is that the site is very slow even though it is not using much ram or cpu resources:


top:
----
top - 21:04:04 up 4:18, 0 users, load average: 0.02, 0.01, 0.00
Tasks: 18 total, 2 running, 16 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2% us, 0.0% sy, 0.0% ni, 99.8% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 262144k total, 39200k used, 222944k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13565 admin 15 0 17540 7984 5372 S 0.3 3.0 8:32.33 php-cgi
1 root 15 0 1696 604 520 S 0.0 0.2 0:00.42 init
7277 root 15 0 6916 2260 1820 R 0.0 0.9 0:00.01 sshd
7303 root 15 0 2224 1304 1064 S 0.0 0.5 0:00.00 bash
7340 root 15 0 1952 968 788 R 0.0 0.4 0:00.00 top
11414 root 18 0 1596 548 456 S 0.0 0.2 0:00.12 syslogd
11638 root 15 0 4068 1144 840 S 0.0 0.4 0:00.04 sshd
11861 root 19 0 2148 816 684 S 0.0 0.3 0:00.01 xinetd
12244 tinydns 15 0 2540 356 284 S 0.0 0.1 0:00.07 tinydns
12245 dnscache 18 0 3724 1552 500 S 0.0 0.6 0:00.03 dnscache
13546 apache 15 0 11376 8776 1284 S 0.0 3.3 0:13.50 lighttpd
13558 admin 18 0 16556 5680 4036 S 0.0 2.2 0:00.00 php-cgi
13653 root 16 0 2224 1116 964 S 0.0 0.4 0:00.00 sh
13704 root 18 0 3468 1368 1108 S 0.0 0.5 0:00.05 lxadmin.exe
13796 lxlabs 15 0 3828 864 516 S 0.0 0.3 0:00.87 lxadmin.httpd
13903 root 21 0 2220 1140 972 S 0.0 0.4 0:00.00 mysqld_safe
14090 mysql 18 0 11640 4328 3416 S 0.0 1.7 0:00.06 mysqld

openvz-free.sh
-----------
privvmpages usage: 38 MB (14%)
privvmpages usage: 39088 KB (14%)

What could be the cause of the slowdown? Is it the 5mbps connection? How can I be sure?

View 0 Replies View Related

Server Constant Crash

Jan 3, 2009

I have in my possession a new server which is running cPanel. For some unknown reason it keeps crashing about every 4-6 hours where I must get a remote reboot done.

Its starting to annoy me that I'm unable connect to anything. What I suspect is high disk red/write. As what I'm finding is over 10k blocks being written per second with only 300 being read per second. I also am not seeing any bandwidth out/in usage being high.

View 14 Replies View Related

Server Crash With NyNoc

May 27, 2009

I have a dedicated server with NyNOC and earlier on today the server dissapeared off the net, wouldn't respond to ssh, http etc, nor pings

I submitted a ticket and the server got rebooted, went through the FSCK check and came back up ok, but now I'm concerned as to what caused it
Andy the technician said he couldn't find out the reason why and neither can I
I can only put it down to PERHAPS faulty hardware somewhere?

The /var/log/messages file doesn't say anything useful, the last entries show..

Quote:

May 27 06:41:17 server kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:xxxxxxxx SRC=xxxxxxxx DST=255.255.255.255 LEN=153 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=8778 DPT=11777 LEN=133
May 27 06:56:43 server kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:xxxxxxxx SRC=xxxxxxxxx DST=255.255.255.255 LEN=153 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=8778 DPT=11777 LEN=133
May 27 07:02:56 server kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=00:14:d1:14:a7:c0:00xxxxxxxxx SRC=xxxxxxxxx DST=xxxxxxxx LEN=622 TOS=0x00 PREC=0x00 TTL=48 ID=0 DF PROTO=UDP SPT=54284 DPT=1027 LEN=602
May 27 07:03:13 server kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:14:d1:14:a7:c0:xxxxxxx SRC=xxxxxxxx DST=xxxxxxxx LEN=48 TOS=0x00 PREC=0x00 TTL=117 ID=47647 PROTO=TCP SPT=21173 DPT=22 WINDOW=65535 RE$
May 27 13:01:45 server syslogd 1.4.1: restart.
May 27 13:01:45 server kernel: klogd 1.4.1, log source = /proc/kmsg started.
May 27 13:01:45 server kernel: Linux version 2.6.18-128.1.10.el5PAE (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Thu May 7 11:14:31 EDT 2009
May 27 13:01:45 server kernel: BIOS-provided physical RAM map:
May 27 13:01:45 server kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
May 27 13:01:45 server kernel: BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
May 27 13:01:45 server kernel: BIOS-e820: 00000000000e7000 - 0000000000100000 (reserved)
May 27 13:01:45 server kernel: BIOS-e820: 0000000000100000 - 00000000affb0000 (usable)
May 27 13:01:45 server kernel: BIOS-e820: 00000000affb0000 - 00000000affc0000 (ACPI data)
May 27 13:01:45 server kernel: BIOS-e820: 00000000affc0000 - 00000000afff0000 (ACPI NVS)
May 27 13:01:45 server kernel: BIOS-e820: 00000000afff0000 - 00000000b0000000 (reserved)
May 27 13:01:45 server kernel: BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
May 27 13:01:45 server kernel: BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
May 27 13:01:45 server kernel: BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
May 27 13:01:45 server kernel: BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
May 27 13:01:45 server kernel: 4224MB HIGHMEM available.
May 27 13:01:45 server kernel: 896MB LOWMEM available.
May 27 13:01:45 server kernel: found SMP MP-table at 000ff780
May 27 13:01:45 server kernel: Memory for crash kernel (0x0 to 0x0) notwithin permissible range
May 27 13:01:45 server kernel: disabling kdump

You can see it was down for some 6 hours, but I can't find a reason why
Diskspace is ample, there's no odd programs/scripts installed (it's a Centos server running whm with CSF firewall)

View 11 Replies View Related

My CPanel Server Hdd Just Crash

Jul 1, 2008

I reboot my cpanel server twice last night and it had crash

I am now running e2fsck and it's trying to fix the inode thing.. i've been pressing <y> 10000 times! Poor thing my fingers cramp

I've been thinking to mount my primary drive into another cpanel server (not a fresh server) as secondary drive and restore from there. The question is how? I need detailed steps by steps as it's urgent for me..

View 4 Replies View Related

Server Crash On Big Sql Restore

Aug 15, 2007

I just got a new server the other day, installed cpanel and all my usual stuff in it.

Then I started transferring some accounts off my other server on the same network. It would transfer small accounts ok but I have this one big account,. the sql is like 300 mb. It would get to the restore on it then the server would crash and be totally unresponsive.

It has to be manually rebooted at the datacenter. There is nothing in any logs. At first I thought it was the load getting hi and doing it but I ran the unix bench and got the load to 14 and it didnt hurt it.

It only does this on restoring big sql db. At the dc they say the screen on the console goes blank.

Ive done looked and cant find anything in the box. Its actually the same exact setup I use for my other servers.

So the dc is looking at it today. Has anyone ever ran into a problem like this and if so what was the cause?

View 2 Replies View Related

Server Crash Error

Feb 16, 2007

What could cause the following on one of our servers?

Rebooted and was fine.

May have happened before, will have to dig deeper into logs.

Running CestOS 4.4 (cPanel/WHM)

Assertion failure in __journal_file_buffer() at fs/jbd/transaction.c:1966: "jbd_is_locked_bh_state(bh)"
------------[ cut here ]------------
kernel BUG at fs/jbd/transaction.c:1966!
invalid operand: 0000 [#1]
SMP
Modules linked in: ipt_state ipt_TOS iptable_mangle ip_conntrack_ftp ip_conntrack_irc ip_conntrack ipt_REJECT ipt_LOG ipt_limit iptable_filter ipt_multiport ip_tables autofs4 sunrpc md5 ipv6 loop dm_mirror dm_mod button battery ac uhci_hcd ehci_hcd e100 mii ext3 jbd ata_piix libata sd_mod scsi_mod
CPU: 1
EIP: 0060:[<f8830dfc>] Not tainted VLI
EFLAGS: 00010216 (2.6.9-42.ELsmp)
EIP is at __journal_file_buffer+0x42/0x221 [jbd]
eax: 0000006b ebx: e5b6d3dc ecx: da83add0 edx: f88361ca
esi: f6da3300 edi: 00000001 ebp: 00000000 esp: da83adcc
ds: 007b es: 007b ss: 0068
Process pdflush (pid: 5216, threadinfo=da83a000 task=cb5ad2b0)
Stack: f88361ca f8835eac f88361b5 000007ae f8836634 e5b6db3c 00000000 dcca5660
e5b6d3dc f7638d68 f7f48200 f8830165 f7f482e4 00000000 00001000 f7638d68
dcca5660 00000000 f8898e42 00001000 00000000 dcca5660 f8898cda dcca5660
Call Trace:
[<f8830165>] journal_dirty_data+0x17d/0x1bc [jbd]
[<f8898e42>] ext3_journal_dirty_data+0xc/0x2a [ext3]
[<f8898cda>] walk_page_buffers+0x62/0x87 [ext3]
[<f889927a>] ext3_ordered_writepage+0xee/0x13a [ext3]
[<f889917a>] journal_dirty_data_fn+0x0/0x12 [ext3]
[<c0178962>] mpage_writepages+0x1c2/0x314

View 5 Replies View Related

Server Crash No Logs

Jan 28, 2007

we have dual xeon linux server redhat 9 / cpanel

we have a strange crash .... you cant access ftp /ssh / httpd ...

i need to request a server reboot to get access ... and everything after this run ok...

i have check message log .. nothing in it for example

10:20:10 ftp log
11:15:60 rebootlog

also the same in httpd log ...

so as you see there is a gab between the server crash till reboot....

this happen 3 times till now ...

View 3 Replies View Related

Apache Server Crash

Mar 10, 2007

The Apache server on one of my box crashed last night and the log file simply states:
[Fri Mar 09 23:51:49 2007] [notice] caught SIGTERM, shutting down

One thing puzzled me is that there are a couple of symbolic links created in Apache home directory:

lrwxrwxrwx 1 root root 25 Mar 9 23:51 build;45f23959 -> ../../usr/lib/httpd/build
lrwxrwxrwx 1 root root 19 Mar 9 23:51 logs;45f23959 -> ../../var/log/httpd

They were created around the same time when Apached stopped.

Has anyone seen similar things like this? What could be the root cause?

View 5 Replies View Related

Constant Server Crash, How To Trace?

Apr 21, 2007

My server is constantly crashing (halting to dead) and needing reboot literally every few hours. I cannot trace the cause of this whatsoever. Please help out.

CPU/Memory/MySQL Usage shows no accounts in red or yellow zone ....

View 6 Replies View Related

Windows 2003 Server Crash

Apr 14, 2009

I have a windows 2003 server with Plesk installed. It keeps crashing and requires a reboot every couple of days.

Here are screenshots of event logs and task manager.

Also, its a Pentium HT with 1GB memory, so it isn't too slow for Windows.

View 4 Replies View Related

PLESK And Qmail Slowdown After Update

Nov 15, 2007

We are experiencing a slowdown on one of our servers running PLESK 8.2 . Has anyone noticed a problem with the latest qmail update provided by PLESK?

Our tech feels it is a faulty upgrade, and is looking into it.

Has anyone made the upgrade and noticed a problem? Our average load went from around 5 to 50.

View 2 Replies View Related

Server Crash On Weekly Basis 1and1

Mar 19, 2008

I have a lynix root server with 1and1.com and recently the server has been going down I have no access to FTP/the sites or root. Their support tells me to look in var/log but im not sure what file to look in or what im looking for as far as to why the server would crash.

So far my solution has been to re boot the server and it has been working but i need to find the cause of this...any suggestions on where to look or what to look for?

View 14 Replies View Related

May Server Crash Due To High Load With Low CPU And RAM Usage

Oct 29, 2009

I have server load like 40.

Nothing lags.

Server has RAM usage 20% and CPU usage goes up to 25%

Swap isnt used at all.

Should I be afraid of server crash incase server load goes up to 60 or 80 without ram and cpu usage rising that much?

View 9 Replies View Related

Server Crash While Repairing Large Database

Oct 12, 2007

for months my server has been running fine, since about a week ago the server crashed and was up and down

the fault was found to be faulty ram which has been replaced.

now I have had every tom, dick & harry take a look at the server to get it stable again but im still having issues.

The server seems to run fine but crashes when I try and repair or backup my database.

the database is large like 30gig but the server used to do this fine before but it wont now, it get so far then hangs.

Server:
Dual Core Xeon
4GB Ram
2x 250GB HDD
Raid 1

View 6 Replies View Related

Eating Cache Memory, Then Server Crash

Dec 3, 2007

My RAM is 2G.

The cache memory of my server is eating, After 2 weeks, the cache memory is below 1G, then the server crashed.

After I reboot the machine, the cache memory back to normal. But it starts to eating again.

I have attached the graph.

I am using lighttpd, php, mysql

View 5 Replies View Related

How To Test Server So It Won't Crash At Peak Times

Apr 5, 2007

I have a problem. to buy dedicated server but I don't really know what to buy. I need some kind of stress test for server so that I can be assured that my website won't crash when it will be on front page of digg. Does something like that even exists?

View 7 Replies View Related

Can Installing PHP On Windows IIS Server Crash Your Site

Jul 6, 2007

The company I work for unfortunately runs their site on a IIS server. I want to install some forum software, vBulletin or phpBB onto the server and run it on the same site. PHP of course needs to be installed to do this.

Boss is worried that putting PHP on same server as ASP might take down the site if something goes wrong. What are the odds of this happening if I follow directions and what steps should I take to install?

View 4 Replies View Related

Server Crash: Detective Work Advice

Sep 5, 2007

I am running FC2 with cPanel.

My server stopped responding to everything from http to ping and I had to do a hard reboot on it.

Now, I'd like to figure out what happened but am not sure where to start. I've been sifting through /var/log/messages but can't pin point what I'm looking for.

View 6 Replies View Related

Apache :: Generate Crash Dump In Windows 2008 Server R2

Sep 5, 2014

generate crash dumps for apache 2.4.9 at the time freeze or crash in windows environment 2008 server R2.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved