I have a phpbb3 forum that I post sound clips for my members to download and I had a few of them tell me that sometimes the downloads truncate. I asked my host what the deal is and they told me that their scripts time out after 60 seconds and that there was no way to make it longer.
I have never heard of this before and I want to know, is that normal or standard for hosting companies? It seems weird that they would host a message board that allows attachments and their service doesn't allow enough time for people with dialup or slower connections to download files in their entirety.
Is there a way to increase the timeout for a SSH connection when idle? Mine (on my server) seems to time out after 15-20 mins of inactivity. I'd like to increase this to like 60 mins or indefinitely.
I have heard mixed reports and can't find any good info. Personally i've run a cronjob for up to 6 minutes, but as my best method was sending myself emails through php, its not exactly a highly accurate testing method.
On the same note, what would happen if one cronjob is running a php script for over 10 minutes, then another cron job starts on the same script, before the first one has finished?
where I can't access my terminal because my connections keep getting timed out. Its been ok previously but for the last 2 days I could not connect because the connection timed out 9/10 times. No modifications were made during this time so whats the problem guys?
I have a problem with my VPS. Hosting company have migrated my vps to a new and better dedicated server and now on all my sites(and IP) I got connection timeout error. I have changed "Main IP" and resolvers in HyperVM 10 minutes ago and it's not working(or I have to wait to wait like for nameservers registration?). I can ping my IP and all services(lxadmin,lighttpd etc are started successfully and its not wotking, I still getting connection timeout error.
I have a new website that has a similar feature to tripadvisor's Reviews, where users share detailed thoughts and experiences. They fill in all this information on one form so there is no interaction with the system while they are writing.
I know Apache has the TimOut setting which is set to 5 minutes by default. This ensures that you do not have users using active memory and sessions for a long period of time.
But the problem I have seen is that some users are spending 15-20 minutes writing very detailed experiences and when they hit the submit button obviously their session has timed out and they lose everything and get a system error.
I really don't want to change the TimeOut value in Apache to 20 min due to resource constraints, but is this my only option?
I'm trying to solve an issue with certain customers timing out. In regards to the "http KeepAlive timeout" value.... When this timer expires, does the webserver have the tcp stack send a FIN? IF so, does it actually do it like at six or seven seconds?
I am assisting a client who is linking to an online calculator, he is putting a frame on top of the calculator page, so people will still see his information. However, for some reason he is getting a Session Timeout Error in IE.
I don't get this error in Firefox using this method, or ever going to the direct page in IE.
Let me give a better explanation:
If you visit: [url]
Just put in a fake name and email, it loads a frame at top, and then the online calculator, which is this page: [url]
Why I am getting a Session Timeout? Is there a better solution. I never get the same error if I go directly too: [url]
We want a frame or better solution because we still want the contact information to be in front of the consumer.
Does this maybe have to do with a cookie and frame?
I've been experiencing some annoying issues recently, trying to troubleshoot whether it's actually my server or my ISP -
Using a HostGator standard box, php 5.2.3, optimized based on scribby's tutorial.
Basically I'll be editing my website for about 10-15 minutes, going through the admin panel and uploading files from it several times. Suddenly it will begin timing out for about 1 min or so and then it will run very sluggish/slow unless I let it "cool down" for a bit and try again later. I ran "ping -t mysite.com" while editing the site and during the timeouts and there was no packet loss. I can access other sites on the server and WHM from the IP at normal speeds during the timeouts, and other people can access the affected site fine.
I have a web server with Apache 2.4 VC11 [URL] .... running on Win 7.
On my server I have some mp3's. I can queue them up in Winamp and the 1st one will begin streaming. However, after it plays for about 20-30 minutes it stops streaming, almost as if some time limit has been reached, and advances to the next song. I can reselect the song and drag the position to where it stopped playing and it will continue to play for about 20-30 minutes from that position and stop again.
Is there a setting in the apache configuration I need to add/change to increase this limit?
unfortunately my server crashes a lot recently. What happens is that some application creates a MySQL connection which hangs and then MySQL gets overloaded and takes the whole server down.
My question:
1. How do I configure MySQL to time out even on active connections ? I.e. after 30 seconds kill the process no matter if it is still active or not. Is that possible ?
Soon I find out that my ping keeps dropping. The server was smoothly running, SSH is smooth, Website are loading fine, except I cannot ping my server. I disable SELINUX completely and it still doesn't help.
When I disable CSF, my server ping are responding back!
So I remove CSF installation and reinstall CSF, the same problem appear
How can I solve this issue?
My kernel is 2.6.18-92.1.6.el5PAE running on latest version of cPanel on CentOS 5.1
I am facing some strange problems with one of my cPanel/WHM server. It's a dedicated server with Quad Core processor and 4gb ram. First i thought it was a ddos attack but now i think it's not. I am keep getting ftpd failed emails every 5-10 mins.
ftpd failed @ Mon Jul 7 06:07:21 2008. A restart was attempted automagically.
Failure Reason: Timeout while trying to get data from service server is extremely slow and load is over 10 for last 2 days. it shows that httpd, mysql, ftp is up but none of our site's are loading. 1 thing i noticed when i logged into WHM is that it says WHM VPS Optimized. Attachment 13075
For some reason, my IPs that we use for a IP based site are un-pinable (ping time out) after some time. However, when I restart apf (firewall) the ip are back again and are pinable again.
We added the IPs for the IP based site over the ensim panel.
I belive its a Firewall issue, does anyone know how to check why the Ips are always getting un-pinable?
I'm having a bit of trouble here with MySQL, I don't know what to do. Centos 4.3, Mysql 4.1
Data is stored in /var/lib/mysql/
I'm looking to move that information to a second hard drive soon, and did a quick test of just copying it to another place on my existing drive. It won't start.
Quote:
[root@localhost ~]# service mysqld start Timeout error occurred trying to start MySQL Daemon. Starting MySQL: [FAILED]
Error logs
Code: 071106 12:14:33 mysqld started 071106 12:14:33 [Warning] Can't create test file /var/lib/mysqltf/localhost.lower-test /usr/libexec/mysqld: Can't change dir to '/var/lib/mysqltf/' (Errcode: 13) 071106 12:14:33 [ERROR] Aborting
071106 12:17:00 mysqld ended I have tried even chmod 777ing the msyqltf folder (my copy) to no avail.
my.cnf
Code: [mysqld] datadir=/var/lib/mysqltf/ socket=/var/lib/mysqltf/mysql.sock # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1
I have 2 locations, one with a Watchguard Firebox II/1000 and the other with a Cisco ASA 5520. I have configured a VPN between them and have run into a snag. The VPN tunnel works fine until it expires, but there is a significant lag in re-establishing the tunnel. The lag is enough to cause Backup and Data transfer failures due to timeouts.
Does anyone know how to configure the VPN tunnel to never expire, regardless of uptime or traffic volume? The Cisco doesn't seem to want to let me configure either phase for 0 or infinate kb expiration.
One of my customers uses Webmasters Tools from google , looking at what pages he have indexed by Googlebot, found that 180 pages are giving a "DNS lookup timeout" error, tried searching for help on google and the only thing that i found is " We received a timeout on DNS lookup."
DNS are ok, same as the zone file, everything is responding OK, I dont know what can be the issue.. ? any ideas ?
I am having the error in all the cpanel of the server when i contactected the cpanel they asked to change the permission of the all the domains using the bash command can one can help in running the commands so that all the permission changes properly ....
I've got a server with FastCGI that at random produces 500 internal server errors. In the specific account the errors are as follows in the error_log:
[Wed May 21 12:01:29 2008] [error] [client 1.2.3.4] FastCGI: comm with (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" aborted: (first read) idle timeout (30 sec) [Wed May 21 12:01:29 2008] [error] [client 1.2.3.4] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/apache2/htdocs/user/php-wrapper" As you can see this unfortunately does not tell me anything.
Now viewing the apache error_log I see this
Code: [Wed May 21 12:51:11 2008] [warn] FastCGI: scheduled the restart of the last (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" process: reached dynamicMaxClassProcs (10) [Wed May 21 12:51:11 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (uid 514, gid 515) restarted (pid 20510) [Wed May 21 12:52:00 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20510) termination signaled [Wed May 21 12:52:00 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20510) terminated by calling exit with status '0' [Wed May 21 12:57:02 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20501) termination signaled [Wed May 21 12:57:02 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20501) terminated by calling exit with status '0' [Wed May 21 13:02:03 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20491) termination signaled [Wed May 21 13:02:03 2008] [warn] FastCGI: (dynamic) server "/usr/local/apache2/htdocs/user/php-wrapper" (pid 20491) terminated by calling exit with status '0' All warnings so I'm assuming these don't mean anything.
I'm hosting about 6 private websites on my server, and some have problems.
My biggest website is a vb forum with 30.000 members and 1.5 million posts.
When i browse with firefox i see that vb forum loads fast, but phpads which is integrated on the top and footer loads very slow. When i browse with IE, it takes like 10 seconds before the whole site is loaded and sometimes IE even crashes.
When i try to login on another website / admin panel (oscommerce), i get a mysql gone away error, that means timeout. But why does it show that? I ran mysqlreport and can't find anything why it should display mysql gone away. # ./mysqlreport MySQL 5.0.15-standard uptime 3 19:36:47 Mon Feb 5 11:08:10 2007
__ Key _________________________________________________________________ Buffer usage 78.94M of 96.00M %Used: 82.23 Write ratio 0.60 Read ratio 0.00
Currently having a problem with proftpd on my centos plesk 8.1 server.
During large uploads, lets say around 10 MB the FTP connection fails within 5 minutes or so saying:
"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
I have asked for help from my server provider but they have tried and are now unable to help.
I currently have the APF firewall in my server.
Has anyone experienced this?
Below is the APF config file that i currently have & the proftpd config files that i have, if anyone can help it would be really really appreciated
APF CONFIG:
Code: #!/bin/sh # # APF 0.9.6 [apf@r-fx.org] # # NOTE: This file should be edited with word/line wrapping off, # if your using pico please start it with the -w switch # (e.g: pico -w filename) #
## # [Devel Mode] # !!! Do not leave set to (1) !!! # When set to enabled; 5 minute cronjob is set to stop the firewall. Set # this mode off (0) when firewall determined to be operating as desired. ##
# The installation path of APF; this can be changed but it has not # been tested what would happen. INSTALL_PATH="/etc/apf"
# Untrusted Network interface(s); all traffic on defined interface will be # subject to all firewall rules. This should be your internet exposed # interfaces. Only one interface is accepted for each value. # NOTE: The interfacing structure is being worked towards support of MASQ/NAT IFACE_IN="eth0" IFACE_OUT="eth0"
# Trusted Network interface(s); all traffic on defined interface(s) will by-pass # ALL firewall rules, format is white space or comma seperated list. IFACE_TRUSTED=""
# Enable virtual network subsystem; creats independent policy ruleset for each # ip on a system (pulls data from 'ip addr list') to /etc/apf/vnet/ip.rules # Template is located in the vnet/ folder for rule files. This feature can # reduce apf start/stop performance and is not recommend for systems with more # than 255 (/24) ip's. [0 = Disabled / 1 = Enabled] SET_VNET="0"
# Support Monolithic kernel builds [no LKM's]. This mode of operation is # not really supported and you use at your own risk. SET_MONOKERN="0"
# Verifies that all inbound traffic is sourced from a defined local gateway MAC # address. All other traffic that does not match this source MAC address will be # rejected as untrusted traffic. It is quite trivial to forge a MAC address and as # such this feature executes NO default accept policy against this MAC address. VF_LGATE=""
# Verifies that the IF and IFACE_TRUSTED interfaces are actually routed (/sbin/route) # to something. If not then chances are APF will not start properly if at all. VF_ROUTE="1"
# Verifies that crond service is running when DEVEL_MODE=1; if not then APF will not # try to load as if lock-up occures no cron service to flush firewall VF_CROND="1"
# Verifies that the current system uptime is greater than this value before APF # can activate. This is to prevent on-boot lockup issues or delays due to excessive # amount of firewall rules. Value is in seconds; should you wish to disable this # feature, simply set VF_UTIME to 0 value. !! NOTE: APF WILL NOT START ON IT's OWN; # IT WILL EXIT WITH FATAL ERROR BELOW SET UPTIME !! VF_UTIME="0"
## # [Packet Filtering/Handling] ##
# How to handle TCP packet filtering? # # RESET (sends a tcp-reset; TCP/IP default) # DROP (drop the packet; stealth ?) # REJECT (reject the packet) TCP_STOP="DROP"
# How to handle UDP packet filtering? # # RESET (sends a icmp-port-unreachable; TCP/IP default) # DROP (drop the packet; stealth ?) # REJECT (reject the packet) # PROHIBIT (send an icmp-host-prohibited) UDP_STOP="DROP"
# How to handle all other packet filtering? (icmp,arp,igmp) # # DROP (drop the packet) # REJECT (reject the packet) DSTOP="DROP"
# The sanity options control the way packets are scrutinized as # they flow through the firewall. The main PKT_SANITY option is a # top level toggle for all SANITY options and provides general # packet flag sanity as a pre-scrub for the other sanity options PKT_SANITY="1"
# Block any packets that do not conform as VALID; this feature # is safe for most but some may experience protocol issues with # broken remote clients PKT_SANITY_INV="0"
I have an Apache Server (2.4.3) and a Tomcat Server (7.0.36) and have some Java Applications deployed.Everything works fine, but when we start a quite long Ajax process, I see in my Java Application, that a Ajax request is received and starts processing - everything fine. But during processing of the first request, I see a second request starts after 5 minutes.