open socket #84 left in connection

shahzaib shahzaib shahzaib.cb at gmail.com
Mon Apr 20 14:23:45 UTC 2015


I have also enabled debug logging and found 'Resource temporarily
unavailable' messages. Below is the reference sample :

2015/04/20 18:41:29 [debug] 12917#0: *2711 event timer add: 18:
15000:1429537304304
2015/04/20 18:41:29 [debug] 12917#0: *2711 post event 0000000000A372D0
2015/04/20 18:41:29 [debug] 12917#0: posted event 0000000000A372D0
2015/04/20 18:41:29 [debug] 12917#0: *2711 delete posted event
0000000000A372D0
2015/04/20 18:41:29 [debug] 12917#0: *2711 http keepalive handler
2015/04/20 18:41:29 [debug] 12917#0: *2711 malloc: 0000000000ACF6C0:262144
2015/04/20 18:41:29 [debug] 12917#0: *2711 recv: fd:18 -1 of 262144
2015/04/20 18:41:29 [debug] 12917#0: *2711 recv() not ready (11: Resource
temporarily unavailable)
2015/04/20 18:41:29 [debug] 12917#0: *2711 free: 0000000000ACF6C0
2015/04/20 18:41:29 [debug] 12917#0: posted event 0000000000000000
2015/04/20 18:41:29 [debug] 12917#0: worker cycle
2015/04/20 18:41:29 [debug] 12917#0: accept mutex locked
2015/04/20 18:41:29 [debug] 12917#0: epoll timer: 15000
2015/04/20 18:41:29 [debug] 12913#0: epoll: fd:18 ev:0004 d:00007F58B7D89238
2015/04/20 18:41:29 [debug] 12913#0: *2698 http run request:
"/files/videos/2015/04/15/14290705507373d-360.mp4?"

Could that be the issue ?

On Mon, Apr 20, 2015 at 6:18 PM, shahzaib shahzaib <shahzaib.cb at gmail.com>
wrote:

> Hi,
>
>   We're using nginx to upload and serve videos files around 1GB of file
> size via http. We've been receiving complains from some customers that
> uploading has some issue and sometimes user are unable to upload videos
> successfully. Server is installed with Nginx-1.4.7+php-fpm, ffmpeg, MP4Box.
> On checking the nginx logs, we didn't got anything but Following messages :
>
> 2015/04/16 16:49:53 [alert] 15077#0: open socket #81 left in connection 49
> 2015/04/16 16:49:53 [alert] 15084#0: open socket #48 left in connection 19
> 2015/04/16 16:49:53 [alert] 15077#0: open socket #84 left in connection 51
> 2015/04/16 16:49:53 [alert] 15084#0: open socket #52 left in connection 21
> 2015/04/16 16:49:53 [alert] 15077#0: open socket #87 left in connection 53
> 2015/04/16 16:49:53 [alert] 15079#0: open socket #81 left in connection 46
> 2015/04/16 16:49:53 [alert] 15084#0: open socket #53 left in connection 22
>
> Here is the nginx.conf
>
> user  nginx;
> worker_processes  16;
> worker_rlimit_nofile 300000; #2 filehandlers for each connection
> error_log /usr/local/nginx/logs/error.log crit;
> #access_log logs/access.log;
> #pid        logs/nginx.pid;
>
>
> events {
>     worker_connections  6000;
>     use epoll;
> }
> http {
>     include       mime.types;
>     default_type  application/octet-stream;
>     client_max_body_size 3000M;
>     client_body_buffer_size 2000M;
>     sendfile_max_chunk 128k;
>     client_header_buffer_size 256k;
>     large_client_header_buffers 4 256k;
>     output_buffers 1 512k;
>     server_tokens off; #Conceals nginx version
>    access_log  /usr/local/nginx/logs/access.log ;
>    access_log off;
>     sendfile        off;
>        ignore_invalid_headers on;
>     client_header_timeout  60m;
>     client_body_timeout 60m;
>     send_timeout     60m;
>     reset_timedout_connection on;
>
>         keepalive_timeout 15;
>         include "/usr/local/nginx/conf/vhosts/*.conf";
>     error_page 404 = /thumb.php;
>     error_page   403 /forbidden.html;
> }
>
> If anyone can help me with this ?
>
> Regards.
> Shahzaib
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150420/b9ef043a/attachment.html>


More information about the nginx mailing list