How To Extend Session Timeout In Php
My server session timeout is around 20mins. I wish to extend it longer such as 1 or 2 hours?
How can i extend it?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Why Getting Session Timeout Error In IE
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?
View Replies!
View Related
Php Session.save_path
when I install Joomla, it said session.save_path = /tmp is unwriteable. however, following phpinfo(), the session.save_path on server is /tmp, and all my php sites are working fine, I can see many sess_ files in /tmp. That means the sessions are still written into /tmp by user apache, is that correct? so, why Joomla instalation saying it's unwriteable? i am on a linux server
View Replies!
View Related
Php Error Session Side-effect
i have a cpanel server with centos, and i put a script on it, and i get the error ----------------------------------------------------- Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0 -----------------------------------------------------
View Replies!
View Related
Php Injection & Session Hacking
I had done a program in early 2006 for a site in php-mysql. At the time of doing the code, The code written was not so standard and it contained uninitialized variables used for include file paths (eventhough values are assigned to it before using) and the "sess" folder was created within the website folder. Also the parameters for the SQL query were not escaped, but everything was working fine. And now i was informed that the insecure code in my program caused the server crash and i have to pay the penalty for the same. Can anyone let me know whether the below code / keeping the session variables within a folder inside the /www/ will make the sites hosted on the server where this program runs to stop/crash for ever ? ------------------------------------------------------------------ function update_region($id,$regname,$regcom) { $query = "UPDATE taxregion_mast SET taxregion_name = '". $regname."', region_comments = '". $regcom."' WHERE region_id =" .$id; mysql_query($query); ...... -------------------------------------------------------------------
View Replies!
View Related
PHP Session Locks - High Io Wait
For the past couple of days, I've noticed that there is alot of apache processes running in the "D" state and that my IO wait is up to %80. I straced one of the processes and the result is its locking on a php session: $ strace -p 3230 06:57:12 open("/var/lib/php/session/sess_86ecf346c6f7adba93cb1077f6b95d43", O_RDWR|O_CREAT, 0600) = 44 06:57:12 flock(44, LOCK_EX And this is the output of lsof [root@xeon ~]# lsof | grep session mysqld 3212 mysql 178u REG 8,33 275456 26099994 /hd/mysql/sitebuilder3/session.MYI mysqld 3212 mysql 183u REG 8,33 354592 26099937 /hd/mysql/sitebuilder3/session.MYD bash 6426 root cwd DIR 8,21 1060864 25133096 /var/lib/php/session httpd 6698 apache 44uW REG 8,21 115 9814967 /var/lib/php/session/sess_e0f1bb824667860260f9e5bd53da54e9 httpd 6704 apache 44u REG 8,21 138 25135115 /var/lib/php/session/sess_325b2701fcb8fb2d8371d1dd72660e8b httpd 6718 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f httpd 6723 apache 44u REG 8,21 115 9814794 /var/lib/php/session/sess_79249a69f0a929318c3a8d25b1102ff4 httpd 6765 apache 44u REG 8,21 14 9815234 /var/lib/php/session/sess_0983ce89bad9d37eccec89fe83985945 httpd 6773 apache 44u REG 8,21 141 9815254 /var/lib/php/session/sess_298731e4cb90e58f223bc1b1b2da8cef httpd 6782 apache 44uW REG 8,21 175 9814514 /var/lib/php/session/sess_608cf6bb40ba33a7505f3857e32c3854 httpd 6786 apache 44u REG 8,21 139 9814480 /var/lib/php/session/sess_10913da266608052ffd08e5fa39356c7 httpd 6787 apache 44uW REG 8,21 138 9814292 /var/lib/php/session/sess_3e0fac0590d02b4f111ce4bee9a8bfe1 httpd 6790 apache 44u REG 8,21 14 9815287 /var/lib/php/session/sess_cdfeac2790c55a62744a66caef886857 httpd 6794 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f httpd 6798 apache 44uW REG 8,21 93 9814971 /var/lib/php/session/sess_fa0f81edfd26e8653bc94bc9f9af6f6d httpd 6801 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f httpd 6802 apache 44uW REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f httpd 6811 apache 44uW REG 8,21 115 9814802 /var/lib/php/session/sess_396f6670549934766bd8268f0b5628fc httpd 6822 apache 44u REG 8,21 153 9815061 /var/lib/php/session/sess_0d1fcc65d1964fc3d354e4b94f3638eb httpd 6833 apache 44uW REG 8,21 153 9815173 /var/lib/php/session/sess_05ed9e41766579f10cfdaa2f7e737a1a httpd 6846 apache 44u REG 8,21 236 9815142 /var/lib/php/session/sess_23b5cad8471778391bf9748d0f4f1230
View Replies!
View Related
Session Errors - Php.ini Related
I have a Cpanel box, in WHM I used the "PHP Configuration Editor" and changed the php execution time (minor change). After clicking save I now get the following error on any php using sessions: Warning: session_start() [function.session-start]: open(/tmp /sess_1d374c43a0f726cd43776f9f92485bec, O_RDWR) failed: No such file or directory (2) in /home/continou/public_html/control/index.php on line 4 One thing I noticed it did was turn on PHPSuexec which generally causes problems for me. I turned that off and the error response changed slightly (to above) but the problem is not solved. I tried rebooting the server. /tmp does exist, I am now rebuilding apache in hopes that corrects the problem.
View Replies!
View Related
(error) IP Address Changed Amidst Session. Possible Session Hijacking
I have just got a resellers VPS and my host installed HyperVM 2.0 and when I logged in it works but then I get logout and then get this error: IP Address Changed Amidst Session. Possible Session Hijacking. then it takes my host admin time to fix it and now they will not do any think so i can not now use it (login). Not Good is there something I can do? all I can think is that it is my ISP IP (Dynamic IP Address) which keeps changing.
View Replies!
View Related
APC :: Shows "timeout" And "out Of Memory" Errors With Php Scripts
We have installed APC 3.1.3p1 beta (and also 3.0.19 stable seperately, to test) and we are seeing a lot of "out of memory" and "timeout" errors. For example, a php scripts dies saying the available memory is 256Kbytes, and the script tries to allocate 256 Mbytes of memory. Here are the APC settings: [APC] apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 128 apc.max_file_size = 8M apc.stat = 1 and PHP settings related to memory is memory_limit = 1024M We have tried included apc.php file to watch out the cache, but it doesn't show any kind of fragmantation or etc. related with system, instead it shows "timeout" and "out of memory" errors with php scripts. We have thought that the error can be related to /dev/shm as you should increase apc.shm_size in order to obtain more memory, therefore we have mounted /dev/shm as 4Gbytes. The server has 8Gbytes of memory (using 64-bit CentOS). Note that once we set apc.enabled = 0, the problems go away, so it's definitely something with APC.
View Replies!
View Related
Session Directory
I need to make this writeable but I can't find it on my server with my FTPclient. Can someone tell me what it is and where it's likely to be? Maybe I have to create one?
View Replies!
View Related
Session Error
I have a large survey (I use phpsurveyor) on my reseller webdomain running. It takes about 30 minutes to fill in the complete survey. After 24 minutes my respondents get a session error and their data is lost. I tried to solve this with a .htaccess php_value max_execution_time 600 php_value session.gc_maxlifetime 3000 php_value session.cookie_lifetime 3000 With phpinfo.php I can see that the Local Values are session.gc_maxlifetime 3000 and session.cookie_lifetime 3000.
View Replies!
View Related
Session Issue
I have got error: Code: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/myhope/public_html/pro/index.php:1) in /home/myhope/public_html/pro/index.php on line 2
View Replies!
View Related
Session.save_path
It could've gone into the php section as well...I think. I got a dedicated server 2 days ago, but the "session.save_path" is not set. What I did was create a "php.ini" file, put the following code into it and uploaded it to my public directory. Quote: session.save_path = "/var/www/vhosts/contrid.com/subdomains/projects/httpdocs/tmp" ...but I'm not sure if this is right. Unfortunately it doesn't work, therefore I'm making this post. If anyone can help me, it will be greatly appreciated. ** This is for a subdomain. **
View Replies!
View Related
Session Error
When i try to login my linux server from GUI i put my username "root" and then put the password, i am not able to login and getting following error "Your session only lasted less then 10 sec. If you have not logged out yourself this could mean that there is some installation problem of that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix this problem view details in ~/.xsession.error file " Does any one know about this error.
View Replies!
View Related
Windows Server Session
Is it possible to have 1 session under XXX.XXX.XXX.XXX IP and the 2 session under a different IP allocated by your DC?. The box is in Europe ..I need to log-in one session and download some files from a server so whenever the master sees it will see one IP and the other session from another. Two of the reasons I need this done is 1. privacy 2. avoiding of buying another box.
View Replies!
View Related
User Terminal Session Logging
I'm looking at allowing remote telnet into my server. like any security-minded administrator, I want to log what my users type on the telnet session. I'm using the script command to generate transcripts of the users session. I have /etc/profile set to automatically start the script command to log user activity, and in /etc/bash.bash_logout I have a command that emails me the transcript of the users' session. All of the above works well except for one thing: the users can type "exit" to escape from my script logging and any commands they type won't get logged.
View Replies!
View Related
RDP Sessions - Forcing New Session
I've come across an issue where our users are not logging out of their terminal services session properly. Whether via TSWeb or MSTSC (remote desktop), if they close the browser or RDP window using the x it keeps the session alive for upto 1 minute. The problem with this is that we use terminal services to host an application for users who can't install it, so other users that login (using a generic username and password) are adopting/hijacking the original session and seeing someone elses data. Does anyone know of a way to force a new session each time a user connects to RDP? Whether via TSWeb or MSTSC (remote desktop)?
View Replies!
View Related
Turn Off Session Expiration On IIS 6.0
I have a website where people perform a number of tasks, saving some data to temporary session files. If the user is idle for a certain amount of time, then performs an action, his/her work will be gone. I'd like to set the sessions to never expire, so that only a browser close would delete the temporary files. I've tried looking around in the IIS manager, but I cannot find a way to do this.
View Replies!
View Related
Session_OnEnd Not Firing When Session Times Out
We have a product which is web based and uses sessions for everyone logged in and when they timeout the Session_OnEnd is supposed to fire and delete records from a table which stores some data for the user. The problem is that the Session_OnEnd is not firing and therefore not clearing the table everytime the user times out. The server: Windows 2003 Service Pack 1 (I know there has been a problem with SP2 with the session_onEnd not firing but this does not effect SP1) The whole site is running behind a SSL. We have switched this off and it still doesnt fire. The site is written in classic ASP. We have over another 200 clients with the same setup but they are not suffering from the same problems and I have come to the end of my knowledge about IIS (as I am a web developer and not server admin) and where to look.
View Replies!
View Related
Log SSH Session To Email Or File
if it's possible to log all ssh commands to a file by session. For example, if I log in as user 'test123', once I close the session, all commands I ran will be saved to a file and either emailed to my server logs email address or saved to a file.
View Replies!
View Related
Does Cron Timeout?
Simply wondering, does cron timeout? 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?
View Replies!
View Related
Vps Timeout
I got my VPS a few days ago and want to get started. I installed Webmin (with the rpm - centos 5), and it says it installed successfully and then I can login. I typed in my domain name with the ':10000' but I get a network timeout in Firefox. I know my DNS is right, because I have the domain name pointed to my IP address with an A record. SSH is working fine, I can login using the domain name and not my IP address. I tried installing Lighttpd, but still get the timeout. Replacing the domain name with the VPS IP address doesn't work either.
View Replies!
View Related
SSH Timeout
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.
View Replies!
View Related
CGI Timeout
When i try to login my forum after waiting alittle following error occured Code: CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process
View Replies!
View Related
SSH Session Hangs When Trying To Edit Httpd.conf
I am running into a problem with my home linux server running Fedora 8 (2.6.26.6-49.fc8). The problem is with my SSH sessions, in that they hang or freeze when I try to run certain commands such as (ps -auxt or top) or when trying to edit (/etc/httpd/conf/httpd.conf) via VI or Pico. I am able to edit my pure-ftpd.conf file with little to no trouble through either Vi or Pico however. I did some research already on openssh.org but my problem does not resemble the tcp timeout issues I've seen described. When the SSH session hangs I'm forced to disconnect and then reconnect. Just curious if anyone has any ideas as to what I can try to resolve this problem.
View Replies!
View Related
Connection Timeout On SSH
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?
View Replies!
View Related
VPS - Connection Timeout
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.
View Replies!
View Related
Unique Apache Timeout
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?
View Replies!
View Related
Scripts Timeout After 60 Sec
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.
View Replies!
View Related
HTTP Keapalive Timeout
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? It's actually IBM IHS in this case.
View Replies!
View Related
Timeout- After Working For Awhile
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.
View Replies!
View Related
Phpmyadmin :: SQLite: Failed To Open/create Session Database
Warning: session_start() [function.session-start]: SQLite: failed to open/create session database `/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb' - malformed database schema - unable to open a temporary database file for storing temporary tables in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/session.inc.php on line 86 Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: sqlite (path: /var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/session.inc.php on line 86 I get that error in cPanel when I click to go to phpmyadmin.
View Replies!
View Related
MySQL Timeout On Active Connections
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 ? 2. How do I exclude the root user from that?
View Replies!
View Related
Server.lu Having Frequently Ping Timeout
globichen can explain about this. ping timeout happen frequently. this is the 2nd time happen in a week i've submit a ticket regarding about this customer service replies with server is online. i'm not bashing their service but frequently ping timeout really makes my business down lately. Loading website takes a few min & even couldn't access to server due to ping timeout.
View Replies!
View Related
Cpanel :: Timeout While Trying To Get Data From Service
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 I tried updating cPanel but same problems. SSH Top: .......
View Replies!
View Related
Timeout Error Starting MySQL
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:14:33 [Note] /usr/libexec/mysqld: Shutdown complete 071106 12:14:33 mysqld ended 071106 12:17:00 mysqld started 071106 12:17:00 [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:17:00 [ERROR] Aborting 071106 12:17:00 [Note] /usr/libexec/mysqld: Shutdown complete 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 [mysql.server] user=mysql basedir=/var/lib [mysqld_safe] err-log=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid I've tried moving it to different locations. I even tried moving the original folder and renaming it, and still get this problem.
View Replies!
View Related
CSF Causing Server Ping Timeout
I just installed a fresh new server with CSF 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
View Replies!
View Related
Ping Timeout On IPs Used For IP Based Sites
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?
View Replies!
View Related
Some Websites Load Slow + Mysql Timeout
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 __ Questions ___________________________________________________________ Total 19.61M 59.47/s Slow 9 0.00/s %Total: 0.00 %DMS: 0.00 DMS 7.17M 21.74/s 36.56 __ Table Locks _________________________________________________________ Waited 7.57k 0.02/s %Total: 0.05 Immediate 16.50M 50.03/s __ Tables ______________________________________________________________ Open 1.27k of 1800 %Cache: 70.56 Opened 1.82k 0.01/s __ Connections _________________________________________________________ Max used 47 of 500 %Max: 9.40 Total 2.62M 7.95/s __ Created Temp ________________________________________________________ Disk table 6.77k 0.02/s Table 635.25k 1.93/s File 50.37k 0.15/s I can't find any problems on the server which may lead to this strange problem. The server load is normal, around 1 to 1.5. No weird errors in the apache error log or system log. This strange behaviour started 2 weeks ago, and appears 2 to 3 time a week. The system is running: centos 4.3 64-bit kernel 2.6.16.17 #1 SMP directadmin 1.29.0 mysql 5.0.15 php 5.2 apache 2 Zend optimizer 3.2.0 Eaccelerator 1.95 One thing i noticed is that every night when the directadmin cron finished, the server acts normal again. The directadmin cronjobs are: * * * * * root /usr/local/directadmin/dataskq 2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue; #5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a; 20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue 0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue 10 0 * * * root /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl && echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
View Replies!
View Related
Proftpd Timeout Connection Attempt Failed
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. ## # Set firewall cronjob (devel mode) # 1 = enabled / 0 = disabled DEVEL_MODE="0" ## # [Main] ## # 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"
View Replies!
View Related
DNS Lookup Timeout From Googlebot Indexing Webpages
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 ? Im using Ensim Pro and RHES 4.
View Replies!
View Related
FastCGI :: Aborted: (first Read) Idle Timeout (30 Sec)
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. Here's the php-wrapper: Code: #!/bin/sh PHPRC=/usr/local/lib export PHPRC PHP_FCGI_CHILDREN=8 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=500 export PHP_FCGI_MAX_REQUESTS exec /usr/local/bin/php-cgi Not a particularly well setup system for users and such but it worked for the user. The software versions are as follows: Apache 2.2.8 with Suexec on the FCGI FastCGI (Latest stable and also tried a CVS version) PHP 5.2.6 64 bit system how to go about debugging this?
View Replies!
View Related
|