Too many processes

Posted in: Newspaper
Post count: 134

Hello,

Can you check the number of the processes while adding embed photo or video from Instagram that have been loaded. I think they are too many. And it’s taking too many resources to load CPU too in this regard. Maybe it’s a conflict with the code?

Thanks!

Post count: 22421

Hi,
Please provide more details as to how you are embedding the instagram video or photo so we can test our theme in the same conditions.
Thank you!

Post count: 134

Hi,

I am adding am embed image or video with a code like this.

<div style="padding:8px;"> <div style=" background:#F8F8F8; line-height:0; margin-top:40px; padding:50.0% 0; text-align:center; width:100%;"> <div style=" background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAMUExURczMzPf399fX1+bm5mzY9AMAAADiSURBVDjLvZXbEsMgCES5/P8/t9FuRVCRmU73JWlzosgSIIZURCjo/ad+EQJJB4Hv8BFt+IDpQoCx1wjOSBFhh2XssxEIYn3ulI/6MNReE07UIWJEv8UEOWDS88LY97kqyTliJKKtuYBbruAyVh5wOHiXmpi5we58Ek028czwyuQdLKPG1Bkb4NnM+VeAnfHqn1k4+GPT6uGQcvu2h2OVuIf/gWUFyy8OWEpdyZSa3aVCqpVoVvzZZ2VTnn2wU8qzVjDDetO90GSy9mVLqtgYSy231MxrY6I2gGqjrTY0L8fxCxfCBbhWrsYYAAAAAElFTkSuQmCC); display:block; height:44px; margin:0 auto -44px; position:relative; top:-22px; width:44px;"></div></div> <p style=" margin:8px 0 0 0; padding:0 4px;"> Photo by @daviddoubilet May 23 is World Turtle Day. This baby green sea turtle is heading to the safety of the open sea in Nengo Nengo French Polynesia. Green sea turtles are the ancient mariners of the sea, migrating long distances to return to their nesting beach. Adults prefer sea grass diets, and can live to 80 + years. Green sea turtles are an IUCN and CITES listed endangered species due to declines related to direct overharvest, by-catch and habitat loss. With @natgeo @natgeocreative @thephotosociety #ocean #worldturtleday #life #beauty #sea #wild for #moreocean follow @jenniferhayes and @daviddoubilet</p> <p style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;">Снимка, публикувана от National Geographic (@natgeo) на <time style=" font-family:Arial,sans-serif; font-size:14px; line-height:17px;" datetime="2016-05-23T23:04:34+00:00">%месец %-ден %година в %-часа:%минути%сутрин/вечер ST</time></p></div>

<script async defer src="//platform.instagram.com/en_US/embeds.js"></script>

I have tested it couple of times and in all cases the CPU and the number of processes rise is very big no matter what picture or video is used and no matter the channel. The code I provided is just an example. You can test with any code. This happens when people are reading the article (right after opening). After removing the script the CPU usage and the number of processes significantly drop even if there are more people reading the same article.

  • This reply was modified 10 years by Marto.
Post count: 134

Just found out the same thing happens and when couple of pictures are added inside a post. Please take a look urgently. There was no such problem with version 6.7.

Post count: 22421

Hi,
We tested our theme and we do not seem to have this issue on our side. The theme is optimized for best performances so please try this without any plugins. Disable all of them except visual composer, clear cache and reset cdn files. Also make sure you increase the system status parameters like this guide suggests: https://forum.tagdiv.com/system-status-parameters-guide/ and make sure you meet the requirements for newspaper: https://forum.tagdiv.com/requirements-for-newspaper/
If you still have issues with this, try to create a sub-domain and make a fresh install of wp and the theme for testing purposes.
Thank you!

Post count: 134

I use the recommended plugins and just a lightbox for a facebook like with no cache plugins or CDN. With traffic like this there was no problem with version 6.7. I have checked all your recommendations. Please try to simulate some traffic like 200-300 people and test again. I asked my host provider to do a full check and there was no problem on their side. He alerted for very high PHP processes rise. I think the high usage comes from currency widget and weather mainly.

Thanks!

Post count: 22421

Hello,

As far as we are aware of, this issue is not created by our theme as it was tested properly and no extra CPU load was present. I will however add this to our testing list and pass this information on to our development team for further testing so we can make sure the issue is not caused by our theme. Please allow us a bit of time to do so. Until such time, please optimize your own wordpress install by following this guide: https://forum.tagdiv.com/how-to-make-the-site-faster/
Please consider using a cache plugin. We recommend wp super cache.

Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.