![]() |
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 :( |
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. |
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 :(
|
increase "Memory soft/hard limit" as suggested.
|
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 :( |
is there any help for your case:
http://litespeedtech.com/support/for...ead.php?t=2144 |
i tried this command :-
/opt/lsws/fcgi-bin/lsphp5 -i it showed error :- root@host [~]# /opt/lsws/fcgi-bin/lsphp5 -i -bash: /opt/lsws/fcgi-bin/lsphp5: No such file or directory root@host [~]# /opt/lsws/fcgi-bin/lsphp5 -i -bash: /opt/lsws/fcgi-bin/lsphp5: No such file or directory root@host [~]# lsphp5 -i -bash: lsphp5: command not found what that means ? |
that means your lsphp5 not installed in /opt/lsws/fcgi-bin/
in WHM/cPanel env, it's installed in /usr/local/lsws/fcgi-bin in this case you'd try: /usr/local/lsws/fcgi-bin/lsphp5 -i |
i am not familiar this setup any how i got this :-
OfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException SQLite SQLite support => enabled PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.12 2008/12/31 11:17:44 sebastian Exp $ SQLite Library => 2.8.17 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=,fieldse t= => a=href,area=href,frame=src,input=src,form=,fieldse t= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.7.3 xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled Zend Optimizer Optimization Pass 1 => enabled Optimization Pass 2 => enabled Optimization Pass 3 => enabled Optimization Pass 4 => enabled Optimization Pass 9 => enabled Zend Loader => enabled License Path => Obfuscation level => 3 zlib ZLib Support => enabled Stream Wrapper support => compress.zlib:// Stream Filter support => zlib.inflate, zlib.deflate Compiled Version => 1.2.3 Linked Version => 1.2.3 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name ionCube Loader litespeed Environment Variable => Value MANPATH => /usr/lib/courier-imap/man: HOSTNAME => host.10gb.in TERM => xterm SHELL => /bin/bash HISTSIZE => 1000 SSH_CLIENT => 59.93.71.250 55781 22 SSH_TTY => /dev/pts/1 USER => root LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do =01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;4 1:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.t ar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh =01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31: *.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*. jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.p bm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm =01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png= 01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=0 1;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35 :*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35: *.ogg=01;35:*.wav=01;35: MAIL => /var/spool/mail/root PATH => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin INPUTRC => /etc/inputrc PWD => /root JAVA_HOME => /usr/local/jdk EDITOR => pico LANG => en_US.UTF-8 SHLVL => 1 HOME => /root LS_OPTIONS => --color=tty -F -a -b -T 0 LOGNAME => root VISUAL => pico CLASSPATH => .:/usr/local/jdk/lib/classes.zip SSH_CONNECTION => 59.93.71.250 55781 69.65.43.145 22 LESSOPEN => |/usr/bin/lesspipe.sh %s G_BROKEN_FILENAMES => 1 _ => /usr/local/lsws/fcgi-bin/lsphp5 PHP Variables Variable => Value _SERVER["MANPATH"] => /usr/lib/courier-imap/man: _SERVER["HOSTNAME"] => host.10gb.in _SERVER["TERM"] => xterm _SERVER["SHELL"] => /bin/bash _SERVER["HISTSIZE"] => 1000 _SERVER["SSH_CLIENT"] => 59.93.71.250 55781 22 _SERVER["SSH_TTY"] => /dev/pts/1 _SERVER["USER"] => root _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do =01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;4 1:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.t ar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh =01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31: *.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*. jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.p bm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm =01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png= 01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=0 1;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35 :*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35: *.ogg=01;35:*.wav=01;35: _SERVER["MAIL"] => /var/spool/mail/root _SERVER["PATH"] => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin _SERVER["INPUTRC"] => /etc/inputrc _SERVER["PWD"] => /root _SERVER["JAVA_HOME"] => /usr/local/jdk _SERVER["EDITOR"] => pico _SERVER["LANG"] => en_US.UTF-8 _SERVER["SHLVL"] => 1 _SERVER["HOME"] => /root _SERVER["LS_OPTIONS"] => --color=tty -F -a -b -T 0 _SERVER["LOGNAME"] => root _SERVER["VISUAL"] => pico _SERVER["CLASSPATH"] => .:/usr/local/jdk/lib/classes.zip _SERVER["SSH_CONNECTION"] => 59.93.71.250 55781 69.65.43.145 22 _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["G_BROKEN_FILENAMES"] => 1 _SERVER["_"] => /usr/local/lsws/fcgi-bin/lsphp5 _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1243231021 _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["MANPATH"] => /usr/lib/courier-imap/man: _ENV["HOSTNAME"] => host.10gb.in _ENV["TERM"] => xterm _ENV["SHELL"] => /bin/bash _ENV["HISTSIZE"] => 1000 _ENV["SSH_CLIENT"] => 59.93.71.250 55781 22 _ENV["SSH_TTY"] => /dev/pts/1 _ENV["USER"] => root _ENV["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do =01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;4 1:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.t ar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh =01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31: *.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*. jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.p bm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm =01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png= 01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=0 1;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35 :*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35: *.ogg=01;35:*.wav=01;35: _ENV["MAIL"] => /var/spool/mail/root _ENV["PATH"] => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin _ENV["INPUTRC"] => /etc/inputrc _ENV["PWD"] => /root _ENV["JAVA_HOME"] => /usr/local/jdk _ENV["EDITOR"] => pico _ENV["LANG"] => en_US.UTF-8 _ENV["SHLVL"] => 1 _ENV["HOME"] => /root _ENV["LS_OPTIONS"] => --color=tty -F -a -b -T 0 _ENV["LOGNAME"] => root _ENV["VISUAL"] => pico _ENV["CLASSPATH"] => .:/usr/local/jdk/lib/classes.zip _ENV["SSH_CONNECTION"] => 59.93.71.250 55781 69.65.43.145 22 _ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _ENV["G_BROKEN_FILENAMES"] => 1 _ENV["_"] => /usr/local/lsws/fcgi-bin/lsphp5 PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. |
Have you built lsphp5 matching that for Apache?
phpinfo() from LSWS should show similar output as that from Apache. |
| All times are GMT -7. The time now is 09:13 PM. |