Skip to:
Content
Pages
Categories
Search
Top
Bottom

import from bbPress1 crashes/restart Apache


  • thierryyyyyyy
    Participant

    @thierryyyyyyy

    I wanted to upgrade my bbPress 1.2 to the actual one. (I have last WordPress 4.1.1 with new bbPress plugin)

    I tried on a WAMP (localhost) installation, and I never got more than 1500 topics imported.
    The classic case just hang on “Converting topics (900 – 999)”

    And when I look into the apache_error.log, I see that apache crashes and restart alone.
    And I tried with apache 2.4.2 and 2.4.9

    I tried to click “stop” and again “start” as I read on this forum. But I get hung with “Starting Conversion” and apache restarts also. I just can see that the import process did a small step more by typing the sql query :”select count(*) from wp_bbp_converter_translator”

    in this topic, “e-motion” succeeded. He just clean install wordpress, and import…
    https://bbpress.org/forums/topic/upgrade-bbpress-1-0-2-to-2-1-2/page/3/#post-140785
    Am I missing something ?

Viewing 3 replies - 1 through 3 (of 3 total)

  • thierryyyyyyy
    Participant

    @thierryyyyyyy

    actually, it is worse than that :

    after a “stop” and “start” on the import page, apache restarts once some after a minute and retarts a second time 4 seconds later !

    [Wed Apr 15 00:22:34.368889 2015] [mpm_winnt:notice] [pid 4316:tid 408] AH00428: Parent: child process 5204 exited with status 255 — Restarting.
    [Wed Apr 15 00:22:34.423893 2015] [mpm_winnt:notice] [pid 4316:tid 408] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured — resuming normal operations
    [Wed Apr 15 00:22:34.423893 2015] [mpm_winnt:notice] [pid 4316:tid 408] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
    [Wed Apr 15 00:22:34.423893 2015] [core:notice] [pid 4316:tid 408] AH00094: Command line: ‘c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9’
    [Wed Apr 15 00:22:34.423893 2015] [mpm_winnt:notice] [pid 4316:tid 408] AH00418: Parent: Created child process 1360
    [Wed Apr 15 00:22:34.646905 2015] [mpm_winnt:notice] [pid 1360:tid 316] AH00354: Child: Starting 64 worker threads.
    [Wed Apr 15 00:22:38.966152 2015] [mpm_winnt:notice] [pid 4316:tid 408] AH00428: Parent: child process 1360 exited with status 255 — Restarting.
    [Wed Apr 15 00:22:39.005155 2015] [mpm_winnt:notice] [pid 4316:tid 408] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured — resuming normal operations
    [Wed Apr 15 00:22:39.006155 2015] [mpm_winnt:notice] [pid 4316:tid 408] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
    [Wed Apr 15 00:22:39.006155 2015] [core:notice] [pid 4316:tid 408] AH00094: Command line: ‘c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9’
    [Wed Apr 15 00:22:39.006155 2015] [mpm_winnt:notice] [pid 4316:tid 408] AH00418: Parent: Created child process 5176
    [Wed Apr 15 00:22:39.219167 2015] [mpm_winnt:notice] [pid 5176:tid 316] AH00354: Child: Starting 64 worker threads.

    ah, and I have ~36 000 post to import, so I won’t click on the “start” button every minute for 12 hours… (I can automatise that, of course, but I’m not sure it will succeed)


    thierryyyyyyy
    Participant

    @thierryyyyyyy

    I got it !

    sometimes, Apache exited with higher Status number example :
    [Sat Apr 18 00:02:05.423769 2015] [mpm_winnt:notice] [pid 5900:tid 404] AH00428: Parent: child process 5032 exited with status 3221225725 — Restarting.

    Google gave me a hint : write this code in your httpd.conf (that’s for Windows)

     
    <IfModule mpm_winnt_module>
        ThreadStackSize 8888888
    </IfModule>
    

    It works now, like a charm 🙂

    explanation : the stackSize in Windows is defaulted at 1MB, and it seems that bbPress Import need much more…. This line push the limit to more than 8MB. That’s all.
    WAMP does NOT show this mpm_winnt_module in the list of loaded modules, I guess it is because it’s a default Apache Windows module ( http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html )
    Ah, I put first only the line “ThreadStackSize 8888888” (without ifModule) to be sure that it is taken into account. If the module was not mounted, Apache would have wrote it in apache_error.log. It should work on every windows normal installation


    Robkk
    Moderator

    @robkk

    @thierryyyyyyy

    thank god you figured it out , i dont know much about bbPress v1

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar