Backend become too slow when enable rtmedia


#1

When I turn on rtmedia backend become too slow (page loading about 10 sec). This happened because triggering EDD_SL_Plugin_Updater and on each page load it’s make new http requests (trying to find new updates for each installed plugin). I found EDD_SL_Plugin_Updater using plugin “WordPress Social Invitations”. But when I turn off rtmedia all become ok. Thank you

Debug info rtmedia

PHP 5.4.16 MYSQL 5.6.22 WordPress 4.1 BuddyPress 2.1.1 rtMedia 3.7.24 OS Linux Imagick Not Installed GD bundled (2.1.0 compatible) [php.ini] post_max_size 100M [php.ini] upload_max_filesize 100M [php.ini] memory_limit 4096M Installed Plugins Query Monitor by John Blackbourn version 2.6.8, Advanced Custom Fields: Link Picker by Steve Marks (BIOSTALL) version 1.0.1, Advanced Custom Fields by Elliot Condon version 4.3.9, BuddyPress Group Tags by Deryk Wenaus version 2.1, rtMedia for WordPress, BuddyPress and bbPress by rtCamp version 3.7.24, BuddyPress by The BuddyPress Community version 2.1.1, Enhanced Media Library by wpUXsolutions version 2.0.3, FacetWP by Matt Gibbs version 1.9, Invite Anyone by Boone Gorges version 1.3.4, rtMedia Pro by rtCamp version 2.5.13, Theme My Login by Jeff Farthing version 6.3.10, W3 Total Cache by Frederick Townes version 0.9.4.1, WordPress Social Invitations by timersys version 2.4.2, WordPress Social Login by Miled version 2.2.3 Theme Name Kleo Child Theme Version Author URL http://seventhqueen.com Template Overrides plugins/buddypress-media/templates/media/album-gallery-item.php, plugins/buddypress-media/templates/media/album-gallery.php, plugins/buddypress-media/templates/media/album-single-edit.php, themes/kleo/rtmedia/media/media-gallery-item.php, themes/kleo/rtmedia/media/media-gallery.php, plugins/buddypress-media/templates/media/media-single-edit.php, plugins/buddypress-media/templates/media/media-single.php, plugins/buddypress-media/templates/media/uploader.php Total Albums 2 Total Documents 1 Total Photos 3

Debug info from WordPress Social Invitations

HTTP_X_FORWARDED_PROTO: N/A

MULTI-SITE: No

WSI VERSION: 2.4.2 WORDPRESS VERSION: 4.1

PHP VERSION: 5.4.16 MYSQL VERSION: 5.6.22 WEB SERVER INFO: nginx/1.6.2

SESSION: Enabled SESSION:WSI WordPress Social Invitations SESSION:NAME: PHPSESSID

COOKIE PATH: / SAVE PATH: /var/lib/php/session USE COOKIES: On USE ONLY COOKIES: On

PHP/CURL: Supported PHP/CURL/VER: 7.29.0 PHP/CURL/SSL: NSS/3.15.4 PHP/FSOCKOPEN: Supported PHP/JSON: Supported

ACTIVE PLUGINS:

Advanced Custom FieldsAdvanced Custom Fields: 4.3.9 Advanced Custom Fields: CoordinatesAdvanced Custom Fields: Coordinates: 1.0.0 Advanced Custom Fields: Link PickerAdvanced Custom Fields: Link Picker: 1.0.1 BuddyPressBuddyPress: 2.1.1 BuddyPress Group TagsBuddyPress Group Tags: 2.1 Enhanced Media LibraryEnhanced Media Library: 2.0.3 Events ManagerEvents Manager: 5.5.5 FacetWPFacetWP: 1.9 Invite AnyoneInvite Anyone: 1.3.4 K ElementsK Elements: 2.3 Nginx HelperNginx Helper: 1.8.4 Query MonitorQuery Monitor: 2.6.8 Redis Object CacheRedis Object Cache: 1.0.1 Revolution SliderRevolution Slider: 4.6.5 rtMedia for WordPress, BuddyPress and bbPressrtMedia for WordPress, BuddyPress and bbPress: 3.7.24 rtMedia PrortMedia Pro: 2.5.13 rtSocialrtSocial: 2.1.16 Theme CheckTheme Check: 20140929.1 Theme My LoginTheme My Login: 6.3.10 W3 Total CacheW3 Total Cache: 0.9.4.1 WordPress Social InvitationsWordPress Social Invitations: 2.4.2 WordPress Social LoginWordPress Social Login: 2.2.3 WPBakery Visual ComposerWPBakery Visual Composer: 4.3.4

CURRENT THEME:

Kleo Child:


#2

Hi @Vasily_Ogar,

In rtMedia premium addons we’re using license key for updates. We’re using pre_set_site_transient_update_plugins filter available by WordPress to check for updates. All the premium addons are hosted on our own site and hence we need to make a call to our site to check for genuine license key. EDD_SL_Plugin_Updater is the file who take care of this process and may be that’s why you are having this issue. We’ve set timeout for 15 seconds and if you want, you can change it using http_request_timeout filter in your theme.


#3

how to apply this filter?


#4

Hi @Vasily_Ogar,

You can use the filter as following:

add_filter( 'http_request_timeout', 'custom_http_request_timeout', 99, 1 );

function custom_http_request_timeout( $timeout ){
	return 5; // set request timeout value here 
}

You can use this code in your theme’s functions.php file. We will also look into this and try to make it more optimized. If we found anything, it will be fixed asap and will be released.


#5

Doesn’t work. Today I tried different ways to change timeout but nothing work. How can I disable autoupdate at all?


#6

So I found problem, it was in file rtmedia-pro/index.php line 53 set_site_transient( ‘update_plugins’, null ); I just comment out and happy. For plugin with price 150$ I am very very dissatisfied your support I didn’t get answer for my question more than 2 days. I hope in future you improve your service. Thank you


#7

@Vasily_Ogar

You do realize 2 days ago was CHRISTMAS right? Have some heart.


#8

@Vasily_Ogar

This is Nitun from rtMedia team. Thanks for letting us know the problem. Our rtMedia developers look into it when come back from holidays. Sorry for the inconvenience.

If you are a premium customer, I do request you to submit a premium support, so that we can help as quickly as possible. As its a community support forum so most of rtMedia users help each other to improve and resolve queries related rtMedia plugin. I hope you have understand.

@illusionsglass & @Vasily_Ogar Merry Christmas and Prosperous New Year :slight_smile:

Thanks,

–Nitun


#9

Hi @Vasily_Ogar,

We have check that line of code in our plugin, it will be fixed in next update of plugin.


#10

Hello. Is this already fixed? I have a similar problem. I have purchased rtMedia PRO Bundle (37 Addons in One Bundle) and had activated 15 plug-ins. The result, wait for over 20 and more seconds per page in wp-admin. Now I have only 5 rtMedia plug-ins active and the wait is down to 5-6 seconds.

My site is running https

How can this be fixed? How many Addons plug-ins can you have active?


#11

Hello sir i am using rtmedia with transcoading addons but mov vedio not converted in mp4 file when upload vdo plz help me,


#12