Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Page 1 of 2 12 LastLast
Results 1 to 15 of 22

This is a discussion on timout value for Apache Sever in the Shared & Semi-Dedicated forum
hello friends, Does anyone knows how to set timeout value for Apache Sever? However, what is the general timeout value set? Advice ...

  1. #1
    JPC Member
    Join Date
    Jan 2007
    Posts
    37

    timout value for Apache Sever

    hello friends,
    Does anyone knows how to set timeout value for Apache Sever?

    However, what is the general timeout value set?

    Advice

  2. #2
    JPC Member
    Join Date
    Jan 2007
    Posts
    37
    httpd.conf

    Where is this file?

    I think in that file we increase the time out value ?

  3. #3
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    If you are on shared/sdx/reseller account, you do not have access to httpd.conf

    Which timeout is being discussed here?

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  4. #4
    JPC Member
    Join Date
    Jan 2007
    Posts
    37
    Apache Access Server timeout.
    Like i am uploading something, and i think its set 300..
    Cause i am uploading and in 5 minutes later, it says Cannot find Server.

    So the time out value in httpd.conf is 300 i assume.

    I want it to be increase to more please. as its important.

  5. #5
    JPC Member
    Join Date
    Jan 2007
    Posts
    37
    Quote Originally Posted by JPC-Masood View Post
    If you are on shared/sdx/reseller account, you do not have access to httpd.conf

    Which timeout is being discussed here?
    Masood i want to increase the timeout value, so shall i contact support to do it in backend for httpd.conf since i dont have access to it.

  6. #6
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    This is not related to httpd. You need to set proper timeout value for your php/perl script, whatever you are using. If it is php, then you need to setup the timeout in php.ini

    Please check your control panel for more details on how you can setup php.ini file.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  7. #7
    JPC Member
    Join Date
    Jan 2007
    Posts
    37
    So in PHP.ini
    I should set

    max_execution_time = 600 ; Maximum execution time of each script, in seconds
    max_input_time = 600 ; Maximum amount of time each script may spend parsing request data

    Both of it as 0 ? Meaning Unlimited ?

  8. #8
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    I hope it does not mean unlimited, nor I would recommend setting that value to unlimited. It should be large enough that you are able to upload but not unlimited.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  9. #9
    JPC Member
    Join Date
    Jan 2007
    Posts
    37
    Masood
    i set this in PHP.ini

    max_execution_time = 30000000 ; Maximum execution time of each script, in seconds
    max_input_time = 600000 ; Maximum amount of time each script may spend parsing request data
    memory_limit = 150M ; Maximum amount of memory a script may consume (8MB)

    I am uploading a file, and as it gets 5:02 min, it says cannot find server..

    What could be the reason, the software everything is perfect no worries on it.

    Please Advice

  10. #10
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by aviz View Post
    I am uploading a file, and as it gets 5:02 min, it says cannot find server..

    What could be the reason, the software everything is perfect no worries on it.
    What protocol are you using to upload the file[s], HTTP, FTP, SSH, FTP over SSH, et cetera?

    Also, what client program are you using?
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  11. #11
    JPC Member
    Join Date
    Jan 2007
    Posts
    37
    I am uploading an Image.. my software is already installed in the server.
    And i am clicking browse and selecting image
    And then click upload.

    It is HTTP as i am uploading a file from Internet Explorer..

    It takes 5:02 and then Cannot find server.

    I think its to do with
    httpd.conf time out value

    I have set the PHP.ini timeout value, and still its doing like 5:05 min and cannot find server

  12. #12
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    BTW, the reason I'm asking you this is...

    Let's say you are uploading pics to your gallery, using the HTTP protocol, via Firefox.

    See the potential for timeout problem[s]?



    timeouts.png

    In this case, the timeouts would have to be adjusted in Firefox, NOT Apache.

    And, so it goes...

    My best guess, at this point, is the problem is with your client software settings!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  13. #13
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by aviz View Post
    I am uploading an Image.. my software is already installed in the server.
    And i am clicking browse and selecting image
    And then click upload.

    It is HTTP as i am uploading a file from Internet Explorer..
    LoL!

    Sorry... we were typing at the same time...

    Okay, I'm more convinced, than ever, that this is a browser problem. However, I don't know anything about custom config'ing MSIE for extending the timeouts -- or even if it's possible.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  14. #14
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Using Firefox, once again, as an example...

    If you'll notice, by default, Fx only keeps the HTTP connection alive for 300 seconds, i.e. 5 minutes. This is probably a standard timeout for most browsers -- and that's why they chose it.

    The nice thing about Fx is you can customize this setting -- make it 3600 sec, or 30, or whatever!

    I'm not a MSIE fan, so I don't know if you can adjust this or not, but going by other MS proggies, the setting[s] are probably stored in the registry... you know?

    With Firefox, you can adjust timeouts, et cetera, right from your browser window.
    Last edited by Vin DSL; 03-16-2007 at 11:44 AM.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  15. #15
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    One last thing! I would be remiss if I didn't mention this...

    HTTP is the worst file transfer method of them all, bar none!

    I would suggest using something else!

    If you're using gallery software on your site, like Menalto Gallery 2, for instance, the admin panel in the gallery software usually gives you the option of uploading files using several different methods.

    FTP is an oldie but goodie -- that's why it's still around...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •