LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > FFMPEG not working after switch to litespeed

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2009, 02:53 PM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
Red face FFMPEG not working after switch to litespeed

hello i am getting various error after i switched to litespeed what should i do ? my main sites are video sites please let me know process

i get :-

503 Service Unavailable
The server is temporarily busy, try again later!

when ever i run cron command to convert
Reply With Quote
  #2  
Old 05-22-2009, 03:20 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
How long does it take to complete?
There are various timeout parameters you need to adjust
"Initial request timeout" for lsphp5
http://www.litespeedtech.com/docs/we...s/#initTimeout

If it takes more than 5 minutes to process, you may need to add environment variable
"LSAPI_MAX_PROCESS_TIME=xxx"
http://www.litespeedtech.com/php-litespeed-sapi.html

If FFMPEG uses a lot of memory, increase "Memory soft/hard limit"
http://www.litespeedtech.com/docs/we.../#memSoftLimit

You should check the /usr/local/apache/conf/error_log and stderr.log for related error messages.

It is better to call the php script directly from cron job instead of going through the web server.
Reply With Quote
  #3  
Old 05-23-2009, 01:07 AM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
it doesn't seems to issue of time out since as soon as i run command error shows up as server busy i have tried some re converting already converted while i was with Apache they do well convert again only new videos do not convert any idea ? conversion process doesn't even start immediately 503 error
Reply With Quote
  #4  
Old 05-23-2009, 03:16 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
increase "Memory soft/hard limit" as suggested.
Reply With Quote
  #5  
Old 05-23-2009, 10:55 PM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
presently i edited / increased memory limits to :-

Memory Soft Limit (bytes) 900M
Memory Hard Limit (bytes) 1000M


still as soon i start conversion of wmv file it pops server busy error
Reply With Quote
  #6  
Old 05-23-2009, 11:19 PM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
is there any help for your case:
http://litespeedtech.com/support/for...ead.php?t=2144
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:00 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.