Results 1 to 2 of 2

Thread: MySQL server has gone away

  1. #1
    Join Date
    Apr 2008
    Posts
    1

    Default MySQL server has gone away

    Hello!

    Whenever I try uploading a video using Import VIdeo or when I batch convert videos or do anything that involves the cronjob I get this error.
    Code:
    cronjob started
    Download startDownload Finished
    File Name: /home/olgaecom/public_html/video/2072982337.flv
    File Size: 66685578ERROR: Unable to execute query
    
    UPDATE `process_queue` SET `status`=2,
    					`file`='2072982337.flv' WHERE `id`='7'
    
    MySQL server has gone away
    I will have to manually go to PHPMyAdmin and run the SQL query and it would work fine. I contacted my host, Apthost and they keep blaming the script and that there is nothing wrong with the MySQL server :!:

    Here is my phpinfo http://www.olgae.com/phpinfo.php and here is the system variables for MySQL
    Code:
    Variable  	Session value / Global value
    auto increment increment 	1
    auto increment offset 	1
    automatic sp privileges 	ON
    back log 	50
    basedir 	/
    binlog cache size 	32,768
    bulk insert buffer size 	8,388,608
    character set client 	utf8
    (Global value) 	latin1
    character set connection 	utf8
    (Global value) 	latin1
    character set database 	latin1
    character set filesystem 	binary
    character set results 	utf8
    (Global value) 	latin1
    character set server 	latin1
    character set system 	utf8
    character sets dir 	/usr/share/mysql/charsets/
    collation connection 	utf8_unicode_ci
    (Global value) 	latin1_swedish_ci
    collation database 	latin1_swedish_ci
    collation server 	latin1_swedish_ci
    completion type 	0
    concurrent insert 	1
    connect timeout 	10
    datadir 	/var/lib/mysql/
    date format 	%Y-%m-%d
    datetime format 	%Y-%m-%d %H:%i:%s
    default week format 	0
    delay key write 	ON
    delayed insert limit 	100
    delayed insert timeout 	300
    delayed queue size 	1,000
    div precision increment 	4
    engine condition pushdown 	OFF
    expire logs days 	0
    flush 	OFF
    flush time 	0
    ft boolean syntax 	+ -><()~*:""&|
    ft max word len 	84
    ft min word len 	4
    ft query expansion limit 	20
    ft stopword file 	(built-in)
    group concat max len 	1,024
    have archive 	YES
    have bdb 	NO
    have blackhole engine 	YES
    have compress 	YES
    have crypt 	YES
    have csv 	YES
    have dynamic loading 	YES
    have example engine 	YES
    have federated engine 	YES
    have geometry 	YES
    have innodb 	YES
    have isam 	NO
    have merge engine 	YES
    have ndbcluster 	DISABLED
    have openssl 	NO
    have ssl 	NO
    have query cache 	YES
    have raid 	NO
    have rtree keys 	YES
    have symlink 	YES
    hostname 	lonestar.apthost.com
    init connect 	
    init file 	
    init slave 	
    innodb additional mem pool size 	1,048,576
    innodb autoextend increment 	8
    innodb buffer pool awe mem mb 	0
    innodb buffer pool size 	8,388,608
    innodb checksums 	ON
    innodb commit concurrency 	0
    innodb concurrency tickets 	500
    innodb data file path 	ibdata1:10M:autoextend
    innodb data home dir 	
    innodb doublewrite 	ON
    innodb fast shutdown 	1
    innodb file io threads 	4
    innodb file per table 	OFF
    innodb flush log at trx commit 	1
    innodb flush method 	
    innodb force recovery 	0
    innodb lock wait timeout 	50
    innodb locks unsafe for binlog 	OFF
    innodb log arch dir 	
    innodb log archive 	OFF
    innodb log buffer size 	1,048,576
    innodb log file size 	5,242,880
    innodb log files in group 	2
    innodb log group home dir 	./
    innodb max dirty pages pct 	90
    innodb max purge lag 	0
    innodb mirrored log groups 	1
    innodb open files 	300
    innodb rollback on timeout 	OFF
    innodb support xa 	ON
    innodb sync spin loops 	20
    innodb table locks 	ON
    innodb thread concurrency 	8
    innodb thread sleep delay 	10,000
    interactive timeout 	30
    join buffer size 	1,044,480
    key buffer size 	536,870,912
    key cache age threshold 	300
    key cache block size 	1,024
    key cache division limit 	100
    language 	/usr/share/mysql/english/
    large files support 	ON
    large page size 	0
    large pages 	OFF
    lc time names 	en_US
    license 	GPL
    local infile 	ON
    locked in memory 	OFF
    log 	OFF
    log bin 	OFF
    log bin trust function creators 	OFF
    log error 	
    log queries not using indexes 	OFF
    log slave updates 	OFF
    log slow queries 	ON
    log warnings 	1
    long query time 	4
    low priority updates 	OFF
    lower case file system 	OFF
    lower case table names 	0
    max allowed packet 	33,553,408
    max binlog cache size 	4,294,967,295
    max binlog size 	1,073,741,824
    max connect errors 	20
    max connections 	500
    max delayed threads 	20
    max error count 	64
    max heap table size 	16,777,216
    max insert delayed threads 	20
    max join size 	18446744073709551615
    max length for sort data 	1,024
    max prepared stmt count 	16,382
    max relay log size 	0
    max seeks for key 	4,294,967,295
    max sort length 	1,024
    max sp recursion depth 	0
    max tmp tables 	32
    max user connections 	20
    max write lock count 	4,294,967,295
    multi range count 	256
    myisam data pointer size 	6
    myisam max sort file size 	2,147,483,647
    myisam recover options 	OFF
    myisam repair threads 	1
    myisam sort buffer size 	67,108,864
    myisam stats method 	nulls_unequal
    ndb autoincrement prefetch sz 	32
    ndb force send 	ON
    ndb use exact count 	ON
    ndb use transactions 	ON
    ndb cache check time 	0
    ndb connectstring 	
    net buffer length 	16,384
    net read timeout 	30
    net retry count 	10
    net write timeout 	60
    new 	OFF
    old passwords 	OFF
    open files limit 	4,096
    optimizer prune level 	1
    optimizer search depth 	62
    pid file 	/var/lib/mysql/lonestar.apthost.com.pid
    port 	3,306
    preload buffer size 	32,768
    profiling 	OFF
    profiling history size 	15
    protocol version 	10
    query alloc block size 	8,192
    query cache limit 	1,048,576
    query cache min res unit 	4,096
    query cache size 	134,217,728
    query cache type 	ON
    query cache wlock invalidate 	OFF
    query prealloc size 	8,192
    range alloc block size 	2,048
    read buffer size 	4,190,208
    read only 	OFF
    read rnd buffer size 	4,190,208
    relay log purge 	ON
    relay log space limit 	0
    rpl recovery rank 	0
    secure auth 	OFF
    secure file priv 	
    server id 	1
    skip external locking 	ON
    skip networking 	OFF
    skip show database 	OFF
    slave compressed protocol 	OFF
    slave load tmpdir 	/tmp/
    slave net timeout 	3,600
    slave skip errors 	OFF
    slave transaction retries 	10
    slow launch time 	2
    socket 	/var/lib/mysql/mysql.sock
    sort buffer size 	4,194,296
    sql big selects 	ON
    sql mode 	
    sql notes 	ON
    sql warnings 	OFF
    ssl ca 	
    ssl capath 	
    ssl cert 	
    ssl cipher 	
    ssl key 	
    storage engine 	MyISAM
    sync binlog 	0
    sync frm 	ON
    system time zone 	CDT
    table cache 	1,024
    table lock wait timeout 	50
    table type 	MyISAM
    thread cache size 	32
    thread stack 	196,608
    time format 	%H:%i:%s
    time zone 	SYSTEM
    timed mutexes 	OFF
    tmp table size 	33,554,432
    tmpdir 	/tmp/
    transaction alloc block size 	8,192
    transaction prealloc size 	4,096
    tx isolation 	REPEATABLE-READ
    updatable views with limit 	YES
    version 	5.0.45-community-log
    version comment 	MySQL Community Edition (GPL)
    version compile machine 	i686
    version compile os 	pc-linux-gnu
    wait timeout 	15
    Any help would be greatly appreciated :) :)

    Thank You!

    Vatsan

  2. #2

    Default

    Edit the video_conversio.php(include/settings)

    Use the following conversion command and upload new video

    # $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es";

    and then Login to admin area => process quee = > convert now (right clik and open in new window)

    Post the content

Similar Threads

  1. VideoSwiper Now Supports Server 2 Server Video Transfers
    By videoswiper in forum General Discussions
    Replies: 1
    Last Post: 11-18-2008, 07:42 AM
  2. MySql CPU Overload
    By tugacari in forum Bug Reports
    Replies: 4
    Last Post: 07-31-2008, 06:06 PM
  3. MySQL server has gone away
    By dotcom in forum Installation Support
    Replies: 4
    Last Post: 06-05-2008, 10:40 AM
  4. Question about MySQL query
    By tnuriel in forum General Discussions
    Replies: 1
    Last Post: 04-19-2008, 05:37 AM
  5. MySQL server has gone away
    By cruise in forum Fixed Bugs
    Replies: 11
    Last Post: 09-27-2007, 08:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •