Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2009
    Posts
    32

    Question Nginx timeout and speed

    I run nginx on a VPS with 2GB ram and a pretty decent processor, it is not the cheapest vps almost like a dedicated server, i used nginx at first to improve web speed but i now face some problems since i dont know how to make a proper nginx administration like i did with apache, for example, how do i setup the timeout?
    When i upload a very big file using HTTP if it takes more than 2 minutes nginx makes a timeout and shows an error, is there a way to increase this value like i do with php and apache ?
    Also, i send a lot of e-mails, anyone has a good configuration for e-mail marketing using nginx to improve the server speed and cpu usage?

    Thanks in advance

  2. #2
    d_t
    d_t is offline
    Member
    Join Date
    Sep 2003
    Location
    Bucharest
    Posts
    239

    Default Re: Nginx timeout and speed

    you can increase timeout from nginx.conf

    client_header_timeout 3m;
    client_body_timeout 3m;
    send_timeout 3m;

    for email marketing you better use an ESP (i don't see any connection to nginx)

  3. #3
    Member
    Join Date
    Mar 2009
    Posts
    32

    Default Re: Nginx timeout and speed

    Quote Originally Posted by d_t View Post
    you can increase timeout from nginx.conf

    client_header_timeout 3m;
    client_body_timeout 3m;
    send_timeout 3m;

    for email marketing you better use an ESP (i don't see any connection to nginx)
    sory for my ignorance but what is ESP ?

  4. #4
    Member twhiting9275's Avatar
    Join Date
    Sep 2002
    Posts
    366
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Nginx timeout and speed

    I believe they were referring to an Email Service Provider. Some people like to be lazy and abbreviate everything.
    If you're running into huge upload timeouts, you want to increase this to more than 3 minutes, because it will take more than 3 minutes to upload (most) large files.
    Linux Tech Networks: Reliable Server Administration and Monitoring since 2002

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 08-19-2011, 03:38 AM
  2. nginx automated installer
    By blargman in forum cPanel and WHM Discussions
    Replies: 222
    Last Post: 08-24-2010, 06:22 PM
  3. nginx and cpanel
    By ASTRAPI in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-20-2009, 07:16 AM
  4. nginx or lighty with apache
    By tom_taylor in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 06-10-2008, 05:27 AM
  5. Timeout ...a fatal error or timeout occurred while processing this directive]
    By InternetPEI in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-02-2006, 01:02 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube