Current time: 12-24-2024, 03:19 AM Hello There, Guest! (LoginRegister)


Post Reply 
disconnect downloading via http after 5 min
Author Message
marcins Offline
Junior Member
*

Posts: 10
Joined: Jun 2009
Reputation: 0
Post: #1
disconnect downloading via http after 5 min
Hi,

I have installed ispcp on new debian without any problems, but i have one issue that i can't figured it out.

When i try download some big files from my website (ie 1 GB), connection is drop (disconnect) by server after 5 minutes.

Is there any veriable is apache or php config files that say about how long can session be open per user?

regards
06-04-2009 05:27 AM
Find all posts by this user Quote this message in a reply
marcins Offline
Junior Member
*

Posts: 10
Joined: Jun 2009
Reputation: 0
Post: #2
RE: disconnect downloading via http after 5 min
Can somebody help me with this problem, please?

There are no errors in log files.
options for mod_cband are mark as #
I have no idea what to do.
06-05-2009 05:22 PM
Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #3
RE: disconnect downloading via http after 5 min
First off, do you download this file from a PHP script, or from a plain HTML page/direct link?

If it's from a PHP script you'd probably have to check the fastcgi configuration (and the file /var/log/apache2/suexec.log), otherwise I don't quite know what could be the problem. Best have a look at the logfiles in /var/log/apache2/users/*-error.log
06-05-2009 06:37 PM
Find all posts by this user Quote this message in a reply
marcins Offline
Junior Member
*

Posts: 10
Joined: Jun 2009
Reputation: 0
Post: #4
RE: disconnect downloading via http after 5 min
i download from php script.

in suexec.log i dont have any errors, but in /var/log/apache2/users/domain-error.log
i can see now something like this:

... script.php (PID) exit(busy timeout), terminated by calling exit(), return code: 0
06-05-2009 06:45 PM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #5
RE: disconnect downloading via http after 5 min
as i recall fcgi has a limit before it kills a fcgi process to ~300 seconds. i'm not 100% sure about this...
06-05-2009 07:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
marcins Offline
Junior Member
*

Posts: 10
Joined: Jun 2009
Reputation: 0
Post: #6
RE: disconnect downloading via http after 5 min
where can i find this settings?
06-05-2009 07:34 PM
Find all posts by this user Quote this message in a reply
marcins Offline
Junior Member
*

Posts: 10
Joined: Jun 2009
Reputation: 0
Post: #7
RE: disconnect downloading via http after 5 min
i think i found problem.
As you said there is a idletimeout option.
First i set it in /etc/apache2/mods-enabled/fcgid_ispc.conf, but without any result.
Then i found somethink in this file /etc/apache2/mods-available/fastcgi_ispcp.conf
and line number 34:
FastCgiServer /var/www/fcgi/master/php-fcgi-starter -user vu2000 -group vu2000 -idle-timeout 300

Now i just change it to -idle-timeout 0, and i'm testing it (right now everythink is OK)

Where can i change this setting that it will apply only to one domain, not to all my users?

Best regards, and thx 4 help
06-05-2009 10:00 PM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #8
RE: disconnect downloading via http after 5 min
the fcgi ini for each domain is located at
Code:
/var/www/fcgi/domain.tld/php5/php.ini
but i do not see anything related to -idle-timeout
06-06-2009 03:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)