LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   nginx (https://www.linuxquestions.org/questions/linux-server-73/nginx-742927/)

cbtshare 07-26-2009 12:05 PM

nginx
 
I have nginx on my dedicated server it works fine when users are downloading anything but ,mp3 files.For mp3 files you click download and it takes atleast 1min to start.Any ideas to solve this?

Thanks

robertjinx 07-26-2009 12:18 PM

Try to check the logs or try to post the logs on the forum.

cbtshare 07-26-2009 11:51 PM

access.log is empty but the error.log is as follows.But there are errors but the files still download it just takes forever.


2009/07/23 13:52:07 [emerg] 7900#0: bind() to 0.0.0.0:40000 failed (98: Address already in use)
2009/07/23 13:52:07 [emerg] 7900#0: bind() to 0.0.0.0:40000 failed (98: Address already in use)
2009/07/23 13:52:07 [emerg] 7900#0: bind() to 0.0.0.0:40000 failed (98: Address already in use)
2009/07/23 13:52:07 [emerg] 7900#0: bind() to 0.0.0.0:40000 failed (98: Address already in use)
2009/07/23 13:52:07 [emerg] 7900#0: still could not bind()
2009/07/24 15:55:42 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:20:12 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:21:16 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:25:21 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:27:52 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:31:11 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:38:26 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99

robertjinx 07-27-2009 01:17 AM

Seems you have some mistakes in your configuration and in plus something else run on 98 port. Now check whats running on the port and also check what u did wrong by running: "nginx -t"

Good luck!

cbtshare 07-27-2009 03:53 PM

This is the config -t result:

the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful


98 I think is a reference number linux uses to identify errors.It happens when nginx is started and I start it again.Its getting worse now, downloads take up to 1min and 1/2**sighs, what can I do?

robertjinx 07-28-2009 01:16 AM

I'm not exactly sure what you could do, I do see the scenario, but you could try to go to http://www.ruby-forum.com/forum/24 which is a Nginx dedicated forum.

cbtshare 07-28-2009 11:55 PM

will check it out thanks!


All times are GMT -5. The time now is 12:15 AM.