Results 1 to 10 of 3673

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by gemohler View Post
    General EP question.

    While doing a large import, apache is taking a lot of resources...

    What is the WWW server doing during an import that makes IT so busy?
    One thing that is happening while importing is that basically empty characters are being sent to the browser to keep the connection alive. The historical suggestion was to split large files into snake chunks. As development of the software continued, this alternative was implemented. The quantity or load may possibly be reduced. Though to date I believe this is the first such feedback received.

    I'm not sure yet what characteristic would be best to monitor to reduce that traffic, whether a time, number of iterations or start value from either would be "ideal". Of course other ideas are welcome.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2
    Join Date
    Jul 2005
    Location
    CA
    Posts
    240
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    One thing that is happening while importing is that basically empty characters are being sent to the browser to keep the connection alive. The historical suggestion was to split large files into snake chunks. As development of the software continued, this alternative was implemented. The quantity or load may possibly be reduced. Though to date I believe this is the first such feedback received.

    I'm not sure yet what characteristic would be best to monitor to reduce that traffic, whether a time, number of iterations or start value from either would be "ideal". Of course other ideas are welcome.

    Ya..I mean, it doesnt break anything, but 75% of a CPU for apache2 is...busy.

  3. #3
    Join Date
    Jul 2005
    Location
    CA
    Posts
    240
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    On the lookout for things I need to know as I relearn the ZC environment.

    Im doing EP4 imports, and I have a log file getting _hammered_ with this (attached)
    Attached Images Attached Images  

  4. #4
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by gemohler View Post
    On the lookout for things I need to know as I relearn the ZC environment.

    Im doing EP4 imports, and I have a log file getting _hammered_ with this (attached)
    Gotcha, before suggesting what I just came up with, need to look to see if I have an existing solution on my development server. Mind me asking your specs? PHP version for example?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jul 2005
    Location
    CA
    Posts
    240
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    Gotcha, before suggesting what I just came up with, need to look to see if I have an existing solution on my development server. Mind me asking your specs? PHP version for example?
    Right on..
    Attached Images Attached Images  

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by gemohler View Post
    On the lookout for things I need to know as I relearn the ZC environment.

    Im doing EP4 imports, and I have a log file getting _hammered_ with this (attached)
    Looks like my solution was to change the various instances of:

    $categories_name_exists = false;
    To an empty array:
    Code:
    $categories_name_exists = array(); // used for backwards compatibility
    $categories_name_exists = []; // accomplishes the same as above via shortened code
    Worked in PHP 8.2.9 for me. I had just come up with another idea, but it required writing more code.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Jul 2005
    Location
    CA
    Posts
    240
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    Looks like my solution was to change the various instances of:

    $categories_name_exists = false;
    To an empty array:
    Code:
    $categories_name_exists = array(); // used for backwards compatibility
    $categories_name_exists = []; // accomplishes the same as above via shortened code
    Worked in PHP 8.2.9 for me. I had just come up with another idea, but it required writing more code.
    Just change those two instances in easypopulate_4_import.php?

    Simple enough. Was this having any impact other than a massive error log file?

  8. #8
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by gemohler View Post
    Just change those two instances in easypopulate_4_import.php?

    Simple enough. Was this having any impact other than a massive error log file?
    That was in part my question to you. Looking over changes I have made to push to github, that appears to be all that I needed to do to support complete import of the records that were formatted correctly. Haven't heard if the above resolved the earlier issue of the two records where the first was bypassed but the second imported. Further, didn't see a response to the question about any sort of consistency of report saying not imported because the category name was missing.

    Look forward to hearing results so that I can maybe prioritize some of the patches/changes that have been made.

    CORRECTION: Apparently there are responses above that I did not see/fully read. Maybe more to follow from me?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. BackUp ZC [Support Thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 285
    Last Post: 23 Dec 2020, 10:40 AM
  3. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  4. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 PM

Posting Permissions

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