Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2010-10-17 18:25:09

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

[FIXED] httpd locks down when uploading via curl

Just metioned:

When i upload an video via acp ( CURL ) the server does not respond to requests.

Means: The site is not accesible via httpd and loads forevever
If the video is downloaded, site gets back to normal. Background processing works.

top - 20:23:16 up 7 days, 19:43,  1 user,  load average: 0.00, 0.02, 0.00
Tasks: 264 total,   1 running, 263 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu1  :  0.0%us,  0.3%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   8199672k total,  8086704k used,   112968k free,   277792k buffers
Swap:   995988k total,      728k used,   995260k free,  7231752k cached

Checked my lighttpd logs, but nothing is in there like "Backend died" or so.
Checked top also, but nothing remarkable, cpu load normal.

If you have a sponsor with fast servers thats no problem, but exrememoviecash is really slow smile

testvideo for downloading: http://www.exxxtrememovie.com/flash/cmc/5cmc-01.flv

Had a similar problem with AVS, where i added an option to curl videos. But thats History smile

Last edited by Coscast (2010-10-17 18:29:45)


sgt-halfsize-banner.jpg

Offline

#2 2010-10-18 06:54:47

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED] httpd locks down when uploading via curl

Will fix. The problem is in the session management, the request is not asyncronus and it needs to wait for the session file to be closed, however the session file is only closed when the download is done.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2010-10-19 08:12:11

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED] httpd locks down when uploading via curl

Fixed.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB