Websites Timing Out

Mar 10, 2008

I'm not sure why my brand new dual proc quad core xeon 2.5ghz harpertown gets time out when the server load is under .5

Like it'll be running ultra fast and suddenly, I can't get into ssh, whm, my websites or anything. When I ping it, no reponse. Is it because it restarted itself?

View 4 Replies


ADVERTISEMENT

Php Cli Keeps Timing Out

Mar 24, 2009

I have a php cli shell script that I want to be running continuously without ever stopping. However, I noticed that it would stop executing after a while on its own.

Is there a way to keep a script running forever without timing out, or daemonize it?

View 8 Replies View Related

CRON Job Timing Out

Sep 19, 2007

i have had a problem for some time now, regarding my CRON jobs. I am trying to download a large amount of data from ebay (through their API, totally legal and aboveboard) using php, but my CRONjob times out.

I have tried resetting the timeout variable, but then it exceeds the maximum filesize
SO, my question: is there any way to have a script run as a CRON job, and wen it is complete, call another script?

View 4 Replies View Related

Apache Timing Out

Feb 10, 2007

I have recently tweaked my server (AMD 3000+ 1gb Ram 10mbps port) by configuring the httpd.conf, my.cnf and php.ini.

I am pleased to say that the server is now responding well and the load is always below 1.00.

However, sometimes a user will experience a time-out through their browser. Once they refresh the server will then react as it should and carry out the command which is being asked of it.

tweaking apache so that timeouts do not occur....here are the changes I have made...

php.ini

Code:
[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = Off
httpd.conf

Code:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
MinSpareServers 16
MaxSpareServers 32
StartServers 20
MaxClients 150
MaxRequestsPerChild 5
and finally here is my.cnf file

Code:
[mysqld]
skip-locking
skip-innodb
max_connections = 400
key_buffer = 200M
myisam_sort_buffer_size = 64M
join_buffer=2M
read_buffer_size = 5M
sort_buffer_size = 5M
read_rnd_buffer_size = 5M
table_cache = 1536
thread_cache_size = 128
interactive_timeout=100
wait_timeout=10
connect_timeout=10
tmp_table_size = 48M
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 3M
query_cache_size = 64M
query_cache_type = 1
thread_concurrency=4
log-slow-queries = /var/log/mysql/mysql-slow.log
old-passwords = 1

[mysqld_safe]
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M

[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M

View 6 Replies View Related

A Tale Of Woe And Bad Timing

Aug 28, 2007

I decided to merge 2 old dedicated servers into 1 colocated machine with better specs the old machines have a combined number of about 280 accounts.

I purchased a Broadberry Server and requested a specific setup and OS (CentOS) after some delays they finally got it working and shipped it to the Datacentre

I chose 49pence/RapidSwitch for colocation in the UK

I received a email from 49pence on how they wanted it setup and Broadberry did this as well which was good.

Unfortunately I got the email it had been received and installed from RapidSwtich before I received the email regarding server admin and password info

Broadberry set a very weak password up a bit of an oversight this

As within 12 hours of it being installed it was hacked!

Being a UK bank holiday we were unable to do anything till today

And now we are having to retrieve the server to reinstall everything and start again!

I hope the companys involved will be cooperative so we can get this up and running asap.

My severs at Coreix end later this month.

A lesson to be learned for us and I hope anyone reading

Next time we have a check list to make sure nothing gets overlooked!

Luckly no data on the server and no harm done other than cost and time.

View 2 Replies View Related

Httpd Running But Timing Out

Feb 10, 2007

I had a strange error this morning, httpd was running fine but nothing was loading. All the other services worked fine but I checked the error log and couldn't find anything. I restarted httpd and it's running fine now.

Quote:

[Sat Feb 10 11:48:01 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 10 11:48:01 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Feb 10 13:06:02 2007] [notice] caught SIGTERM, shutting down
[Sat Feb 10 13:06:03 2007] [notice] Apache configured -- resuming normal operations
[Sat Feb 10 13:06:03 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 10 13:06:03 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Feb 10 20:42:26 2007] [notice] caught SIGTERM, shutting down
[Sat Feb 10 20:42:28 2007] [notice] Apache configured -- resuming normal operations
[Sat Feb 10 20:42:28 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 10 20:42:28 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)

Looks just like normal operations... I checked the access log and nothing looked out of the ordinary either.

Anyway the only suspicious thing I saw was the daily scan by spammers to see if I had anything exploitable.

Quote:

[Sat Feb 10 00:16:32 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/a1b2c3d4e5f6g7h8i9/nonexistentfile.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/adserver/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/phpAdsNew/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/phpadsnew/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/phpads/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/Ads/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/ads/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/xmlrpc/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blog/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/drupal/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/community/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blogs/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blogs/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blog/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blogtest/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:35 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/b2/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:35 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/b2evo/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:35 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/wordpress/xmlrpc.php
[Sat Feb 10 00:16:35 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/phpgroupware/xmlrpc.php

I have nothing to be exploited so I'm thinking that wasn't the cause either.

I checked user_beancounters and there are also 0 fail counts.

Quote:

Version: 2.5
uid resource held maxheld barrier limit failcnt
509: kmemsize 4679572 9150217 50000000 50000000 0
lockedpages 0 0 256 256 0
privvmpages 51822 84271 262140 524280 0
shmpages 10913 10929 21504 21504 0
dummy 0 0 0 0 0
numproc 52 91 400 400 0
physpages 14273 24587 0 2147483647 0
vmguarpages 0 0 131070 2147483647 0
oomguarpages 14912 33040 26112 2147483647 0
numtcpsock 16 146 360 360 0
numflock 1 6 188 206 0
numpty 2 2 16 16 0
numsiginfo 0 25 256 256 0
tcpsndbuf 154284 371176 1720320 2703360 0
tcprcvbuf 197308 539932 1720320 2703360 0
othersockbuf 13416 239892 1126080 2097152 0
dgramrcvbuf 0 2800 262144 262144 0
numothersock 13 27 360 360 0
dcachesize 0 0 2273280 2416640 0
numfile 1199 2022 5820 5820 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 89 89 128 128 0

View 2 Replies View Related

Geo Load Balancing Via Timing Connections

May 6, 2008

I'm working on a script to help users get routed to the nearest, fastest server for the best ping. I'm in 2 datacenters, one on the east and one one the west coast of the US.

I've looked at some of the geo lookup programs based on IP, but they either seem inaccurate or expensive.. and just downright difficult to use.

I found out that some geo load balancers use the connection speed to figure out the best route. So, I'm trying to think of a way of timing the users connection from multiple server locations.

Has anyone here done that sort of thing before? Any suggestions on how to best do that?

Two completely different methods I've considered:

1. putting 2 images on a web page, and using javascript to time the loading of them.
2. pinging the user IP from each coast and seeing which is fastest. (Is there a lighter way than ping? )

View 5 Replies View Related

FTP Timing Out When Uploading Small Files

Jul 20, 2009

There is a behavour with my server FTP when uploading a whole directory with many files in many sub-directories

Very often, the server disconnect itself when actively uploading files and the log simply says 'timeout'

It is as if the file got 'stuck' half way, and the FTP consider them as idle, therefore it disconnect you with a 'timeout' before reconnecting you.

But i have no problem uploading a single 200mb file to the server via FTP. I suppose no problem with 'keep alive'

So what is this behavior and how to solve it?

View 10 Replies View Related

Apache :: Tomcat - Timing Out On Web Files

Dec 15, 2013

First time configuring Apache (2.2 w/ mod_jk) and when running locally (192.168.1.x), no problem.

When configuring from a DynDns through my UVerse router, I get several JS and CSS 'not found' and of course bad rendered site.

View 5 Replies View Related

Browser Timing Out/ftp Issues Asia Pacific/Australia/Oceania To US

Aug 11, 2008

I have a VPS located in LA, USA.

For over a week now I have had the following network issues:

- browser timing out (for me and visitors to my site)

- ftp connection issues

The server load is low so it's not server related.

Traceroute TO the server appears fine.

Traceroute FROM the server to users IP's appears to have issues over the SingTel/Optus network.

My webhost says it's an issue for SingTel/Optus.

SingTel/Optus Engineer say:
"Our testings point to a problem either within Cogent's network or on a peering link between Cogent and Singtel in LA.

I'd suggest that the owner of the domain (me!) approach his hosting provider and have them escalate to Cogent. We can't escalate to Cogent as we have no peering with them."

So I've been the meat in the sandwich for over a week with no sign of a fix.

My options appear to be to either move the VPS away from the webhost and host it locally (Australia) or to somehow wait for someone to step up and take responsiblity and get this resolved.

My heart says wait as it's not *my* responsibility but it's costing me financially and professionally.

Anyone else experiencing similiar/same issues from the Asia Pacific region to the US?

View 11 Replies View Related

How Do Websites Get Hacked?

Oct 20, 2008

Every now and then I'll run into a website that has a message that says it was hacked by a certain hacker. How exactly do this? Do they hack into the actual server or do they somehow get a hold of the website owners FTP info?

View 10 Replies View Related

How Many Websites Can Stand On VPS

Oct 19, 2009

how many websites can stand on VPS with following configurations?

I'm asking this because Can I install whm reselling script like whmphp? or WHM Reseller creator?

It enables to create master reseller and whm reseller respectively. So there will be huge number of websites, databases, emails hosted on VPS
So which one to choose?

1.
Disk space - 10 GB
Bandwidth - 200 GB
Burst. RAM - 256 MB
Gurnt. RAM - 128 MB
Max CPU Usage (per CPU) - 80 %
OS - CentOS 5.3

2.
Disk space - 20 GB
Bandwidth - 400 GB
Burst. RAM - 512 MB
Gurnt. RAM - 256 MB
Max CPU Usage (per CPU) -
OS - CentOS 5.3

3.
Disk space - 30 GB
Bandwidth - 800 GB
Burst. RAM - 1024 MB
Gurnt. RAM - 512 MB
Max CPU Usage (per CPU) -
OS - CentOS 5.3

View 14 Replies View Related

How Many Domains/websites On A VPS

Oct 17, 2009

I have a pretty 'beefy' VPS (Future Host 'Titanium' plan, 1Gb RAM, equal share, 750 Mb bandwidth, 50Gb disk).

I'm using it mostly to host relatively small, low-traffic Wordpress sites. Right now, there are about 40 domains & blogs set up.

The majority see only a few dozen visitors per day. A few have traffic around 100 visitors, and 1 or 2 may get up to 500 per day.

My question is, what might be a comfortable limit on domains/blogs I can host before I should start thinking about adding a 2nd VPS?

View 6 Replies View Related

Can't Connect To Outside Websites

Jul 30, 2009

We can't resolve any outside websites, for example wget won't resolve any websites.

elvis:~# wget [url]
--2009-07-30 03:12:15-- [url]
Resolving g-ecx.images-amazon.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address `g-ecx.images-amazon.com'
elvis:~#

How can we debug this? Its just started to do this, before it was fine for months.

We can resolve IP addresses fine.

elvis:~# wget [url]
--2009-07-30 03:18:08-- http://206.251.77.82/~proxy/images/b...ntent-view.png
Connecting to 206.251.77.82:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 241 [image/png]
Saving to: `background-content-view.png'

100%[======================================>] 241 --.-K/s in 0s

2009-07-30 03:18:08 (63.8 MB/s) - `background-content-view.png' saved [241/241]

elvis:~#

View 2 Replies View Related

How Can I Host My Own Websites

May 15, 2009

I have three domains that I want to host myself on my own computer. Two are temporary sites that I only put up on Memorial Day weekend for the Detroit Electronic Music Festival or Movement 09 to direct people to my after parties and the other site is a two page bio site for myself. I have a very tight budget this year and I can't afford to pay for web hosting all year round when these are only temporary sites even though I own the domain names all year round. I do know some of the promoters for the festival do the hosting themselves.

View 14 Replies View Related

How Come The Big Websites Never Have Downtimes

Jun 14, 2008

Just out of curiosity, do the big boys deploy hosting solutions that are different from the ones we know?

They never complain of Network Outages or Hardware failure. How come the likes of Yahoo, Facebook, Youtube and the others are always there any second you need them?

View 14 Replies View Related

How To Access Websites

Jul 24, 2008

Earlier when my client's domain was not resolved he used to easily access his website using [url]

But after putting in the openbase dir protection they cannot access the site anymore.

how can the user view their site when openbase is protected?

View 1 Replies View Related

Types Of Websites

Oct 8, 2008

what are all the different types of websites? i know there's e-commerce, forums, blogs, personal and etc. what are some other types of websites people start?

View 9 Replies View Related

For Streaming Websites

Oct 31, 2008

If one video was ~128MB and I had 800 videos, and if I had 3000 views on each video, then would a 100mbps line be able to handle that?

View 14 Replies View Related

Websites Are Not Loading

Feb 2, 2007

This is a little wierd, I am not able to see any of my websites on my home network, but from anywhere else it seems too load just fine. Even when i go through a proxy site they load. I'm still able to get to WHM and cPanel from my home but the websites themself do not load.

this started happing yesturday and after a few hours it seemed to work again on its own.

View 5 Replies View Related

Some Of My Websites Haf Been Hacked

Jun 8, 2007

i have a reseller account with canaca.com the safe mode &security mode are on! and everythings was great! till those hackers bastards appeared! they somehow could upload a php shell files to my websites! and then they deleted everythings in 4 of my websites!
i contact my tech support and they restored my websites and i checked that there is no shell files! next day,my websites hacked again and there was i php shell files in them!
i deleted those god damn files and i deleted the page that the hackers put in my websites! you security is zero,and we will hacked the entire server.., but after 3 hours the pages returned and the shell files are there! i dont belive that! the
unbelivable this is that when i want to run those php shell files the safe mode stoped them doing anythings! so how can those bastards do what they do?how can they ulpload the files in the first place? is there any soultions to this problem! cause i restored my websites about 3 times now and everyting i restore it they hacked it again and again!

View 13 Replies View Related

Cannot Access Websites

Jan 17, 2007

I think I broke my server. I was trying to install Zend Optimizer, but it didn't work.

After doing some research, I found out that I needed to disable selinux. After doing so, I rebooted. Then I installed Zend Optimizer and rebooted again.

Since then, all my websites have been inaccessible. I can access my server through Plesk control panel, but connection to my websites just timeout.

What can I do to fix this?

Edit :
I can access my sites via FTP as well.

Edit 2 :
I tried starting Apache with the following command :

Quote:

/sbin/service httpd start

...but it keeps on telling me that the service is already in use.
It seems like TCP is bound to port 80.

View 1 Replies View Related

UK VPS For 15 Websites And VPN Server

Jul 3, 2007

i currently have a reseller server in the states but ive seen for the money im paying (and im not using the space actually) i can get a VPS server here in the UK which i can combine for webhosting and other development projects. I am after a UK based VPS for the following requirements:

Host 15 websites

Access the box remotely and dial-in to the box which needs to be configured as a VPN server (the box will act as a router, i presume masquerading on eth0 for the connected vpn clients to go out through the server and onto the net).

Traffic will not be too high, maybe around 75GB per month.

Around 3-4 websites run forums on (small size phpbb) and the other sites are again small and mostly used for email.

I will need full root access and maximum configurability.

Preferably Suse 10 as i have worked with that before but i am open to suggestions on other OS. I need to configure the pppd service and easier this is via the OS the less time i have to dig in scripts and terminal! I wouldnt mind windows but on a VPS this will be a resource drain so i am happy to get more performance from the box by sticking with smaller footprint of linux.

Plesk for website management, or cpanel, i dont mind either way.

I dont however know how much CPU/RAM i will need, what is a sensible amount? I dont think my requirements are too strenuous, what would be a good sensible amount of RAM to select to allow me to host say 50 web sites in future?

I have heard good things on the forums for the following:

a2b2.com
cheapvps.co.uk
1and1.co.uk

I know you get what you pay for so i do need something reliable, but if people say the service from the above sellers is good i will go for them as the price is fantastic. It would be great to hear of other recommendations also.

View 6 Replies View Related

How Do Websites Know IP Addresses

Apr 29, 2007

Does the client tell the site or a third party internet "authority" do so.

I've heard a guy that make a program that keep changing our IP. How can anyone do that?

I thought it requires a proxy to hide your IP. You can't just "lie" to a server right?

View 1 Replies View Related

VPS You Can Host Multiple Websites?

Apr 27, 2009

So with a VPS you can host multiple websites?

Do certain packages come with WHM where you can make an account for each of your domains?

Also, what is the importance of having more IPs? Does having 1 IP allow me to have only 1 site hosted?

View 9 Replies View Related

Multiple Websites On One Server

Jun 16, 2009

we have one dev server that is hosting a website. I would like to use the same server to host another internal website. Can i do that?

I am using Linux centos OS.

View 8 Replies View Related

Hack Erases 100,000 Websites

Jun 9, 2009

Don't know if anyone else saw this.

[url]

Once again points out the importance of backups.

View 5 Replies View Related

Check Websites Before Dns Propogation

Feb 23, 2008

I used to check new websites before dns propagation by adding an entry to windows/system32/drivers/etc/hosts file and used to work perfectly. But now days I think IE7 and Firefox 2 is bypassing the hosts file and the method is not working.

any alternative method to check the website before dns propagation?

View 4 Replies View Related

Websites Email Going To Spam

Sep 16, 2008

I currently have a problem with my websites email going to spam. Most of the mail my website sends out, responses to registration, lost passwords etc...gets sent to spam. I have never used this site to send mass email or newsletters. I was thinking of getting an external hosted email solution, but wanted to know what you thought is the best solution for this and what you use to send out emails from your site.

View 4 Replies View Related







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